dyrnq / kubeadm-vagrant

Run kubernetes cluster with kubeadm on vagrant.
1 stars 5 forks source link

Kubelet serving CSR not auto-approved #4

Open dyrnq opened 3 years ago

dyrnq commented 3 years ago

xref: https://github.com/kubernetes/kubernetes/issues/73356

dyrnq commented 3 years ago
kubectl get csr --no-headers -o jsonpath='{.items[*].metadata.name}' | xargs -r kubectl certificate approve
dyrnq commented 3 years ago
( kubectl get csr --no-headers | grep -i 'pending' | awk '{print $1}' ) | xargs -r kubectl certificate approve