mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-17 08:57:36 -02:30
Merge branch 'kubernetes-sigs:master' into master
This commit is contained in:
2
roles/kubernetes/node/vars/ubuntu-24.yml
Normal file
2
roles/kubernetes/node/vars/ubuntu-24.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
---
|
||||
kube_resolv_conf: "/run/systemd/resolve/resolv.conf"
|
||||
@@ -77,6 +77,13 @@
|
||||
- not ignore_assert_errors
|
||||
- inventory_hostname in groups['kube_node']
|
||||
|
||||
# This command will fail if cgroups are not enabled on the node.
|
||||
# For reference: https://kubernetes.io/docs/concepts/architecture/cgroups/#check-cgroup-version
|
||||
- name: Stop if cgroups are not enabled on nodes
|
||||
command: stat -fc %T /sys/fs/cgroup/
|
||||
changed_when: false
|
||||
when: not ignore_assert_errors
|
||||
|
||||
# This assertion will fail on the safe side: One can indeed schedule more pods
|
||||
# on a node than the CIDR-range has space for when additional pods use the host
|
||||
# network namespace. It is impossible to ascertain the number of such pods at
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
reload: yes
|
||||
when: fs_may_detach_mounts.stat.exists | d(false)
|
||||
|
||||
- name: Ensure kube-bench parameters are set
|
||||
- name: Ensure kubelet expected parameters are set
|
||||
ansible.posix.sysctl:
|
||||
sysctl_file: "{{ sysctl_file_path }}"
|
||||
name: "{{ item.name }}"
|
||||
|
||||
@@ -97,7 +97,7 @@ pkgs:
|
||||
major_versions:
|
||||
- "8"
|
||||
- "9"
|
||||
Centos: *major_redhat_like
|
||||
CentOS: *major_redhat_like
|
||||
rsync: {}
|
||||
socat: {}
|
||||
software-properties-common: *debian_family_base
|
||||
|
||||
Reference in New Issue
Block a user