Kub-arch2

1057 kubectl get pod | grep manu1058 clear1059 ls1060 cp pod.yaml pod2.yaml1061 cp pod.yaml pod3.yaml1062 cp pod.yaml pod4.yaml1063 cp pod.yaml pod1.yaml1064 vi pod1.yaml1065 vi pod3.yaml1066 vi pod4.yaml1067 clear1068 kubectl apply -f pod1.yaml1069 kubectl apply -f pod2.yaml1070 vi pod2.yaml1071 kubectl apply -f pod2.yaml1072 vi pod2.yaml1073 kubectl apply -f pod2.yaml1074 vi pod3.yaml1075 kubectl apply -f pod3.yaml1076 vi pod4.yaml1077 kubectl apply -f pod4.yaml1078 kubectl get pod|grep manu1079 kubectl get pod -o wide | grep manu1080 clear1081 kubectl get pod -o wide | grep

Read more

What is Pod in kubernetes. Exaplin in 15 points with image as an example

Pods Pods are the smallest deployable units of computing that you can create and manage in Kubernetes. A Pod (as in a pod of whales or pea pod) is a group of one or more containers, with shared storage and network resources, and a specification for how to run the containers. A Pod’s contents are always co-located and co-scheduled, and run in a shared context. A Pod models an application-specific “logical host”: it contains one or more application containers which are relatively tightly coupled.

Read more

What are the components of Kubernetes worker and explain each component’s function?

kube-proxy kube-proxy is a network proxy that runs on each node in your cluster, implementing part of the Kubernetes Service concept. kube-proxy maintains network rules on nodes. These network rules allow network communication to your Pods from network sessions inside or outside of your cluster. kube-proxy uses the operating system packet filtering layer if there is one and it’s available. Otherwise, kube-proxy forwards the traffic itself. Container runtime The container runtime is the software that is responsible for running containers. Kubernetes supports several container runtimes: Docker, containerd, CRI-O,

Read more

What are the components of Kubernetes master and explain each component’s function?

kube-apiserver ( Ear ) Need to interact with your Kubernetes cluster? Talk to the API. The Kubernetes API is the front end of the Kubernetes control plane, handling internal and external requests. The API server determines if a request is valid and, if it is, processes it. You can access the API through REST calls, through the kubectl command-line interface, or through other command-line tools such as kubeadm. kube-scheduler Control plane component that watches for newly created Pods with no assigned node, and selects a

Read more