Manages containerised workflows and services. Automation.

https://kubernetes.io/docs/reference/kubectl/cheatsheet/

Components

https://kubernetes.io/docs/concepts/overview/components/

  • Control plane - API server, etcd, scheduler, control manager
  • Nodes - kubelet, kube-proxy, container runtime

Concepts

  • Pods - contains containers

  • Deployment - Manages the deployment and scaling of a set of Pods

  • StatefulSets - as Deployment, and provides guarantees about the ordering and uniqueness of these Pods

  • DaemonSet - ensures that all (or some) Nodes run a copy of a Pod

  • Services - abstraction which defines a logical set of Pods and a policy by which to access them

  • Jobs/CronJobs

  • Ingress

Operators

Writing an operator https://metalbear.co/blog/writing-a-kubernetes-operator/

https://tilt.dev

Why EC2 vs EKS vs ECS Case studies

Separation using namespaces

Level of management k8s config secret