What is diff between kubectl exec and kubectl attach

Kubectl Exec: In addition to being able to attach to existing processes inside a container, the “exec” command allows you to spawn new processes inside existing containers Kubectl attach: In addition to interactive execution of commands, you can now also attach to any running process. Like kubectl logs, you’ll get stderr and stdout data, but with attach, you’ll also be able to send stdin from your terminal to the program

Read more

Kubernetes in Nikhil Gupta words

What is Kubernetes? Kubernetes is container orchestration toolIt enables to run multiple container with network enabled communicationIt is open source tool which was developed by google and transferred to cncfKubernetes work on master and node configurationMaster has components : controller, apiserver, scheduler, etcd(kube store)Atomic unit in kubernetes is podIt works like helmsman Why Kubernetes? Kuberntes help in container orchestration which means it helps to place pods on different nodes in same network, so it resolves netorking issue which is there

Read more