kubernetes-retired / cluster-api-provider-nested

Cluster API Provider for Nested Clusters
Apache License 2.0
301 stars 67 forks source link

Get "Unauthorized" in tenant's kube-controller-manager #150

Closed vincent-pli closed 3 years ago

vincent-pli commented 3 years ago

What steps did you take and what happened: I have no idea if it's my mistake but Just follow the guide

Only different is I do not use $ kubectl vc create -f https://raw.githubusercontent.com/kubernetes-sigs/cluster-api-provider-nested/master/virtualcluster/config/sampleswithspec/virtualcluster_1_nodeport.yaml -o vc-1.kubeconfig

but use kubectl create directly since some time the docker hub's rate limit will failed the pod and make the kubectl-vc failed

Then I get tons of Unauthorized in the log of kube-controller-manager. Seems related to SA rotated.

Any suggestion?

/kind bug

vincent-pli commented 3 years ago

Reinstalled, everything works as expected, great project!