Merge branch 'kubernetes-sigs:master' into master

This commit is contained in:
Jorge Isnardo Altamirano
2024-05-20 08:32:00 +02:00
committed by GitHub
148 changed files with 776 additions and 508 deletions

View File

@@ -0,0 +1,2 @@
---
kube_resolv_conf: "/run/systemd/resolve/resolv.conf"

View File

@@ -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

View File

@@ -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 }}"

View File

@@ -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