Update k8s version & can chose network interface
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
738896b356
commit
1b665fa94c
5 changed files with 27 additions and 9 deletions
|
|
@ -1,2 +1,2 @@
|
|||
[Service]
|
||||
Environment=KUBELET_EXTRA_ARGS="--container-runtime=remote --container-runtime-endpoint={% if kubernetes_cri == "containerd" %}unix:///run/containerd/containerd.sock{% elif kubernetes_cri == "cri-o" %}unix:///var/run/crio/crio.sock{% endif %} --node-ip={{ ansible_default_ipv4.address }}"
|
||||
Environment=KUBELET_EXTRA_ARGS="--container-runtime=remote --container-runtime-endpoint={% if kubernetes_cri == "containerd" %}unix:///run/containerd/containerd.sock{% elif kubernetes_cri == "cri-o" %}unix:///var/run/crio/crio.sock{% endif %} --node-ip={{ lookup('vars', 'ansible_' + kubernetes_interface ).ipv4.address }}"
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
# https://stackoverflow.com/a/57456786
|
||||
# https://stackoverflow.com/questions/57456667/failed-to-get-kubelets-cgroup
|
||||
[Service]
|
||||
CPUAccounting=true
|
||||
MemoryAccounting=true
|
||||
Loading…
Add table
Add a link
Reference in a new issue