Skip to content

Commit 5d3ea15

Browse files
authored
Merge pull request #4216 from CecileRobertMichon/cherry-pick-e83ea53
[release-1.11] Restart containerd in ipv6 templates when restarting systemd-resolved
2 parents 767d3a5 + 9431d93 commit 5d3ea15

File tree

10 files changed

+16
-16
lines changed

10 files changed

+16
-16
lines changed

templates/cluster-template-dual-stack.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/cluster-template-ipv6.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/flavors/dual-stack/machine-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ spec:
4949
# This frees up :53 on the host for the coredns pods
5050
- echo "DNSStubListener=no" >> /etc/systemd/resolved.conf
5151
- mv /etc/resolv.conf /etc/resolv.conf.OLD && ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
52-
- systemctl restart systemd-resolved
52+
- systemctl restart systemd-resolved containerd
5353
joinConfiguration:
5454
nodeRegistration:
5555
name: '{{ ds.meta_data["local_hostname"] }}'

templates/flavors/dual-stack/patches/kubeadm-controlplane.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ spec:
88
# This frees up :53 on the host for the coredns pods
99
- echo "DNSStubListener=no" >> /etc/systemd/resolved.conf
1010
- mv /etc/resolv.conf /etc/resolv.conf.OLD && ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
11-
- systemctl restart systemd-resolved
11+
- systemctl restart systemd-resolved containerd
1212
initConfiguration:
1313
nodeRegistration:
1414
name: '{{ ds.meta_data["local_hostname"] }}'

templates/flavors/ipv6/machine-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ spec:
4949
# This frees up :53 on the host for the coredns pods
5050
- echo "DNSStubListener=no" >> /etc/systemd/resolved.conf
5151
- mv /etc/resolv.conf /etc/resolv.conf.OLD && ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
52-
- systemctl restart systemd-resolved
52+
- systemctl restart systemd-resolved containerd
5353
joinConfiguration:
5454
nodeRegistration:
5555
name: '{{ ds.meta_data["local_hostname"] }}'

templates/flavors/ipv6/patches/kubeadm-controlplane.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ spec:
88
# This frees up :53 on the host for the coredns pods
99
- echo "DNSStubListener=no" >> /etc/systemd/resolved.conf
1010
- mv /etc/resolv.conf /etc/resolv.conf.OLD && ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
11-
- systemctl restart systemd-resolved
11+
- systemctl restart systemd-resolved containerd
1212
initConfiguration:
1313
nodeRegistration:
1414
name: '{{ ds.meta_data["local_hostname"] }}'

templates/test/ci/cluster-template-prow-dual-stack.yaml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/test/ci/cluster-template-prow-ipv6.yaml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/test/ci/prow-dual-stack/machine-pool-dualstack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ spec:
6868
- echo "DNSStubListener=no" >> /etc/systemd/resolved.conf
6969
- mv /etc/resolv.conf /etc/resolv.conf.OLD && ln -s /run/systemd/resolve/resolv.conf
7070
/etc/resolv.conf
71-
- systemctl restart systemd-resolved
71+
- systemctl restart systemd-resolved containerd

templates/test/ci/prow-ipv6/machine-pool-ipv6.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ spec:
7878
- echo "DNSStubListener=no" >> /etc/systemd/resolved.conf
7979
- mv /etc/resolv.conf /etc/resolv.conf.OLD && ln -s /run/systemd/resolve/resolv.conf
8080
/etc/resolv.conf
81-
- systemctl restart systemd-resolved
81+
- systemctl restart systemd-resolved containerd

0 commit comments

Comments
 (0)