Closed matthewmichihara closed 4 years ago
cc @sharifelgamal
If you're looking for another output (looks to be slightly different), I was able repro too.
โ bin ./minikube start --addons gcp-auth
๐ minikube v1.12.3 on Darwin 10.15.6
โจ Using the docker driver based on existing profile
๐ minikube 1.13.0 is available! Download it: https://github.com/kubernetes/minikube/releases/tag/v1.13.0
๐ก To disable this notice, run: 'minikube config set WantUpdateNotification false'
โ Requested memory allocation (1990MB) is less than the recommended minimum 2000MB. Kubernetes may crash unexpectedly.
โ Your system has 16384MB memory but Docker has only 2996MB. For a better performance increase to at least 3GB.
Docker for Desktop > Settings > Resources > Memory
๐ Starting control plane node minikube in cluster minikube
๐ Restarting existing docker container for "minikube" ...
๐ณ Preparing Kubernetes v1.18.3 on Docker 19.03.2 ...
๐ Verifying Kubernetes components...
๐ Verifying gcp-auth addon...
๐ Your GCP credentials will now be mounted into every pod created in the minikube cluster.
๐ If you don't want your credentials mounted into a specific pod, add a label with the `gcp-auth-skip-secret` key to your pod configuration.
โ Enabling 'gcp-auth' returned an error: running callbacks: [verifying gcp-auth addon pods : timed out waiting for the condition: timed out waiting for the condition]
๐ Enabled addons: default-storageclass, gcp-auth, storage-provisioner
๐ Done! kubectl is now configured to use "minikube"
โ /usr/local/bin/kubectl is version 1.16.6-beta.0, which may be incompatible with Kubernetes 1.18.3.
๐ก You can also use 'minikube kubectl -- get pods' to invoke a matching version
I think the problem might be happening because the gcp-auth being enabled before storage-provisioner and the other default addon maybe we should make sure all addons other than the default addons are enabled and started once these two are enabled
Do you think this is something we can prioritize? The IDEs are looking to leverage this functionality for upcoming features.
@medyagh - agreed. This seems to be a short race condition where a webhook is defined, but not yet running. Ideally, we should remove the race condition altogether, but it would be less terrible if we enabled it last or waited for this addon to finish deploying before enabling others.
@matthewmichihara - It's on the list for the next release.
Thanks for the fix, when should I expect this to show up in gcloud?
Steps to reproduce the issue:
Run
"/Users/michihara/Library/Application Support/google-cloud-tools-java/managed-cloud-sdk/LATEST/google-cloud-sdk/bin/minikube" start --profile cloud-run-dev-internal --keep-context true --wait false --vm-driver docker --interactive false --delete-on-failure --addons gcp-auth
This results in a failure. I started seeing this when I added the
--addons gcp-auth
flag to the command, although when I try to re-run this command without--addons gcp-auth
, I still see the same failure.Full output of
minikube start
command used, if not already included:Optional: Full output of
minikube logs
command: