-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'kubernetes-sigs:master' into master
- Loading branch information
Showing
35 changed files
with
168 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 7 additions & 1 deletion
8
inventory/sample/group_vars/k8s_cluster/k8s-net-kube-router.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,17 @@ | ||
--- | ||
- name: Restart containerd | ||
command: /bin/true | ||
notify: | ||
- Containerd | restart containerd | ||
- Containerd | wait for containerd | ||
|
||
- name: Containerd | restart containerd | ||
systemd: | ||
name: containerd | ||
state: restarted | ||
enabled: yes | ||
daemon-reload: yes | ||
masked: no | ||
listen: Restart containerd | ||
|
||
- name: Containerd | wait for containerd | ||
command: "{{ containerd_bin_dir }}/ctr images ls -q" | ||
register: containerd_ready | ||
retries: 8 | ||
delay: 4 | ||
until: containerd_ready.rc == 0 | ||
listen: Restart containerd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,31 @@ | ||
--- | ||
- name: Restart and enable cri-dockerd | ||
command: /bin/true | ||
notify: | ||
- Cri-dockerd | reload systemd | ||
- Cri-dockerd | restart docker.service | ||
- Cri-dockerd | reload cri-dockerd.socket | ||
- Cri-dockerd | reload cri-dockerd.service | ||
- Cri-dockerd | enable cri-dockerd service | ||
|
||
- name: Cri-dockerd | reload systemd | ||
systemd: | ||
name: cri-dockerd | ||
daemon_reload: true | ||
masked: no | ||
listen: Restart and enable cri-dockerd | ||
|
||
- name: Cri-dockerd | restart docker.service | ||
service: | ||
name: docker.service | ||
state: restarted | ||
listen: Restart and enable cri-dockerd | ||
|
||
- name: Cri-dockerd | reload cri-dockerd.socket | ||
service: | ||
name: cri-dockerd.socket | ||
state: restarted | ||
listen: Restart and enable cri-dockerd | ||
|
||
- name: Cri-dockerd | reload cri-dockerd.service | ||
service: | ||
name: cri-dockerd.service | ||
state: restarted | ||
listen: Restart and enable cri-dockerd | ||
|
||
- name: Cri-dockerd | enable cri-dockerd service | ||
service: | ||
name: cri-dockerd.service | ||
enabled: yes | ||
listen: Restart and enable cri-dockerd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,12 @@ | ||
--- | ||
- name: Restart crio | ||
command: /bin/true | ||
notify: | ||
- CRI-O | reload systemd | ||
- CRI-O | reload crio | ||
|
||
- name: CRI-O | reload systemd | ||
systemd: | ||
daemon_reload: true | ||
listen: Restart crio | ||
|
||
- name: CRI-O | reload crio | ||
service: | ||
name: crio | ||
state: restarted | ||
enabled: yes | ||
listen: Restart crio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,30 @@ | ||
--- | ||
- name: Restart docker | ||
command: /bin/true | ||
notify: | ||
- Docker | reload systemd | ||
- Docker | reload docker.socket | ||
- Docker | reload docker | ||
- Docker | wait for docker | ||
|
||
- name: Docker | reload systemd | ||
systemd: | ||
name: docker | ||
daemon_reload: true | ||
masked: no | ||
listen: Restart docker | ||
|
||
- name: Docker | reload docker.socket | ||
service: | ||
name: docker.socket | ||
state: restarted | ||
when: ansible_os_family in ['Flatcar', 'Flatcar Container Linux by Kinvolk'] or is_fedora_coreos | ||
listen: Restart docker | ||
|
||
|
||
- name: Docker | reload docker | ||
service: | ||
name: docker | ||
state: restarted | ||
listen: Restart docker | ||
|
||
|
||
- name: Docker | wait for docker | ||
command: "{{ docker_bin_dir }}/docker images" | ||
register: docker_ready | ||
retries: 20 | ||
delay: 1 | ||
until: docker_ready.rc == 0 | ||
listen: Restart docker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.