kubeadm-ansible
kubeadm-ansible copied to clipboard
OL7.8 unexpected kernel config: CONFIG_CGROUP_PIDS
fatal: [10.200.152.11]: FAILED! => changed=true cmd: |- kubeadm init --service-cidr 10.96.0.0/12 --kubernetes-version v1.22.2 --pod-network-cidr 10.244.0.0/16 --token b0f7b8.8d1767876297d85c --apiserver-advertise-address 10.200.152.11 --cri-socket=/var/run/containerd/containerd.sock delta: '0:00:10.179032' end: '2021-09-22 16:00:24.597867' msg: non-zero return code rc: 1 start: '2021-09-22 16:00:14.418835' stderr: |2- [WARNING FileExisting-tc]: tc not found in system path error execution phase preflight: [preflight] Some fatal errors occurred: [ERROR CRI]: container runtime is not running: output: NAME: crictl info - Display information of the container runtime
USAGE:
crictl info [command options] [arguments...]
OPTIONS:
--output value, -o value Output format, One of: json|yaml (default: "json")
time="2021-09-22T16:00:24-04:00" level=fatal msg="failed to connect: failed to connect: context deadline exceeded"
, error: exit status 1
[ERROR SystemVerification]: unexpected kernel config: CONFIG_CGROUP_PIDS
[ERROR SystemVerification]: missing required cgroups: pids
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
To see the stack trace of this error execute with --v=5 or higher
stderr_lines:
unable to init my kubeadm cluster, any idea?
same error with Using Kubernetes version: v1.21.0