If you have swap enabled on the ctl
and cmp
nodes, configure your
Kubernetes model to make kubelet
work correctly with swapping.
To add swap configuration to a Kubernetes deployment model:
Open your Git project repository.
In classes/cluster/<cluster-name>/kubernetes/control.yml
,
add the following snippet:
...
parameters:
kubernetes:
master:
kubelet:
fail_on_swap: False
In classes/cluster/<cluster-name>/kubernetes/compute.yml
,
add the following snippet:
...
parameters:
kubernetes:
pool:
kubelet:
fail_on_swap: False
Now, proceed with further MCP Kubernetes cluster configuration as required.