Add more configuration to enable swap

This commit is contained in:
Adrien Reslinger 2024-12-01 11:30:24 +01:00
parent 714868ab71
commit c58515cbce
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
4 changed files with 21 additions and 0 deletions

View file

@ -126,6 +126,9 @@ nodeRegistration:
# read-only-port: "10255"
ignorePreflightErrors:
- SystemVerification
{% if kubernetes_swap_enabled is defined and kubernetes_swap_enabled|bool %}
- Swap
{% endif %}
{% if (kubernetes_master|bool and not kubernetes_master_taint|bool) %}
- NumCPU
{% endif %}