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
Copy file name to clipboardExpand all lines: modules/hcp-aws-deploy-hc.adoc
+34-13Lines changed: 34 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@
4
4
5
5
:_mod-docs-content-type: PROCEDURE
6
6
[id="hcp-aws-deploy-hc_{context}"]
7
-
= Deploying a hosted cluster on {aws-short}
7
+
= Creating a hosted cluster on {aws-short}
8
8
9
-
You can deploy a hosted cluster on {aws-first} by using the `hcp` command-line interface (CLI).
9
+
You can create a hosted cluster on {aws-first} by using the `hcp` command-line interface (CLI).
10
10
11
11
By default for {hcp} on {aws-first}, you use an AMD64 hosted cluster. However, you can enable {hcp} to run on an ARM64 hosted cluster. For more information, see "Running hosted clusters on an ARM64 architecture".
12
12
@@ -30,21 +30,22 @@ For compatible combinations of node pools and hosted clusters, see the following
30
30
31
31
.Procedure
32
32
33
-
* To create the hosted cluster on {aws-short}, run the following command:
33
+
. To create a hosted cluster on {aws-short}, run the following command:
<1> Specify the name of your hosted cluster, for instance, `example`.
50
51
<2> Specify your infrastructure name. You must provide the same value for `<hosted_cluster_name>` and `<infra_id>`. Otherwise the cluster might not appear correctly in the {mce} console.
@@ -55,6 +56,26 @@ $ hcp create cluster aws \
55
56
<7> Specify the node pool replica count, for example, `3`.
56
57
<8> By default, all `HostedCluster` and `NodePool` custom resources are created in the `clusters` namespace. You can use the `--namespace <namespace>` parameter, to create the `HostedCluster` and `NodePool` custom resources in a specific namespace.
57
58
<9> Specify the Amazon Resource Name (ARN), for example, `arn:aws:iam::820196288204:role/myrole`.
59
+
<10> If you want to indicate whether the EC2 instance runs on shared or single tenant hardware, include this field. The `--render-into` flag renders Kubernetes resources into the YAML file that you specify in this field. Then, continue to the next step to edit the YAML file.
60
+
61
+
. If you included the `--render-into` flag in the previous command, edit the specified YAML file. Edit the `NodePool` specification in the YAML file to indicate whether the EC2 instance should run on shared or single-tenant hardware, similar to the following example:
62
+
+
63
+
.Example YAML file
64
+
[source,yaml]
65
+
----
66
+
apiVersion: hypershift.openshift.io/v1beta1
67
+
kind: NodePool
68
+
metadata:
69
+
name: <nodepool_name> <1>
70
+
spec:
71
+
platform:
72
+
aws:
73
+
placement:
74
+
tenancy: "default" <2>
75
+
----
76
+
+
77
+
<1> Specify the name of the `NodePool` resource.
78
+
<2> Specify a valid value for tenancy: `"default"`, `"dedicated"`, or `"host"`. Use `"default"` when node pool instances run on shared hardware. Use `"dedicated"` when each node pool instance runs on single-tenant hardware. Use `"host"` when node pool instances run on your pre-allocated dedicated hosts.
58
79
59
80
.Verification
60
81
@@ -70,4 +91,4 @@ $ oc get hostedclusters -n <hosted_cluster_namespace>
70
91
[source,terminal]
71
92
----
72
93
$ oc get nodepools --namespace <hosted_cluster_namespace>
Copy file name to clipboardExpand all lines: modules/hcp-aws-hc-ext-dns.adoc
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
:_mod-docs-content-type: PROCEDURE
6
6
[id="hcp-aws-hc-ext-dns_{context}"]
7
-
= Deploying a hosted cluster by using the external DNS on {aws-short}
7
+
= Creating a hosted cluster by using the external DNS on {aws-short}
8
8
9
9
To create a hosted cluster by using the `PublicAndPrivate` or `Public` publishing strategy on {aws-first}, you must have the following artifacts configured in your management cluster:
10
10
@@ -67,4 +67,4 @@ $ hcp create cluster aws \
67
67
<8> Specify the supported {product-title} version that you want to use, for example, `4.17.0-multi`.
68
68
<9> Specify the public hosted zone that the service provider owns, for example, `service-provider-domain.com`.
69
69
<10> Set as `PublicAndPrivate`. You can use external DNS with `Public` or `PublicAndPrivate` configurations only.
70
-
<11> Specify the path to your {aws-short} STS credentials file, for example, `/home/user/sts-creds/sts-creds.json`.
70
+
<11> Specify the path to your {aws-short} STS credentials file, for example, `/home/user/sts-creds/sts-creds.json`.
0 commit comments