Skip to content

Instantly share code, notes, and snippets.

@flrichar
Last active April 2, 2024 13:53
Show Gist options
  • Save flrichar/47dc5a69a4874a13071cafb6bf75f6d6 to your computer and use it in GitHub Desktop.
Save flrichar/47dc5a69a4874a13071cafb6bf75f6d6 to your computer and use it in GitHub Desktop.
Calicoctl and RKE2

Calicoctl included in Canal /Calico images

  • find the calico-node container, bin is located in /calicoctl
  • [Edit]: Rancher canal includes it, but not generic calico
$ kubectl exec -it -n kube-system $(kubectl get pods -n kube-system -l k8s-app=canal --no-headers -o custom-columns=":metadata.name") -c calico-node -- /calicoctl version

Client Version:    v3.26.3
Git commit:        bdb7878af
Cluster Version:   v3.26.3
Cluster Type:      k8s,canal,kdd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment