|
|
@ -66,4 +66,12 @@ |
|
|
|
image-endpoint: unix:///run/containerd/containerd.sock |
|
|
|
image-endpoint: unix:///run/containerd/containerd.sock |
|
|
|
timeout: 2 |
|
|
|
timeout: 2 |
|
|
|
debug: true |
|
|
|
debug: true |
|
|
|
pull-image-on-create: false |
|
|
|
pull-image-on-create: false |
|
|
|
|
|
|
|
- name: Disable SWAP since kubernetes can't work with swap enabled (1/2) |
|
|
|
|
|
|
|
shell: | |
|
|
|
|
|
|
|
swapoff -a |
|
|
|
|
|
|
|
- name: Disable SWAP in fstab since kubernetes can't work with swap enabled (2/2) |
|
|
|
|
|
|
|
replace: |
|
|
|
|
|
|
|
path: /etc/fstab |
|
|
|
|
|
|
|
regexp: '^([^#].*?\sswap\s+sw\s+.*)$' |
|
|
|
|
|
|
|
replace: '# \1' |