Skip to content

Commit 2d07180

Browse files
authored
Merge pull request #116554 from separab-ai/OSDOCS-20759-fix-duplicate-ssh-key
OSDOCS-20759: Remove duplicate --ssh-key from hcp create cluster agent example
2 parents f03f9ec + 255d8bf commit 2d07180

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

modules/hcp-bm-hc.adoc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,15 @@ $ hcp create cluster agent \
6565
--pull-secret=<path_to_pull_secret> \
6666
--agent-namespace=<hosted_control_plane_namespace> \
6767
--base-domain=<base_domain> \
68-
--api-server-address=api.<hosted_cluster_name>.<base_domain>
68+
--api-server-address=api.<hosted_cluster_name>.<base_domain> \
6969
--etcd-storage-class=<etcd_storage_class> \
7070
--ssh-key=<path_to_ssh_key> \
7171
--namespace=<hosted_cluster_namespace> \
7272
--control-plane-availability-policy=HighlyAvailable \
7373
--release-image=quay.io/openshift-release-dev/ocp-release:<ocp_release_image>-multi \
7474
--node-pool-replicas=<node_pool_replica_count> \
7575
--render \
76-
--render-sensitive \
77-
--ssh-key <home_directory>/<path_to_ssh_key>/<ssh_key> > hosted-cluster-config.yaml
76+
--render-sensitive > hosted-cluster-config.yaml
7877
----
7978
+
8079
where:
@@ -90,7 +89,6 @@ where:
9089
* `--control-plane-availability-policy` specifies the availability policy for the hosted control plane components. Supported options are `SingleReplica` and `HighlyAvailable`. The default value is `HighlyAvailable`.
9190
* `--release-image` specifies the supported {product-title} version that you want to use, such as `4.22.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".
9291
* `--node-pool-replicas` specifies 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 create node pools.
93-
* `--ssh-key` specifies the path to the SSH key, such as `user/.ssh/id_rsa`.
9492

9593
. Configure the service publishing strategy. By default, hosted clusters use the `NodePort` service publishing strategy because node ports are always available without additional infrastructure. However, you can configure the service publishing strategy to use a load balancer.
9694

0 commit comments

Comments
 (0)