cilium / cilium-cli

CLI to install, manage & troubleshoot Kubernetes clusters running Cilium
https://cilium.io
Apache License 2.0
418 stars 209 forks source link

CLI v0.15.2 deploys cni v1.13.4 which is not compatible with iteself #1841

Open Roguito opened 1 year ago

Roguito commented 1 year ago

root@k8s1:~# cilium version cilium-cli: v0.15.2 compiled with go1.20.4 on linux/amd64 cilium image (default): v1.13.4 cilium image (stable): v1.13.4 cilium image (running): unknown. Unable to obtain cilium version, no cilium pods found in namespace "kube-system" root@k8s1:~# cilium status /¯¯\ /¯¯_/¯¯\ Cilium: 1 errors _/¯¯_/ Operator: disabled /¯¯_/¯¯\ Envoy DaemonSet: disabled (using embedded mode) _/¯¯_/ Hubble Relay: disabled __/ ClusterMesh: disabled

Containers: cilium
cilium-operator
Cluster Pods: 3/3 managed by Cilium Helm chart version:
Errors: cilium cilium daemonsets.apps "cilium" not found

Roguito commented 1 year ago

this might be just my inexperience with kubernetes itself. If so, I apologize. More info:

Following: https://docs.cilium.io/en/stable/network/servicemesh/gateway-api/gateway-api/#gs-gateway-api

cilium install --set kubeProxyReplacement=true --set gatewayAPI.enabled=true ℹ️ Using Cilium version 1.13.4 🔮 Auto-detected cluster name: kubernetes 🔮 Auto-detected datapath mode: tunnel 🔮 Auto-detected kube-proxy has been installed

Error: Unable to install Cilium: template: cilium/templates/validate.yaml:59:16: executing "cilium/templates/validate.yaml" at <ne .Values.kubeProxyReplacement "partial">: error calling ne: incompatible types for comparison

macmiranda commented 1 year ago

Try appending --version 1.14.1 to your command

github-actions[bot] commented 1 week ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.