cilium / cilium-service-mesh-beta

Instructions and issue tracking for Service Mesh capabilities of Cilium
Apache License 2.0
104 stars 14 forks source link

Issues with ClusterName containing dot #29

Closed pk-vungle closed 2 years ago

pk-vungle commented 2 years ago

Is there an existing issue for this?

What happened?

I have a k8s cluster created via kops. The cluster was created with cluster name that is the k8s api FQDN. Hence installing cilium with the command produced the following error: $ cilium install --version -service-mesh:v1.11.0-beta.1 --config enable-envoy-config=true --kube-proxy-replacement=probe ℹ️ using Cilium version "-service-mesh:v1.11.0-beta.1" 🔮 Auto-detected cluster name: k8s.example.com 🔮 Auto-detected IPAM mode: cluster-pool ❌ Cluster name "k8s.example.com" cannot contain dots ↩️ Rolling back installation...

Error: Unable to install Cilium: invalid cluster name, dots are not allowed

I have tried installing with helm and there were no issues. Is it possible to install the cilium service mesh beta with Helm?

Cilium Version

service-mesh:v1.11.0-beta.1

Kernel Version

$ uname -a Linux ip-172-31-36-201 5.13.0-1017-aws #19~20.04.1-Ubuntu SMP Mon Mar 7 12:53:12 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Kubernetes Version

PKs-MacBook-Pro:deployments-ec2 pk$ kubectl version Server Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.5", GitCommit:"c285e781331a3785a7f436042c65c5641ce8a9e9", GitTreeState:"clean", BuildDate:"2022-03-16T15:52:18Z", GoVersion:"go1.17.8", Compiler:"gc", Platform:"linux/amd64"}

Sysdump

No response

Relevant log output

No response

Anything else?

No response

Code of Conduct

pk-vungle commented 2 years ago

Hi, I managed to install with argument --cluster-name default. I will proceed to close this ticket.