K8S Architecture
1. Worker node
3 processes must be installed on every node to schedule and manage those pods.
1.1. Container runtime
Each pod has a container running inside, for example: docker.
, 1.2. Kubelet
Kubelet assigns resources from the node to the container, like cpu, tam, and
storage resources.
1.3. Kube proxy
Must be installed on every worker node.
Has intelligent forwarding logic to make sure communication between pods with
low overhead.
Forward requests from services to pods.
If my app is making a request to database, it would forward the request to the
replica that’s running on the same node, avoiding the network overhead of
sending the request to another machine.
1. Worker node
3 processes must be installed on every node to schedule and manage those pods.
1.1. Container runtime
Each pod has a container running inside, for example: docker.
, 1.2. Kubelet
Kubelet assigns resources from the node to the container, like cpu, tam, and
storage resources.
1.3. Kube proxy
Must be installed on every worker node.
Has intelligent forwarding logic to make sure communication between pods with
low overhead.
Forward requests from services to pods.
If my app is making a request to database, it would forward the request to the
replica that’s running on the same node, avoiding the network overhead of
sending the request to another machine.