calicoctl 常用命令

curl -L https://github.com/projectcalico/calico/releases/latest/download/calicoctl-linux-amd64 -o calicoctl-v3.25.1
cp calicoctl-v3.25.1 ./
chmod +x calicoctl-v3.25.1 
cp calicoctl-v3.25.1 /usr/local/bin/calicoctl
calicoctl ipam show  --allow-version-mismatch --show-blocks
calicoctl ipam show  --allow-version-mismatch --show-borrowed
calicoctl ipam show  --allow-version-mismatch --show-configuration
curl -o kubectl-calico -O -L https://downloads.tigera.io/ee/binaries/v3.17.3/calicoctl
chmod +x kubectl-calico
cp kubectl-calico /usr/local/bin/

你可能感兴趣的:(Kubernetes,kubernetes)