Kubernetes Handbook
  • Introduction
  • Prerequisites
    • What is Containerization
    • What is Docker
    • Difference between Docker and VM
  • Features of Kubernetes
    • What is Kubernetes
    • Features of Kubernetes - 1
    • Features of Kubernetes - 2
    • Which Tool to Use for Orchestration
  • Architecture
    • Master Node
    • etcd and kubectl
    • Worker Nodes
  • Pods and Nodes
    • Nodes
    • Pods
  • Controllers
    • Benefits of Controllers
    • Kinds of Controllers
  • Minikube
    • What is Minikube
  • Installation and Running (Mac OS)
    • Installation
    • Running Hello World Application
  • Labels Namespaces and Selectors
    • Labels
    • Namespaces
    • Selectors
  • Health Checks Rollouts and Rollbacks
    • Health Checks
    • Rollouts and Rollbacks
  • Config Maps and Secrets
    • Config Maps
    • Secrets
  • Running Jobs
    • How to Run Jobs
  • Dashboard and Debugging
    • Kubernetes Dashboard
    • Debugging
Powered by GitBook
On this page
  • Master is responsible for managing the cluster activities and communication with nodes.
  • A Node is a worker machine.
  • Kubelet
  • Kube-proxy

Was this helpful?

  1. Pods and Nodes

Nodes

Master is responsible for managing the cluster activities and communication with nodes.

A Node is a worker machine.

A node can be a virtual machine or physical machine

Following are the specific Node Requirements:

  1. A Kubelet running

  2. Container tool like Docker

  3. Kube-proxy process running

  4. Supervisord (restart components)

Recommended: K8s in production then have at least a 3 node cluster

Kubelet

  • Communicates with API server to check if pods have been assigned to the nodes

  • Execute pod containers via container engine

  • Mounts and runs pod volumes and secrets

  • Executes health checks for pod/node status

  • Podspec : yaml file describing a pod

  • Kube apiserver -> podspec -> kubelet -> pods mentioned are running and healthy

Kube-proxy

  • Network proxy

  • Runs on all worker nodes

  • Modes:

    • User space

    • IPTables

    • IPvs (alpha feature)

  • Watches API server for add/del of services

PreviousWorker NodesNextPods

Last updated 3 years ago

Was this helpful?