Last active
November 28, 2024 04:14
-
-
Save edwardtheharris/99f045842a5c30120595075bd4fc1001 to your computer and use it in GitHub Desktop.
containerd run calicoctl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ctr run --rm -t docker.io/calico/ctl:v3.29.1 calico calicoctl --help | |
ctr run --env DATASTORE_TYPE=kubernetes --env KUBECONFIG=/kube.conf --mount type=bind,src=/etc/kubeadm/admin.conf,dst=/kube.conf,options=rbind:ro --net-host --rm -t docker.io/calico/ctl:v3.29.1 calico calicoctl get nodes --allow-version-mismatch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment