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: content/en/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,7 +122,7 @@ on the provisioned node, specify the `--cri-socket` argument to `kubeadm`. See
122
122
with the default gateway to set the advertise address for this particular control-plane node's API server.
123
123
To use a different network interface, specify the `--apiserver-advertise-address=<ip-address>` argument
124
124
to `kubeadm init`. To deploy an IPv6 Kubernetes cluster using IPv6 addressing, you
125
-
must specify an IPv6 address, for example `--apiserver-advertise-address=fd00::101`
125
+
must specify an IPv6 address, for example `--apiserver-advertise-address=2001:db8::101`
126
126
127
127
To initialize the control-plane node run:
128
128
@@ -377,7 +377,7 @@ The output is similar to:
377
377
```
378
378
379
379
{{< note >}}
380
-
To specify an IPv6 tuple for `<control-plane-host>:<control-plane-port>`, IPv6 address must be enclosed in square brackets, for example: `[fd00::101]:2073`.
380
+
To specify an IPv6 tuple for `<control-plane-host>:<control-plane-port>`, IPv6 address must be enclosed in square brackets, for example: `[2001:db8::101]:2073`.
You can also validate Pod IPs using the Downward API via the `status.podIPs` fieldPath. The following snippet demonstrates how you can expose the Pod IPs via an environment variable called `MY_POD_IPS` within a container.
@@ -82,7 +82,7 @@ The following command prints the value of the `MY_POD_IPS` environment variable
82
82
kubectl exec -it pod01 -- set| grep MY_POD_IPS
83
83
```
84
84
```
85
-
MY_POD_IPS=10.244.1.4,a00:100::4
85
+
MY_POD_IPS=10.244.1.4,2001:db8::4
86
86
```
87
87
88
88
The Pod's IP addresses will also be written to `/etc/hosts` within a container. The following command executes a cat on `/etc/hosts` on a dual stack Pod. From the output you can verify both the IPv4 and IPv6 IP address for the Pod.
@@ -99,7 +99,7 @@ fe00::0 ip6-mcastprefix
99
99
fe00::1 ip6-allnodes
100
100
fe00::2 ip6-allrouters
101
101
10.244.1.4 pod01
102
-
a00:100::4 pod01
102
+
2001:db8::4 pod01
103
103
```
104
104
105
105
## Validate Services
@@ -161,9 +161,9 @@ metadata:
161
161
app.kubernetes.io/name: MyApp
162
162
name: my-service
163
163
spec:
164
-
clusterIP: fd00::5118
164
+
clusterIP: 2001:db8:fd00::5118
165
165
clusterIPs:
166
-
- fd00::5118
166
+
- 2001:db8:fd00::5118
167
167
ipFamilies:
168
168
- IPv6
169
169
ipFamilyPolicy: SingleStack
@@ -210,7 +210,7 @@ Type: ClusterIP
210
210
IP Family Policy: PreferDualStack
211
211
IP Families: IPv4,IPv6
212
212
IP: 10.0.216.242
213
-
IPs: 10.0.216.242,fd00::af55
213
+
IPs: 10.0.216.242,2001:db8:fd00::af55
214
214
Port: <unset> 80/TCP
215
215
TargetPort: 9376/TCP
216
216
Endpoints: <none>
@@ -233,8 +233,8 @@ kubectl get svc -l app.kubernetes.io/name=MyApp
233
233
Validate that the Service receives a `CLUSTER-IP` address from the IPv6 address block along with an `EXTERNAL-IP`. You may then validate access to the service via the IP and port.
0 commit comments