Menu

Kubernetes cheatsheet
📰

Kubernetes cheatsheet

DEV Community: kubernetes·Mohammad Jawad (Kasir) Barati·13 days ago
#DOr515ya
#devtokubernetes#devto#dev#kubectl#cluster
Reading 0:00
15s threshold

Manage Pods

In Kubernetes we can have clusters, if we run these commands they will target the default cluster. For more info about clusters you can look at cluster section

kubectl get pods -A # all namespaces kubectl get pods -n <namespace> # find the pods by their namespace, e.g. it can be smart-novel kubectl get pods -A -o wide # with node and IP kubectl get pods -A -w # watch for changes

Enter fullscreen mode

Exit fullscreen mode

Cluster

A Kubernetes cluster is a set of machines/nodes that run your containerized workloads, managed as one unit. It has two parts:

Control plane: the API server, scheduler, and etcd.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.