Kubernetes: basic resources and concepts

Using K8s feels like being air traffic controller, sometimes.

Master Server Components

  • etcd — config store accessible to all cluster nodes
  • kube-apiserver — config workloads and org unit; REST + kubectl client
  • kube-controller-manager manages controllers, state saved to etcd
  • kube-scheduler — assigns workloads to specific nodes
  • cloud-controller-manager — bridge to specific cloud provider

Node Server Components

  • Node is a server that preforms work.
  • Container Runtime is typically Docker, but can be rkt or runc too.
  • kubelet is a main contact point for each node with the cluster group. Work is received as manifest.
  • kube-proxy lets manage sub-netting and makes services available to other components. Can do primitive load-balancing.

Kubernetes Objects and Workloads

Pods

Replication Controllers and Replication Sets

Deployments

apiVersion: apps/v1
kind: Deployment
metadata:
name: apache-deployment
labels:
app: web
spec:
replicas: 5
selector:
matchLabels:
app: web
template:
metadata:
labels:
app: web
spec:
containers:
- name: apache-container
image: httpd:2.4.35

Stateful Sets

Daemon Sets

Jobs and Cron Jobs

Other Kubernetes Components

Services

Volumes and Persistent Volumes

Namespaces

Labels and Annotations

Secrets

ConfigMap

--

--

--

Father. Husband. Solutions developer profesionally (software quite often). Arsenal supporter. Cyclist.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

My 2017 in review…

Agile manufacturing and process automation the Salesforce way

How to Make an Interactive Camera in Unity using Cinemachine and C#

</ OverTheWire > Bandit Level 9 → Level 10

HTML, what is it and what does it do?

Is it the platform or your own coding skills that make the difference in a project?

THE JORNEY OF DLITHE BOOTCAMP.net Full Stack Developer| week 5(March-may2022)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adam Brodziak

Adam Brodziak

Father. Husband. Solutions developer profesionally (software quite often). Arsenal supporter. Cyclist.

More from Medium

Understanding the Kubernetes cluster components.

A Short Note on K8s Components

Kubernetes For Beginners : 2

Kubernetes Architecture Terminology in a 3 min read. Professional Friendly.