Kubernetes api Resources
- kubectl cheatsheet
- lets enable auto-complete in kubectl
-
To get to know all the resources supported by k8s cluster execute the command
kubectl api-resources
Pod
- Pod is atomic or smallest unit of creation in K8s
- Each Pod gets an unique ip address
- Each Pod has one or more containers in it.
- All the containers in the POd share same namespaces.
- K8s scaling means scaling Pods but not containers in it.
- Easiest way to create a pod
kubectl run <name> --image <image>

- Docker restricted resources and how to create Refer Here
