Kubectl-Commands-05
Kubectl Commands General Information kubectl can be replaced with k by using an alias. kubectl makes calls to the kube-apiserver behind the scenes. Get or List Resources List all K8s objects:
1 2 3 |
k get all |
List nodes:
1 2 3 |
k get nodes |
List pods:
1 2 3 |
k get pods |
List pods with additional info:
1 2 3 |
k get pods -o wide |
List services:
1 2 3 |
k get services |
or
1 2 3 |
k get svc |
List deployments:
1 2 3 |
k get deployments |
List replica sets:…