Skip to content

Using kubectl

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:

Terminal window
> export KUBECONFIG=your-edge-cluster.kubeconfig.yaml
> kubectl get nodes
NAME            STATUS   ROLES           AGE   VERSION
talos-4ic-txr   Ready    control-plane   19m   v1.30.2
> kubectl get pods --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system coredns-8477467d67-vb27c 1/1 Running 0 19m
kube-system coredns-8477467d67-vmmwk 1/1 Running 0 19m
kube-system kube-apiserver-talos-4ic-txr 1/1 Running 0 19m
kube-system kube-controller-manager-talos-4ic-txr 1/1 Running 2 (20m ago) 18m
kube-system kube-flannel-6rzll 1/1 Running 0 19m
kube-system kube-proxy-7hf7w 1/1 Running 0 19m
kube-system kube-scheduler-talos-4ic-txr 1/1 Running 2 (20m ago) 18m