GoogleCloudPlatform / gke-managed-certs

Managed Certificates for Kubernetes clusters using GCLB
Apache License 2.0
246 stars 32 forks source link

Controller Hangs Acquiring Leader Lease #52

Closed paymog closed 3 years ago

paymog commented 3 years ago

I've deployed the CRD, controller and created a ManagedCertificate but I see that the controller hangs while trying to acquire the leader lease. Are docs on how to debug what's going on?

 ❮❮❮ kubectl logs -f managed-certificate-controller-595455848-zll6h
I0515 14:54:04.495562       1 main.go:62] managed-certificate-controller v1.1.0 starting. Latest commit hash: 5be47971d44fad4dd4c7b25fa8374ac65171898c
I0515 14:54:04.495655       1 main.go:65] argv[0]: "/managed-certificate-controller"
I0515 14:54:04.495663       1 main.go:65] argv[1]: "-v=3"
I0515 14:54:04.495669       1 main.go:67] Flags = {APIServerHost: GCEConfigFilePath: KubeConfigFilePath: PrometheusAddress::8910}
I0515 14:54:04.499112       1 config.go:170] Using default TokenSource
I0515 14:54:04.499151       1 config.go:103] TokenSource: &oauth2.reuseTokenSource{new:google.computeSource{account:"", scopes:[]string(nil)}, mu:sync.Mutex{state:0, sema:0x0}, t:(*oauth2.Token)(nil)}, projectID: gadic-310112
W0515 14:54:04.499204       1 client_config.go:614] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
I0515 14:54:04.502203       1 leaderelection.go:243] attempting to acquire leader lease kube-system/managed-certificate-controller...
paymog commented 3 years ago

Ah nevermind, these docs are for GCP, not GKE