cri-o

coredns can't start when using crio and with selinux on

坚强是说给别人听的谎言 提交于 2020-03-22 09:15:10
问题 I know this question is asked many times, but all about docker, this time is crio. CentOS Linux release 7.6 CRI-O Version: 1.16.1 Kubernetes: v1.16.3 KubeAdm: v1.16.3 CoreDNS pods are in Error/CrashLoopBackOff state, and audit.log shows selinux prevents CoreDNS to read from /var/lib/kubelet/container_id/volumes/ type=AVC msg=audit(1576203392.727:1431): avc: denied { read } for pid=15866 comm="coredns" name="Corefile" dev="dm-0" ino=35369330 scontext=system_u:system_r:container_t:s0:c307,c586

coredns can't start when using crio and with selinux on

早过忘川 提交于 2020-03-22 09:13:11
问题 I know this question is asked many times, but all about docker, this time is crio. CentOS Linux release 7.6 CRI-O Version: 1.16.1 Kubernetes: v1.16.3 KubeAdm: v1.16.3 CoreDNS pods are in Error/CrashLoopBackOff state, and audit.log shows selinux prevents CoreDNS to read from /var/lib/kubelet/container_id/volumes/ type=AVC msg=audit(1576203392.727:1431): avc: denied { read } for pid=15866 comm="coredns" name="Corefile" dev="dm-0" ino=35369330 scontext=system_u:system_r:container_t:s0:c307,c586

Kubespray fails with “Found multiple CRI sockets, please use --cri-socket to select one”

。_饼干妹妹 提交于 2019-12-25 00:57:40
问题 Problem encountered When deploying a cluster with Kubespray , CRI-O and Cilium I get an error about having multiple CRI socket to choose from. Full error fatal: [p3kubemaster1]: FAILED! => {"changed": true, "cmd": " mkdir -p /etc/kubernetes/external_kubeconfig && /usr/local/bin/kubeadm init phase kubeconfig admin --kubeconfig-dir /etc/kubernetes/external_kubeconfig --cert-dir /etc/kubernetes/ssl --apiserver-advertise-address 10.10.3.15 --apiserver-bind-port 6443 >/dev/null && cat /etc