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
<1> Specify the name of your hosted cluster, for instance, `example`.
38
39
<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.
@@ -43,6 +44,26 @@ $ hcp create cluster aws \
43
44
<7> Specify the node pool replica count, for example, `3`.
44
45
<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.
45
46
<9> Specify the Amazon Resource Name (ARN), for example, `arn:aws:iam::820196288204:role/myrole`.
47
+
<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.
48
+
49
+
. 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:
50
+
+
51
+
.Example YAML file
52
+
[source,yaml]
53
+
----
54
+
apiVersion: hypershift.openshift.io/v1beta1
55
+
kind: NodePool
56
+
metadata:
57
+
name: <nodepool_name> <1>
58
+
spec:
59
+
platform:
60
+
aws:
61
+
placement:
62
+
tenancy: "default" <2>
63
+
----
64
+
+
65
+
<1> Specify the name of the `NodePool` resource.
66
+
<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.
46
67
47
68
.Verification
48
69
@@ -58,4 +79,4 @@ $ oc get hostedclusters -n <hosted_cluster_namespace>
58
79
[source,terminal]
59
80
----
60
81
$ 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 {ocp-short} version that you want to use, for example, `4.14.0-x86_64`.
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