Skip to content
This repository has been archived by the owner on Sep 8, 2022. It is now read-only.

Cilium Installation issue on GKE Cluster #30

Open
2 tasks done
Shikhar0411 opened this issue Apr 22, 2022 · 2 comments
Open
2 tasks done

Cilium Installation issue on GKE Cluster #30

Shikhar0411 opened this issue Apr 22, 2022 · 2 comments

Comments

@Shikhar0411
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

A bug happened!
While installing Cilium Service mesh, in a GKE cluster using the method described in the installation page/eCHO episode 32, I have been running into the following error. I have not been able to find a fix for this


🔮 Auto-detected Kubernetes kind: GKE
ℹ️ using Cilium version "v1.11.3"
🔮 Auto-detected cluster name: gke-pp-piman-dev-us-central1-a-gentest-gke
🔮 Auto-detected IPAM mode: kubernetes
🔮 Auto-detected datapath mode: gke
❌ Unable to auto-detect GKE native routing CIDR. Is "gcloud" installed?
ℹ️ You can set the native routing CIDR manually with --ipv4-native-routing-cidr
↩️ Rolling back installation...

Error: Unable to install Cilium: unable to derive region and zone from context name "gentest": not in the form gke_PROJECT_ZONE_NAME


Moreover, Even installing cilium leads to the same error


🔮 Auto-detected Kubernetes kind: GKE
ℹ️ using Cilium version "v1.11.3"
🔮 Auto-detected cluster name: gke-pp-piman-dev-us-central1-a-gentest-gke
🔮 Auto-detected IPAM mode: kubernetes
🔮 Auto-detected datapath mode: gke
❌ Unable to auto-detect GKE native routing CIDR. Is "gcloud" installed?
ℹ️ You can set the native routing CIDR manually with --ipv4-native-routing-cidr
↩️ Rolling back installation...

Error: Unable to install Cilium: unable to derive region and zone from context name "gentest": not in the form gke_PROJECT_ZONE_NAME


Cilium Version

cilium-cli: v0.11.1 compiled with go1.18.1 on linux/amd64
cilium image (default): v1.11.3
cilium image (stable): v1.11.4
cilium image (running): v1.10.3-gke.15

Kernel Version

Linux gke-access 4.15.0-1098-gcp #111~16.04.1-Ubuntu SMP Tue Apr 13 19:05:08 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Kubernetes Version

Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.0", GitCommit:"cb303e613a121a29364f75cc67d3d580833a7479", GitTreeState:"clean", BuildDate:"2021-04-08T16:31:21Z", GoVersion:"go1.16.1", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.10-gke.2000", GitCommit:"0823380786b063c3f71d5e7c76826a972e30550d", GitTreeState:"clean", BuildDate:"2022-03-17T09:22:22Z", GoVersion:"go1.16.14b7", Compiler:"gc", Platform:"linux/amd64"}

Sysdump

No response

Relevant log output

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@pchaigno
Copy link
Member

Is gcloud installed?

@Shikhar0411
Copy link
Author

It is, infact its a GKE cluster only. Also I tried gcloud command, it works. I have been running multiple applications on this as a test cluster, even Istio worked fine, dont know why getting this issue in Cilium

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants