You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can deploy {hcp} by configuring a cluster to function as a hosting cluster. The hosting cluster is an {product-title} cluster where the control planes are hosted. The hosting cluster is also known as the _management_ cluster.
9
+
You can deploy {hcp} by configuring a cluster to function as a hosting cluster. This configuration provides an efficient and scalable solution for managing many clusters. The hosting cluster is an {product-title} cluster that hosts control planes. The hosting cluster is also known as the _management_ cluster.
10
10
11
11
[NOTE]
12
12
====
13
13
The _management_ cluster is not the _managed_ cluster. A managed cluster is a cluster that the hub cluster manages.
14
14
====
15
15
16
-
The {mce-short} supports only the default `local-cluster`, which is a hub cluster that is managed, and the hub cluster as the hosting cluster.
16
+
The {mce-short} supports only the default `local-cluster`, which is a managed hub cluster, and the hub cluster as the hosting cluster.
17
17
18
-
To provision {hcp} on baremetal, you can use the Agent platform. The Agent platform uses the central infrastructure management service to add worker nodes to a hosted cluster. For more information, see "Enabling the central infrastructure management service".
18
+
To provision {hcp} on bare-metal infrastructure, you can use the Agent platform. The Agent platform uses the central infrastructure management service to add compute nodes to a hosted cluster. For more information, see "Enabling the central infrastructure management service".
19
19
20
-
Each {ibm-power-title} host must be started with a Discovery Image that the central infrastructure management provides. After each host starts, it runs an Agent process to discover the details of the host and completes the installation. An Agent custom resource represents each host.
20
+
You must start each {ibm-power-title} host with a Discovery Image that the central infrastructure management provides. After each host starts, it runs an Agent process to discover the details of the host and completes the installation. An Agent custom resource represents each host.
21
21
22
22
When you create a hosted cluster with the Agent platform, HyperShift installs the Agent Cluster API provider in the hosted control plane namespace.
== Creating heterogeneous node pools on agent hosted clusters
44
-
45
-
On the agent platform, you can create heterogeneous node pools so that your clusters can run diverse machine types, such as `x86_64` or `ppc64le`, within a single hosted cluster.
Copy file name to clipboardExpand all lines: modules/hcp-adding-agents.adoc
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,15 +6,15 @@
6
6
[id="hcp-adding-agents_{context}"]
7
7
= Adding agents to the heterogeneous cluster
8
8
9
-
You add agents by manually configuring the machine to boot with a live ISO. You can download the live ISO and use it to boot a bare-metal node or a virtual machine. On boot, the node communicates with the `assisted-service` and registers as an agent in the same namespace as the `InfraEnv` resource. When each agent is created, you can optionally set its `installation_disk_id` and `hostname` parameters in the specifications. When you are done, approve it to indicate that the agent is ready for use.
9
+
You add agents by manually configuring the machine to boot with a live ISO. You can download the live ISO and use it to boot a bare-metal node or a virtual machine. On boot, the node communicates with the `assisted-service` and registers as an agent in the same namespace as the `InfraEnv` resource. After the creation of each agent, you can optionally set its `installation_disk_id` and `hostname` parameters in the specifications. You can then approve the agent to indicate the agent as ready for use.
10
10
11
11
.Procedure
12
12
13
13
. Obtain a list of agents by running the following command:
14
14
+
15
15
[source,terminal]
16
16
----
17
-
oc -n <hosted_control_plane_namespace> get agents
17
+
$ oc -n <hosted_control_plane_namespace> get agents
Copy file name to clipboardExpand all lines: modules/hcp-bm-hc.adoc
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,15 +8,17 @@
8
8
[id="hcp-bm-hc_{context}"]
9
9
= Creating a hosted cluster on bare metal
10
10
11
-
When you create a hosted cluster with the Agent platform, HyperShift installs the Agent Cluster API provider in the hosted control plane namespace. You can create a hosted cluster on bare metal or import one.
11
+
When you create a hosted cluster with the Agent platform, HyperShift Opertor installs the Agent Cluster API provider in the hosted control plane namespace. The Agent Cluster API provider connects a management cluster that hosts the control plane and a hosted cluster that consists of only the compute nodes.
12
+
13
+
You can create a hosted cluster on bare metal or import one.
12
14
13
15
As you create a hosted cluster, keep the following guidelines in mind:
14
16
15
17
- Each hosted cluster must have a cluster-wide unique name. A hosted cluster name cannot be the same as any existing managed cluster in order for {mce-short} to manage it.
16
18
17
19
- Do not use `clusters` as a hosted cluster name.
18
20
19
-
- A hosted cluster cannot be created in the namespace of a {mce-short} managed cluster.
21
+
- You cannot create a hosted cluster in the namespace of a {mce-short} managed cluster.
20
22
21
23
- The most common service publishing strategy is to expose services through a load balancer. That strategy is the preferred method for exposing the Kubernetes API server. If you create a hosted cluster by using the web console or by using {rh-rhacm-title}, to set a publishing strategy for a service besides the Kubernetes API server, you must manually specify the `servicePublishingStrategy` information in the `HostedCluster` custom resource.
<1> Specify the name of your hosted cluster, for instance,`example`.
53
-
<2> Specify the path to your pull secret, for example,`/user/name/pullsecret`.
54
+
<1> Specify the name of your hosted cluster, such as`example`.
55
+
<2> Specify the path to your pull secret, such as`/user/name/pullsecret`.
54
56
<3> Specify your hosted control plane namespace, for example, `clusters-example`. Ensure that agents are available in this namespace by using the `oc get agent -n <hosted_control_plane_namespace>` command.
55
-
<4> Specify your base domain, for example,`krnl.es`.
56
-
<5> The `--api-server-address` flag defines the IP address that is used for the Kubernetes API communication in the hosted cluster. If you do not set the `--api-server-address` flag, you must log in to connect to the management cluster.
57
-
<6> Specify the etcd storage class name, for example,`lvm-storageclass`.
57
+
<4> Specify your base domain, such as`krnl.es`.
58
+
<5> The `--api-server-address` flag defines the IP address that gets used for the Kubernetes API communication in the hosted cluster. If you do not set the `--api-server-address` flag, you must log in to connect to the management cluster.
59
+
<6> Specify the etcd storage class name, such as`lvm-storageclass`.
58
60
<7> Specify the path to your SSH public key. The default file path is `~/.ssh/id_rsa.pub`.
59
61
<8> Specify your hosted cluster namespace.
60
62
<9> Specify the availability policy for the hosted control plane components. Supported options are `SingleReplica` and `HighlyAvailable`. The default value is `HighlyAvailable`.
61
-
<10> Specify the supported {product-title} version that you want to use, for example,`4.19.0-multi`. If you are using a disconnected environment, replace `<ocp_release_image>` with the digest image. To extract the {product-title} release image digest, see _Extracting the {product-title} release image digest_.
62
-
<11> Specify the node pool replica count, for example,`3`. You must specify the replica count as `0` or greater to create the same number of replicas. Otherwise, no node pools are created.
63
+
<10> Specify the supported {product-title} version that you want to use, such as`4.19.0-multi`. If you are using a disconnected environment, replace `<ocp_release_image>` with the digest image. To extract the {product-title} release image digest, see _Extracting the {product-title} release image digest_.
64
+
<11> Specify the node pool replica count, such as`3`. You must specify the replica count as `0` or greater to create the same number of replicas. Otherwise, you do not created node pools.
63
65
64
66
+
65
67
. After a few moments, verify that your hosted control plane pods are up and running by entering the following command:
You create heterogeneous node pools by using the `NodePool` custom resource (CR).
9
+
You create heterogeneous node pools by using the `NodePool` custom resource (CR), so that you can optimize costs and performance by associating different workloads to specific hardware.
10
10
11
11
.Procedure
12
12
@@ -40,4 +40,4 @@ spec:
40
40
EOF
41
41
----
42
42
+
43
-
<1> This selector block is selects the agents that match the specified label. To create a node pool of architecture `ppc64le` with zero replicas, specify `ppc64le`. This ensures that it selects only agents from `ppc64le` architecture when it scales.
43
+
<1> The selector block selects the agents that match the specified label. To create a node pool of architecture `ppc64le` with zero replicas, specify `ppc64le`. This ensures that it selects only agents from `ppc64le` architecture when it scales.
Copy file name to clipboardExpand all lines: modules/hcp-create-infraenv.adoc
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,11 @@
6
6
[id="hcp-create-infraenv_{context}"]
7
7
= Creating infrastructure environment resources
8
8
9
-
For heterogeneous node pools, you must create an `infraEnv` custom resource (CR) for each architecture. For example, for node pools with `x86_64` and `ppc64le` architectures, create an `InfraEnv` CR for `x86_64` and `ppc64le`.
9
+
For heterogeneous node pools, you must create an `infraEnv` custom resource (CR) for each architecture. This configuration ensures that the correct architecture-specific operating system and boot artifacts get uses during the node provisioning process. For example, for node pools with `x86_64` and `ppc64le` architectures, create an `InfraEnv` CR for `x86_64` and `ppc64le`.
10
10
11
11
[NOTE]
12
12
====
13
-
Before proceeding, make sure that the operating system (OS) images for both `x86_64` and `ppc64le` architectures are added to the `AgentServiceConfig` resource. After this, you can use the `InfraEnv` resources to get the minimal ISO image.
13
+
Before proceeding, make sure that you add the operating system (OS) images for both `x86_64` and `ppc64le` architectures to the `AgentServiceConfig` resource. After this, you can use the `InfraEnv` resources to get the minimal ISO image.
14
14
====
15
15
16
16
.Procedure
@@ -36,7 +36,7 @@ EOF
36
36
<1> The hosted cluster name.
37
37
<2> The `x86_64` architecture.
38
38
<3> The hosted control plane namespace.
39
-
<4> The ssh public key.
39
+
<4> The SSH public key.
40
40
41
41
. Create the `InfraEnv` resource with `ppc64le` architecture for heterogeneous node pools by running the following command:
42
42
+
@@ -59,18 +59,18 @@ EOF
59
59
<1> The hosted cluster name.
60
60
<2> The `ppc64le` architecture.
61
61
<3> The hosted control plane namespace.
62
-
<4> The ssh public key.
62
+
<4> The SSH public key.
63
63
64
-
. To verify that the `InfraEnv` resources are created successfully run the following commands:
64
+
. Verify the successful creation of the `InfraEnv` resources run the following commands:
65
65
66
-
** Verify that the `x86_64``InfraEnv` resource is created successfully:
66
+
** Verify the successful creation of the `x86_64``InfraEnv` resource:
0 commit comments