CNI+Cilium+Calico+Weave+Kubenet
February 26, 2023
Cilium cli install and list commands
В данной статье установим клиент для просмотра информации по Cilium.
- Устанавливается на ВМ с которой работаем. Не на ноду кластера;
- Информацию о кластере k8s c Cilium cilium cli берёт из файла .kubeconfig.
CILIUM_CLI_VERSION=$(curl -s https://raw.githubusercontent.com/cilium/cilium-cli/master/stable.txt) CLI_ARCH=amd64 if [ "$(uname -m)" = "arm64" ]; then CLI_ARCH=arm64; fi curl -L --fail --remote-name-all https://github.com/cilium/cilium-cli/releases/download/${CILIUM_CLI_VERSION}/cilium-darwin-${CLI_ARCH}.tar.gz{,.sha256sum} shasum -a 256 -c cilium-darwin-${CLI_ARCH}.tar.gz.sha256sum tar xzvfC cilium-darwin-${CLI_ARCH}.tar.gz /usr/local/bin rm cilium-darwin-${CLI_ARCH}.tar.gz{,.sha256sum}
CILIUM_CLI_VERSION=$(curl -s https://raw.githubusercontent.com/cilium/cilium-cli/master/stable.txt) CLI_ARCH=amd64 if [ "$(uname -m)" = "aarch64" ]; then CLI_ARCH=arm64; fi curl -L --fail --remote-name-all https://github.com/cilium/cilium-cli/releases/download/${CILIUM_CLI_VERSION}/cilium-linux-${CLI_ARCH}.tar.gz{,.sha256sum} sha256sum --check cilium-linux-${CLI_ARCH}.tar.gz.sha256sum sudo tar xzvfC cilium-linux-${CLI_ARCH}.tar.gz /usr/local/bin rm cilium-linux-${CLI_ARCH}.tar.gz{,.sha256sum}
clustermesh Multi Cluster Management completion Generate the autocompletion script for the specified shell config Manage Configuration connectivity Connectivity troubleshooting context Display the configuration context help Help about any command hubble Hubble observability install Install Cilium in a Kubernetes cluster status Display status sysdump Collects information required to troubleshoot issues with Cilium and Hubble uninstall Uninstall Cilium upgrade Upgrade Cilium in a Kubernetes cluster version Display detailed version information
api-rate-limit bpf-policy-map-max log-opt disable-cnp-status-updates labels