Kubernetes
Kubernetes
Pods
Nodes
• A Pod always runs on a Node. A Node is a worker machine in Kubernetes and
may be either a virtual or a physical machine, depending on the cluster. Each
Node is managed by the control plane. A Node can have multiple pods, and
the Kubernetes control plane automatically handles scheduling the pods
across the Nodes in the cluster. The control plane's automatic scheduling
takes into account the available resources on each Node.
• Every Kubernetes Node runs at least:
• Kubelet, a process responsible for communication between the Kubernetes control
plane and the Node; it manages the Pods and the containers running on a machine.
• A container runtime (like Docker) responsible for pulling the container image from a
registry, unpacking the container, and running the application.
• The most common operations can be done with the following kubectl
commands:
• kubectl get - list resources
• kubectl describe - show detailed information about a resource
• kubectl logs - print the logs from a container in a pod
• kubectl exec - execute a command on a container in a pod
Expose Your App
• A Pod always runs on a Node. A Node is a worker machine in Kubernetes and
may be either a virtual or a physical machine, depending on the cluster. Each
Node is managed by the control plane. A Node can have multiple pods, and
the Kubernetes control plane automatically handles scheduling the pods
across the Nodes in the cluster. The control plane's automatic scheduling
takes into account the available resources on each Node.
• Every Kubernetes Node runs at least:
• Kubelet, a process responsible for communication between the Kubernetes control
plane and the Node; it manages the Pods and the containers running on a machine.
• A container runtime (like Docker) responsible for pulling the container image from a
registry, unpacking the container, and running the application.
• The most common operations can be done with the following kubectl
commands:
• kubectl get - list resources
• kubectl describe - show detailed information about a resource
• kubectl logs - print the logs from a container in a pod
• kubectl exec - execute a command on a container in a pod
Refer Further