Kay Yan
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
15 additions and
0 deletions
-
roles/kubernetes/preinstall/tasks/0080-system-configurations.yml
-
roles/kubespray-defaults/defaults/main.yaml
|
|
@ -127,3 +127,12 @@ |
|
|
|
state: present |
|
|
|
params: 'numdummies=0' |
|
|
|
when: enable_nodelocaldns |
|
|
|
|
|
|
|
- name: Set additional sysctl variables |
|
|
|
sysctl: |
|
|
|
sysctl_file: "{{ sysctl_file_path }}" |
|
|
|
name: "{{ item.name }}" |
|
|
|
value: "{{ item.value }}" |
|
|
|
state: present |
|
|
|
reload: yes |
|
|
|
with_items: "{{ additional_sysctl }}" |
|
|
@ -487,6 +487,12 @@ kubelet_rotate_server_certificates: false |
|
|
|
# If set to true, kubelet errors if any of kernel tunables is different than kubelet defaults |
|
|
|
kubelet_protect_kernel_defaults: true |
|
|
|
|
|
|
|
# Set additional sysctl variables to modify Linux kernel variables, for example: |
|
|
|
# additional_sysctl: |
|
|
|
# - { name: kernel.pid_max, value: 131072 } |
|
|
|
# |
|
|
|
additional_sysctl: [] |
|
|
|
|
|
|
|
## List of key=value pairs that describe feature gates for |
|
|
|
## the k8s cluster. |
|
|
|
kube_feature_gates: [] |
|
|
|