-
Notifications
You must be signed in to change notification settings - Fork 9
Istio on GKE installation instructions produce broken cluster #262
Comments
This smells a lot like #261 , in that the failure mode is identical - the secret is never created. I find this surprising, because it implies that deployment manager is using a v1.10 kubectl under the hood, which I did not believe to be true. |
If your are stuck it will works with kubectl version 1.9 |
cc @selmanj - it looks like DM config might need to be updated to account for a change in behaviot in kubectl v1.10 (see kubernetes/kubectl#384 and stio/issues#261). |
The DM template has an We could either force the install to use a previous version or patch |
If this needs to be patched for 0.7.0 pinning to a specific version might be easiest. Otherwise you'll need to add conditional checks in the scripts to optional prepend version/kind info. |
I don't think the DM template is updated for 0.7.0. I'll do that in a separate PR. Let me see about pinning to a previous kubectl to avoid this issue for now. |
I'm unable to reproduce the issue. As an additional item,
|
I did notice a few issues with the script itself; for example it's using a version of GKE that is no longer supported, and the debian image used for the installer vm is outdated. Will send out PRs to fix those before continuing to investigate. |
Update; after resolving the issues on my local branch I was able to reproduce the issue; it DOES seem to be caused by the affected kubectl version (I'm not sure how I didn't run into it when I previously looked - maybe due to the older image?) I'll update the script to use the previously-released kubectl and then send out a PR. |
i'm running kubectl 1.10.0 and i am seeing this error. MountVolume.SetUp failed for volume "certs" : secrets "sidecar-injector-certs" not found |
==> v2beta1/HorizontalPodAutoscaler ==> v1beta1/Deployment ==> v1/Pod(related) |
Automatic merge from submit-queue. Update to latest supported GKE version According to https://cloud.google.com/kubernetes-engine/release-notes, the current version used is no longer supported; here we update to the next available 1.9 version. Related to istio/old_issues_repo#262 /cc @ayj
any update on this? this is also broken on helm install. |
Once #4781 is merged in, the GKE template should work; I'll let someone else comment regarding the helm install. |
Automatic merge from submit-queue. Use kubectl 1.9.6 in GCP Deployment Manager install Works around issue discovered in istio/old_issues_repo#262 by forcing an earlier version of kubectl. I also updated the debian image to a family to avoid a warning in the DM UI. Also see #4759 which uses a more recent version of GKE. /cc @ayj
Is this a BUG or FEATURE REQUEST?:
Bug.
Did you review https://istio.io/help/ and existing issues to identify if this is already solved or being worked on?:
Yes, reviewed. No, doesn't help.
Bug:
Y
What Version of Istio and Kubernetes are you using, where did you get Istio from, Installation details
Is Istio Auth enabled or not ?
Deployed a GKE cluster with istio, via Deployment Manager, per https://istio.io/docs/setup/kubernetes/quick-start-gke-dm.html . All deployment manager tweakables and checkboxes left at their default value, I just clicked straight through to "deploy".
What happened:
After much waiting, the "config waiter" stage of the deployment times out and fails.
The GKE cluster is up and working, but the Istio sidecar injector is looping on trying (and failing) to start.
It would appear that there is a missing secret, and after 30+ minutes nothing seems to be interested in creating that secret:
What you expected to happen:
Istio on GKE should install correctly when following official instructions.
How to reproduce it:
Follow installation instructions at https://istio.io/docs/setup/kubernetes/quick-start-gke-dm.html .
The text was updated successfully, but these errors were encountered: