14 lines
487 B
Bash
Executable file
14 lines
487 B
Bash
Executable file
#!/bin/bash
|
|
|
|
export ETCD_ENDPOINTS=https://master01:2379,https://master02:2379,https://master03:2379
|
|
export ETCD_KEY_FILE=/etc/kubernetes/pki/etcd.key
|
|
export ETCD_CERT_FILE=/etc/kubernetes/pki/etcd.crt
|
|
export ETCD_CA_CERT_FILE=/etc/kubernetes/pki/etcd-ca.crt
|
|
|
|
/usr/local/bin/calicoctl get profile -o wide
|
|
/usr/local/bin/calicoctl get bgppeers -o wide
|
|
/usr/local/bin/calicoctl get nodes -o wide
|
|
/usr/local/bin/calicoctl node status
|
|
|
|
#/usr/local/bin/calicoctl ipam show --ip 172.16.241.70
|