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> Replace `<management_cluster_kubeconfig>` with the name of your management cluster `kubeconfig` file.
55
56
56
57
. Create a `NodePool` manifest YAML file, customize the upgrade type of the `NodePool`, and reference the `ConfigMap` object that you created in the `spec.tuningConfig` section. Create the `NodePool` manifest and save it in a file named `hugepages-nodepool.yaml` by using the `hcp` CLI:
57
58
+
58
-
[source,yaml]
59
-
----
60
-
NODEPOOL_NAME=hugepages-example
61
-
INSTANCE_TYPE=m5.2xlarge
62
-
NODEPOOL_REPLICAS=2
63
-
64
-
hcp create nodepool aws \
65
-
--cluster-name $CLUSTER_NAME \
66
-
--name $NODEPOOL_NAME \
67
-
--node-count $NODEPOOL_REPLICAS \
68
-
--instance-type $INSTANCE_TYPE \
69
-
--render > hugepages-nodepool.yaml
59
+
[source,terminal]
70
60
----
61
+
$ hcp create nodepool aws \
62
+
--cluster-name <hosted_cluster_name> \// <1>
63
+
--name <nodepool_name> \// <2>
64
+
--node-count <nodepool_replicas> \// <3>
65
+
--instance-type <instance_type> \// <4>
66
+
--render > hugepages-nodepool.yaml
67
+
----
68
+
<1> Replace `<hosted_cluster_name>` with the name of your hosted cluster.
69
+
<2> Replace `<nodepool_name>` with the name of your node pool.
70
+
<3> Replace `<nodepool_replicas>` with the number of your node pool replicas, for example, `2`.
71
+
<4> Replace `<instance_type>` with the instance type, for example, `m5.2xlarge`.
72
+
+
73
+
[NOTE]
74
+
====
75
+
The `--render` flag in the `hcp create` command does not render the secrets. To render the secrets, you must use both the `--render` and the `--render-sensitive` flags in the `hcp create` command.
76
+
====
71
77
72
78
. In the `hugepages-nodepool.yaml` file, set `.spec.management.upgradeType` to `InPlace`, and set `.spec.tuningConfig` to reference the `tuned-hugepages` `ConfigMap` object that you created.
73
79
+
@@ -97,7 +103,7 @@ To avoid the unnecessary re-creation of nodes when you apply the new `MachineCon
Copy file name to clipboardExpand all lines: modules/restoring-etcd-snapshot-hosted-cluster.adoc
+5
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,11 @@ If you have a snapshot of etcd from your hosted cluster, you can restore it. Cur
10
10
11
11
To restore an etcd snapshot, you modify the output from the `create cluster --render` command and define a `restoreSnapshotURL` value in the etcd section of the `HostedCluster` specification.
12
12
13
+
[NOTE]
14
+
====
15
+
The `--render` flag in the `hcp create` command does not render the secrets. To render the secrets, you must use both the `--render` and the `--render-sensitive` flags in the `hcp create` command.
0 commit comments