Skip to content

Commit cd75f46

Browse files
authored
Merge pull request #3755 from Katakam-Rakesh/pub/k8s_telemetry
Updating cloudinit for mount
2 parents c495312 + 8f8bc38 commit cd75f46

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

discovery/roles/configure_ochami/templates/cloud_init/ci-group-service_kube_control_plane_first_x86_64.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,6 @@
347347
- sudo modprobe vxlan || true
348348
- sysctl --system
349349
- mkdir -p /tmp/crio-storage {{ k8s_client_mount_path }} /var/lib/etcd /var/lib/kubelet /etc/kubernetes
350-
- mount -a
351350
- |
352351
tmpfile=$(mktemp)
353352
# Extract the first 'search' line only (ignore duplicates)
@@ -368,6 +367,7 @@
368367
if command -v chattr >/dev/null 2>&1; then
369368
chattr +i /etc/resolv.conf || true
370369
fi
370+
- mount -a
371371
- systemctl start crio.service
372372
- systemctl enable crio.service
373373
- sudo systemctl enable --now kubelet

discovery/roles/configure_ochami/templates/cloud_init/ci-group-service_kube_control_plane_x86_64.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,6 @@
276276
- sudo modprobe vxlan || true
277277
- sysctl --system
278278
- mkdir -p /tmp/crio-storage {{ k8s_client_mount_path }} /var/lib/etcd /var/lib/kubelet /etc/kubernetes
279-
- mount -a
280279
- |
281280
tmpfile=$(mktemp)
282281

@@ -298,6 +297,7 @@
298297
if command -v chattr >/dev/null 2>&1; then
299298
chattr +i /etc/resolv.conf || true
300299
fi
300+
- mount -a
301301
- systemctl start crio.service
302302
- systemctl enable crio.service
303303
- sudo systemctl enable --now kubelet

discovery/roles/configure_ochami/templates/cloud_init/ci-group-service_kube_node_x86_64.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@
178178
- sudo modprobe vxlan || true
179179
- sysctl --system
180180
- mkdir -p /tmp/crio-storage {{ k8s_client_mount_path }} /var/lib/kubelet /etc/kubernetes
181-
- mount -a
182181
- |
183182
tmpfile=$(mktemp)
184183

@@ -200,6 +199,7 @@
200199
if command -v chattr >/dev/null 2>&1; then
201200
chattr +i /etc/resolv.conf || true
202201
fi
202+
- mount -a
203203
- systemctl start crio.service
204204
- systemctl enable crio.service
205205
- sudo systemctl enable --now kubelet

0 commit comments

Comments
 (0)