Skip to content

Commit 775fbae

Browse files
authored
Merge pull request #70602 from bhardesty/osdocs-8079-architecture-port
OSDOCS-8079: Port Architecture book to OSD/ROSA
2 parents 28dfc44 + 0991d04 commit 775fbae

38 files changed

+313
-138
lines changed

_topic_maps/_topic_map_osd.yml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ Distros: openshift-dedicated
3838
Topics:
3939
- Name: Understanding OpenShift Dedicated
4040
File: osd-understanding
41-
- Name: Architecture concepts
42-
File: osd-architecture
4341
- Name: Policies and service definition
4442
Dir: osd_policy
4543
Distros: openshift-dedicated
@@ -57,9 +55,26 @@ Topics:
5755
- Name: Update life cycle
5856
File: osd-life-cycle
5957
# Created a new assembly in ROSA/OSD. In OCP, the assembly is in a book that is not in ROSA/OSD
60-
- Name: About admission plugins
61-
File: osd-admission-plug-ins
62-
Distros: openshift-dedicated
58+
# - Name: About admission plugins
59+
# File: osd-admission-plug-ins
60+
# Distros: openshift-dedicated
61+
---
62+
Name: Architecture
63+
Dir: architecture
64+
Distros: openshift-dedicated
65+
Topics:
66+
- Name: Architecture overview
67+
File: index
68+
- Name: Product architecture
69+
File: architecture
70+
- Name: Control plane architecture
71+
File: control-plane
72+
- Name: NVIDIA GPU architecture overview
73+
File: nvidia-gpu-architecture-overview
74+
- Name: Understanding OpenShift development
75+
File: understanding-development
76+
- Name: Admission plugins
77+
File: admission-plug-ins
6378
---
6479
#Name: Tutorials
6580
#Dir: cloud_experts_tutorials

_topic_maps/_topic_map_rosa.yml

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,6 @@ Distros: openshift-rosa
4747
Topics:
4848
- Name: Understanding ROSA
4949
File: rosa-understanding
50-
- Name: ROSA architecture
51-
Dir: rosa_architecture_sub
52-
Distros: openshift-rosa
53-
Topics:
54-
- Name: Architecture concepts
55-
File: rosa-basic-architecture-concepts
56-
- Name: Architecture models
57-
File: rosa-architecture-models
5850
- Name: Policies and service definition
5951
Dir: rosa_policy_service_definition
6052
Distros: openshift-rosa
@@ -76,16 +68,35 @@ Topics:
7668
- Name: SRE and service account access
7769
File: rosa-sre-access
7870
# Created a new assembly in ROSA/OSD. In OCP, the assembly is in a book that is not in ROSA/OSD
79-
- Name: About admission plugins
80-
File: rosa-admission-plug-ins
81-
Distros: openshift-rosa
71+
# - Name: About admission plugins
72+
# File: rosa-admission-plug-ins
73+
# Distros: openshift-rosa
8274
- Name: About IAM resources for ROSA with STS
8375
File: rosa-sts-about-iam-resources
8476
- Name: OpenID Connect Overview
8577
File: rosa-oidc-overview
8678
# - Name: Training for ROSA
8779
# File: rosa-training
8880
---
81+
Name: Architecture
82+
Dir: architecture
83+
Distros: openshift-rosa
84+
Topics:
85+
- Name: Architecture overview
86+
File: index
87+
- Name: Product architecture
88+
File: architecture
89+
- Name: Architecture models
90+
File: rosa-architecture-models
91+
- Name: Control plane architecture
92+
File: control-plane
93+
- Name: NVIDIA GPU architecture overview
94+
File: nvidia-gpu-architecture-overview
95+
- Name: Understanding OpenShift development
96+
File: understanding-development
97+
- Name: Admission plugins
98+
File: admission-plug-ins
99+
---
89100
Name: Tutorials
90101
Dir: cloud_experts_tutorials
91102
Distros: openshift-rosa

osd_architecture/osd-architecture.adoc renamed to _unused_topics/osd-architecture.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ include::modules/kubernetes-about.adoc[leveloffset=+1]
1212

1313
include::modules/container-benefits.adoc[leveloffset=+1]
1414

15-
include::modules/osd-vs-ocp.adoc[leveloffset=+1]
15+
include::modules/sd-vs-ocp.adoc[leveloffset=+1]

architecture/admission-plug-ins.adoc

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ include::_attributes/common-attributes.adoc[]
66

77
toc::[]
88

9-
// Sentence taken from Architecture -> Index.
10-
Admission plugins are used to help regulate how {product-title} functions.
9+
Admission plugins are used to help regulate how {product-title} functions.
1110

1211
// Concept modules
1312
include::modules/admission-plug-ins-about.adoc[leveloffset=+1]
@@ -18,17 +17,20 @@ include::modules/admission-webhooks-about.adoc[leveloffset=+1]
1817

1918
include::modules/admission-webhook-types.adoc[leveloffset=+1]
2019

20+
// user (groups=["dedicated-admins" "system:authenticated:oauth" "system:authenticated"]) is attempting to grant RBAC permissions not currently held, clusterroles.rbac.authorization.k8s.io "system:openshift:online:my-webhook-server" not found, cannot get resource "rolebindings", cannot create resource "apiservices", cannot create resource "validatingwebhookconfigurations"
21+
ifndef::openshift-rosa,openshift-dedicated[]
2122
// Procedure module
2223
include::modules/configuring-dynamic-admission.adoc[leveloffset=+1]
24+
endif::openshift-rosa,openshift-dedicated[]
2325

2426
[role="_additional-resources"]
2527
[id="admission-plug-ins-additional-resources"]
2628
== Additional resources
2729

28-
ifdef::openshift-enterprise,openshift-webscale[]
29-
* xref:../networking/hardware_networks/configuring-sriov-operator.adoc#configuring-sriov-operator[Limiting custom network resources managed by the SR-IOV network device plugin]
30-
endif::[]
30+
ifndef::openshift-rosa,openshift-dedicated[]
31+
* xref:../networking/hardware_networks/configuring-sriov-operator.adoc#configuring-sriov-operator[Configuring the SR-IOV Network Operator]
32+
endif::openshift-rosa,openshift-dedicated[]
3133

32-
* xref:../nodes/scheduling/nodes-scheduler-taints-tolerations.adoc#nodes-scheduler-taints-tolerations_dedicating_nodes-scheduler-taints-tolerations[Defining tolerations that enable taints to qualify which pods should be scheduled on a node]
34+
* xref:../nodes/scheduling/nodes-scheduler-taints-tolerations.adoc#nodes-scheduler-taints-tolerations_dedicating_nodes-scheduler-taints-tolerations[Controlling pod placement using node taints]
3335

34-
* xref:../nodes/pods/nodes-pods-priority.adoc#admin-guide-priority-preemption-names_nodes-pods-priority[Pod priority class validation]
36+
* xref:../nodes/pods/nodes-pods-priority.adoc#admin-guide-priority-preemption-names_nodes-pods-priority[Pod priority names]

architecture/architecture.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,6 @@ retains a history of the images that have been referenced, and allows
3535
notification when an image is updated with a new version.
3636
////
3737

38+
ifndef::openshift-dedicated,openshift-rosa[]
3839
include::modules/cluster-entitlements.adoc[leveloffset=+2]
40+
endif::openshift-dedicated,openshift-rosa[]

architecture/control-plane.adoc

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,15 @@ include::modules/architecture-machine-config-pools.adoc[leveloffset=+1]
1212

1313
[role="_additional-resources"]
1414
.Additional resources
15-
* xref:../post_installation_configuration/machine-configuration-tasks.adoc#machine-config-drift-detection_post-install-machine-configuration-tasks[Understanding configuration drift detection].
15+
ifndef::openshift-dedicated,openshift-rosa[]
16+
* xref:../post_installation_configuration/machine-configuration-tasks.adoc#machine-config-drift-detection_post-install-machine-configuration-tasks[Understanding configuration drift detection]
17+
endif::openshift-dedicated,openshift-rosa[]
18+
ifdef::openshift-rosa[]
19+
* xref:../rosa_cluster_admin/rosa_nodes/rosa-nodes-machinepools-about.adoc#machine-pools[Machine pools]
20+
endif::openshift-rosa[]
21+
ifdef::openshift-dedicated[]
22+
* xref:../osd_cluster_admin/osd_nodes/osd-nodes-machinepools-about.adoc#machine-pools[Machine pools]
23+
endif::openshift-dedicated[]
1624

1725
include::modules/architecture-machine-roles.adoc[leveloffset=+1]
1826

@@ -46,19 +54,26 @@ endif::[]
4654
4755
include::modules/understanding-machine-config-operator.adoc[leveloffset=+1]
4856

57+
// These additional resources do not apply to OSD/ROSA
58+
ifndef::openshift-dedicated,openshift-rosa[]
4959
[role="_additional-resources"]
5060
.Additional resources
5161
* For more information about detecting configuration drift, see xref:../post_installation_configuration/machine-configuration-tasks.adoc#machine-config-drift-detection_post-install-machine-configuration-tasks[Understanding configuration drift detection].
5262
5363
* For information about preventing the control plane machines from rebooting after the Machine Config Operator makes changes to the machine configuration, see xref:../support/troubleshooting/troubleshooting-operator-issues.adoc#troubleshooting-disabling-autoreboot-mco_troubleshooting-operator-issues[Disabling Machine Config Operator from automatically rebooting].
64+
endif::openshift-dedicated,openshift-rosa[]
5465
5566
include::modules/etcd-overview.adoc[leveloffset=+1]
5667
68+
// These xrefs do not apply to OSD/ROSA
69+
ifndef::openshift-dedicated,openshift-rosa[]
5770
[role="_additional-resources"]
5871
.Additional resources
5972
* xref:../scalability_and_performance/recommended-performance-scale-practices/recommended-etcd-practices.adoc#recommended-etcd-practices[Recommended etcd practices]
6073
* xref:../backup_and_restore/control_plane_backup_and_restore/backing-up-etcd.adoc#backing-up-etcd[Backing up etcd]
74+
endif::openshift-dedicated,openshift-rosa[]
6175
76+
ifndef::openshift-dedicated,openshift-rosa[]
6277
include::modules/hosted-control-planes-overview.adoc[leveloffset=+1]
6378
6479
[role="_additional-resources"]
@@ -67,3 +82,4 @@ include::modules/hosted-control-planes-overview.adoc[leveloffset=+1]
6782
6883
include::modules/hosted-control-planes-concepts-personas.adoc[leveloffset=+2]
6984
include::modules/hosted-control-planes-version-support.adoc[leveloffset=+2]
85+
endif::openshift-dedicated,openshift-rosa[]

architecture/index.adoc

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
[id="architecture-overview"]
33
= Architecture overview
44
include::_attributes/common-attributes.adoc[]
5+
ifdef::openshift-dedicated,openshift-rosa[]
6+
include::_attributes/attributes-openshift-dedicated.adoc[]
7+
endif::openshift-dedicated,openshift-rosa[]
58
:context: architecture-overview
69

710
toc::[]
@@ -15,20 +18,32 @@ include::modules/openshift-architecture-common-terms.adoc[leveloffset=+1]
1518
[role="_additional-resources"]
1619
.Additional resources
1720

21+
// Topic not included in the OSD/ROSA docs
22+
ifndef::openshift-dedicated,openshift-rosa[]
1823
* For more information on networking, see xref:../networking/understanding-networking.adoc#understanding-networking[{product-title} networking].
24+
endif::openshift-dedicated,openshift-rosa[]
1925
* For more information on storage, see xref:../storage/index.adoc#index[{product-title} storage].
2026
* For more information on authentication, see xref:../authentication/index.adoc#index[{product-title} authentication].
2127
* For more information on Operator Lifecycle Manager (OLM), see xref:../operators/understanding/olm/olm-understanding-olm.adoc#olm-understanding-olm[OLM].
2228
* For more information on logging, see xref:../logging/cluster-logging.adoc#cluster-logging[About Logging].
29+
// Topic not included in the OSD/ROSA docs
30+
ifndef::openshift-dedicated,openshift-rosa[]
2331
* For more information on over-the-air (OTA) updates, see xref:../updating/understanding_updates/intro-to-updates.adoc#understanding-openshift-updates[Introduction to OpenShift updates].
32+
endif::openshift-dedicated,openshift-rosa[]
2433

34+
ifdef::openshift-dedicated,openshift-rosa[]
35+
include::modules/sd-vs-ocp.adoc[leveloffset=+1]
36+
endif::openshift-dedicated,openshift-rosa[]
37+
38+
ifndef::openshift-dedicated,openshift-rosa[]
2539
[id="about-installation-and-updates"]
2640
== About installation and updates
2741

2842
As a cluster administrator, you can use the {product-title} xref:../architecture/architecture-installation.adoc#architecture-installation[installation program] to install and deploy a cluster by using one of the following methods:
2943

3044
* Installer-provisioned infrastructure
3145
* User-provisioned infrastructure
46+
endif::openshift-dedicated,openshift-rosa[]
3247
3348
[id="about-control-planes"]
3449
== About the control plane
@@ -60,6 +75,7 @@ Kubernetes works on basic units called pods. A pod is a single instance of a run
6075
You can create a service by grouping a set of pods and their access policies.
6176
Services provide permanent internal IP addresses and host names for other applications to use as pods are created and destroyed. Kubernetes defines workloads based on the type of your application.
6277

78+
ifndef::openshift-dedicated,openshift-rosa[]
6379
[id="coreos-and-ignition"]
6480
== About {op-system-first} and Ignition
6581

@@ -76,8 +92,8 @@ The {product-title} installation program creates the Ignition configuration file
7692
During the first boot, Ignition reads its configuration from the installation media or the location that you specify and applies the configuration to the machines.
7793

7894
You can learn how xref:../architecture/architecture-rhcos.adoc#architecture-rhcos[Ignition works], the process for a {op-system-first} machine in an {product-title} cluster, view Ignition configuration files, and change Ignition configuration after an installation.
95+
endif::openshift-dedicated,openshift-rosa[]
7996

8097
[id="about-admission-plug-ins"]
8198
== About admission plugins
82-
You can use xref:../architecture/admission-plug-ins.adoc#admission-plug-ins[admission plugins] to regulate how {product-title} functions. After a resource request is authenticated and authorized, admission plugins intercept the resource request to the master API to validate resource requests and to ensure that scaling policies are adhered to.
83-
Admission plugins are used to enforce security policies, resource limitations, or configuration requirements.
99+
You can use xref:../architecture/admission-plug-ins.adoc#admission-plug-ins[admission plugins] to regulate how {product-title} functions. After a resource request is authenticated and authorized, admission plugins intercept the resource request to the master API to validate resource requests and to ensure that scaling policies are adhered to. Admission plugins are used to enforce security policies, resource limitations, configuration requirements, and other settings.

architecture/nvidia-gpu-architecture-overview.adoc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ The NVIDIA GPU Operator is only supported by NVIDIA. For more information about
1818
====
1919

2020
include::modules/nvidia-gpu-prerequisites.adoc[leveloffset=+1]
21+
2122
// New enablement modules
23+
ifndef::openshift-dedicated,openshift-rosa[]
2224
include::modules/nvidia-gpu-enablement.adoc[leveloffset=+1]
2325

2426
include::modules/nvidia-gpu-bare-metal.adoc[leveloffset=+2]
@@ -45,11 +47,22 @@ include::modules/nvidia-gpu-csps.adoc[leveloffset=+2]
4547
[role="_additional-resources"]
4648
.Additional resources
4749
* link:https://docs.nvidia.com/ai-enterprise/deployment-guide-cloud/0.1.0/aws-redhat-openshift.html[Red Hat Openshift in the Cloud]
50+
endif::openshift-dedicated,openshift-rosa[]
51+
52+
// Include this module at a higher leveloffset for OSD/ROSA.
53+
ifdef::openshift-dedicated,openshift-rosa[]
54+
include::modules/nvidia-gpu-csps.adoc[leveloffset=+1]
55+
[role="_additional-resources"]
56+
.Additional resources
57+
* link:https://docs.nvidia.com/ai-enterprise/deployment-guide-cloud/0.1.0/aws-redhat-openshift.html[Red Hat Openshift in the Cloud]
58+
endif::openshift-dedicated,openshift-rosa[]
4859
60+
ifndef::openshift-dedicated,openshift-rosa[]
4961
include::modules/nvidia-gpu-red-hat-device-edge.adoc[leveloffset=+2]
5062
[role="_additional-resources"]
5163
.Additional resources
5264
* link:https://cloud.redhat.com/blog/how-to-accelerate-workloads-with-nvidia-gpus-on-red-hat-device-edge[How to accelerate workloads with NVIDIA GPUs on Red Hat Device Edge]
65+
endif::openshift-dedicated,openshift-rosa[]
5366
5467
// TELCODOCS-1092 GPU sharing methods
5568
include::modules/nvidia-gpu-sharing-methods.adoc[leveloffset=+1]
@@ -85,4 +98,7 @@ include::modules/nvidia-gpu-features.adoc[leveloffset=+1]
8598
* link:https://docs.nvidia.com/datacenter/cloud-native/openshift/latest/mig-ocp.html[MIG Support in OpenShift Container Platform]
8699
* link:https://docs.nvidia.com/datacenter/cloud-native/openshift/latest/time-slicing-gpus-in-openshift.html[Time-slicing NVIDIA GPUs in OpenShift]
87100
* link:https://docs.nvidia.com/datacenter/cloud-native/openshift/latest/mirror-gpu-ocp-disconnected.html[Deploy GPU Operators in a disconnected or airgapped environment]
101+
// Topic not available in OSD/ROSA
102+
ifndef::openshift-dedicated,openshift-rosa[]
88103
* xref:../hardware_enablement/psap-node-feature-discovery-operator.html[Node Feature Discovery Operator]
104+
endif::openshift-dedicated,openshift-rosa[]

rosa_architecture/rosa_architecture_sub/rosa-architecture-models.adoc renamed to architecture/rosa-architecture-models.adoc

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,22 @@ toc::[]
99

1010
{product-rosa} (ROSA) has the following cluster topologies:
1111

12-
* Hosted control plane (HCP) - The control plane is hosted in a Red Hat account and the worker nodes are deployed in the customer's AWS account.
12+
* Hosted control plane (HCP) - The control plane is hosted in a Red{nbsp}Hat account and the worker nodes are deployed in the customer's AWS account.
1313
* Classic - The control plane and the worker nodes are deployed in the customer's AWS account.
1414
1515
include::modules/rosa-hcp-classic-comparison.adoc[leveloffset=+1]
1616

1717
.Additional resources
1818

19-
* For AWS region availability, see the xref:../../rosa_architecture/rosa_policy_service_definition/rosa-hcp-service-definition.adoc#rosa-sdpolicy-regions-az_rosa-hcp-service-definition[{hcp-title} regions and availability zones].
20-
21-
* For compliance status, see the xref:../../rosa_architecture/rosa_policy_service_definition/rosa-policy-process-security.adoc#rosa-policy-compliance_rosa-policy-process-security[security and regulation compliance] documentation.
19+
* xref:../rosa_architecture/rosa_policy_service_definition/rosa-hcp-service-definition.adoc#rosa-sdpolicy-regions-az_rosa-hcp-service-definition[Regions and availability zones]
2220
21+
* xref:../rosa_architecture/rosa_policy_service_definition/rosa-policy-process-security.adoc#rosa-policy-security-regulation-compliance_rosa-policy-process-security[Security and regulation compliance]
2322
2423
include::modules/rosa-hcp-architecture.adoc[leveloffset=+1]
2524
include::modules/rosa-architecture.adoc[leveloffset=+1]
2625
include::modules/osd-aws-privatelink-architecture.adoc[leveloffset=+2]
2726
include::modules/rosa-architecture-local-zones.adoc[leveloffset=+2]
27+
28+
.Additional resources
29+
30+
* xref:../rosa_cluster_admin/rosa_nodes/rosa-nodes-machinepools-configuring.html[Configuring machine pools in Local Zones]

architecture/understanding-development.adoc

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,7 @@ these runtime base images are referred to as Source-to-Image (S2I) images. With
149149
S2I images, you can insert your code into a base image environment that is ready
150150
to run that code.
151151

152-
S2I images are available for you to use directly from the {product-title} web UI
153-
by selecting *Catalog* -> *Developer Catalog*, as shown in the following figure:
152+
S2I images are available for you to use directly from the {product-title} web UI. In the Developer perspective, navigate to the *+Add* view and in the *Developer Catalog* tile, view all of the available services in the Developer Catalog.
154153

155154
.Choose S2I base images for apps that need specific runtimes
156155
image::developer-catalog.png[{product-title} Developer Catalog]
@@ -260,7 +259,14 @@ are added to your `Pod` definitions.
260259
After you define a group of pods that compose your application, you can define
261260
those pods in
262261
link:https://kubernetes.io/docs/concepts/workloads/controllers/deployment/[`Deployment`]
263-
and xref:../applications/deployments/what-deployments-are.adoc#what-deployments-are[`DeploymentConfig`] objects.
262+
and
263+
// This xref points to a topic that is not currently included in the OSD/ROSA docs.
264+
ifndef::openshift-dedicated,openshift-rosa[]
265+
xref:../applications/deployments/what-deployments-are.adoc#what-deployments-are[`DeploymentConfig`] objects.
266+
endif::openshift-dedicated,openshift-rosa[]
267+
ifdef::openshift-dedicated,openshift-rosa[]
268+
`DeploymentConfig` objects.
269+
endif::openshift-dedicated,openshift-rosa[]
264270

265271
[id="application-types"]
266272
=== Application types
@@ -277,8 +283,16 @@ application might not run again then for a month. Suitable {product-title}
277283
objects for these types of applications include
278284
link:https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/[`Job`]
279285
and https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/[`CronJob`] objects.
286+
280287
* Expected to run continuously. For long-running applications, you can write a
288+
// This xref points to a topic that is not currently included in the OSD/ROSA docs.
289+
ifndef::openshift-dedicated,openshift-rosa[]
281290
xref:../applications/deployments/what-deployments-are.adoc#deployments-kube-deployments[deployment].
291+
endif::openshift-dedicated,openshift-rosa[]
292+
ifdef::openshift-dedicated,openshift-rosa[]
293+
deployment.
294+
endif::openshift-dedicated,openshift-rosa[]
295+
282296
* Required to be highly available. If your application requires high
283297
availability, then you want to size your deployment to have more than one
284298
instance. A `Deployment` or `DeploymentConfig` object can incorporate a

images/developer-catalog.png

-25.1 KB
Loading

images/oke-arch-ocp-stack.png

-653 Bytes
Loading

0 commit comments

Comments
 (0)