Using kubectl
Diese Seite ist noch nicht in deiner Sprache verfügbar. Englische Seite aufrufen
You may use any Kubernetes API compatible client to interact with Kubernetes. For this example we’ll use kubectl.
Make sure you use the latest version of kubectl that’s supported with the Kubernetes version of the Kubernetes cluster you’re working with. In the examples below we’ve been using kubectl version 1.33.1.
Prerequisites:
- You acquired a valid Kubeconfig for the STEC managed Edge Cluster.
- Tools: a generic Linux bash terminal, kubectl.
Steps:
> export KUBECONFIG=your-edge-cluster.kubeconfig.yaml> kubectl get nodesNAME STATUS ROLES AGE VERSIONtalos-4ic-txr Ready control-plane 19m v1.30.2
> kubectl get pods --all-namespacesNAMESPACE NAME READY STATUS RESTARTS AGEkube-system coredns-8477467d67-vb27c 1/1 Running 0 19mkube-system coredns-8477467d67-vmmwk 1/1 Running 0 19mkube-system kube-apiserver-talos-4ic-txr 1/1 Running 0 19mkube-system kube-controller-manager-talos-4ic-txr 1/1 Running 2 (20m ago) 18mkube-system kube-flannel-6rzll 1/1 Running 0 19mkube-system kube-proxy-7hf7w 1/1 Running 0 19mkube-system kube-scheduler-talos-4ic-txr 1/1 Running 2 (20m ago) 18m