## Certified Kubernetes Administrator (CKA)
#### Basic Commands
Which command you run to view your nodes?
`kubectl get nodes`
Which command you run to view all pods running on all namespaces?
`kubectl get pods --all-namespaces`
How to list all namespaces?
`kubectl get namespaces`
How to create a deployment?
```
cat << EOF | kubectl create -f -
> apiVersion: v1
> kind: Pod
> metadata:
> name: nginx
> spec:
> containers:
> - name: nginx
> image: nginx
> EOF
```
How to print information on a specific pod?
`kubectl describe pod pod_name`
How to delete a pod?
`kubectl delete pod pod_name`
How to check the status of all the components?