Skip to content

Commit 4033f34

Browse files
author
EricWvi
committed
modify kubeadm config example about joining a node to dual-stack cluster
1 parent 41896a5 commit 4033f34

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

content/en/docs/setup/production-environment/tools/kubeadm/dual-stack-support.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ kind: JoinConfiguration
9393
discovery:
9494
bootstrapToken:
9595
apiServerEndpoint: 10.100.0.1:6443
96+
token: "clvldh.vjjwg16ucnhp94qr"
97+
caCertHashes:
98+
- "sha256:a4863cde706cfc580a439f842cc65d5ef112b7b2be31628513a9881cf0d9fe0e"
99+
# change auth info above to match the actual token and CA certificate hash for your cluster
96100
nodeRegistration:
97101
kubeletExtraArgs:
98102
node-ip: 10.100.0.3,fd00:1:2:3::3
@@ -109,6 +113,10 @@ controlPlane:
109113
discovery:
110114
bootstrapToken:
111115
apiServerEndpoint: 10.100.0.1:6443
116+
token: "clvldh.vjjwg16ucnhp94qr"
117+
caCertHashes:
118+
- "sha256:a4863cde706cfc580a439f842cc65d5ef112b7b2be31628513a9881cf0d9fe0e"
119+
# change auth info above to match the actual token and CA certificate hash for your cluster
112120
nodeRegistration:
113121
kubeletExtraArgs:
114122
node-ip: 10.100.0.4,fd00:1:2:3::4
@@ -118,7 +126,7 @@ nodeRegistration:
118126
`advertiseAddress` in JoinConfiguration.controlPlane specifies the IP address that the API Server will advertise it is listening on. The value of `advertiseAddress` equals the `--apiserver-advertise-address` flag of `kubeadm join`.
119127

120128
```shell
121-
kubeadm join --config=kubeadm-config.yaml ...
129+
kubeadm join --config=kubeadm-config.yaml
122130
```
123131

124132
### Create a single-stack cluster

0 commit comments

Comments
 (0)