Skip to content

Commit d1eb203

Browse files
committed
Fix.
1 parent c668fd4 commit d1eb203

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

config/samples/example-kubeadm.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ spec:
5858
controlPlaneEndpoint: 203.0.113.129:443
5959
initConfiguration:
6060
localAPIEndpoint:
61-
advertiseAddress: 10.0.0.2
61+
advertiseAddress: 127.0.0.1
6262
bindPort: 443
6363
nodeRegistration: {}
6464
joinConfiguration:
@@ -114,7 +114,6 @@ spec:
114114
curl -sSL "https://raw.githubusercontent.com/kubernetes/release/${RELEASE_VERSION}/cmd/krel/templates/latest/kubeadm/10-kubeadm.conf" | sed "s:/usr/bin:/usr/local/bin:g" | tee /usr/lib/systemd/system/kubelet.service.d/10-kubeadm.conf
115115
116116
systemctl enable kubelet.service
117-
systemctl restart kubeadm
118117
- path: /etc/containerd/config.toml
119118
owner: "root:root"
120119
permissions: "0644"

0 commit comments

Comments
 (0)