2. - Containers are normal process
- Process executed using two Linux kernel features
- Cgroups
- Namespace
ContainersVirtual Machines
How containers looks like?
11. How to create pod?
1) kubectl run <name> --image=<Image name> --port=<port no to be exposed>
Eg: $kubectl run nginx –image=nginx:latest –port=80
2) Using Manifest file
kubectl create – f <pod definition file path >
Eg: kubectl create –f pod.yaml
Note : Always create POD with the help of controllers