kubeadm: [Failing Test] kubeadm-kinder-super-admin-latest keeps failing for timeout

https://testgrid.k8s.io/sig-cluster-lifecycle-kubeadm#kubeadm-kinder-super-admin-latest

+ docker exec kinder-super-admin-control-plane-1 kubeadm certs renew super-admin.conf
[renew] Reading configuration from the cluster...
[renew] FYI: You can look at this config file with 'kubectl -n kube-system get cm kubeadm-config -o yaml'
 timeout. The task did not complete in less than 5m0s as expected

yesterday, after merging https://github.com/kubernetes/kubernetes/pull/122735 and https://github.com/kubernetes/kubernetes/pull/122529.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (16 by maintainers)

Most upvoted comments

i understand what the problem is now:

[renew] Reading configuration from the cluster… [renew] FYI: You can look at this config file with ‘kubectl -n kube-system get cm kubeadm-config -o yaml’ [renew] Error reading configuration from the Cluster. Falling back to default configuration

the way some parts of kubeadm are designed is:

  • kubeadm checks if it can pull config from cluster
  • if not it uses default config

in such conditions we should pass a shorter timeout to kubeadm, but not use a expbackoff. it’s a due this PR https://github.com/kubernetes/kubernetes/pull/122529 i will send an update.