Kubernetes Workload Resources: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 12: Line 12:


=Controller=
=Controller=
Migrate from [[Kubernetes Higher Level Pod Controllers]]
TODO: https://kubernetes.io/docs/concepts/workloads/pods/#pods-and-controllers
TODO: https://kubernetes.io/docs/concepts/workloads/pods/#pods-and-controllers



Revision as of 23:39, 11 July 2023

Internal

Overview

Workload resources exist to create and manage Pods, which should not usually be created directly. Various workload resources implement different pod utilization patterns.

TODO

Workload Resource

Describe the relationship between pod, deployment, ReplicaSet and workload resources.

Controller

TODO: https://kubernetes.io/docs/concepts/workloads/pods/#pods-and-controllers


A workload resource has an associated controller. The controller handles replication, rollout and automatic healing in case of pod failure. For example if a node fails, a controller notices that the pods on that node have stopped working and creates replacement pods, which are scheduled on healthy nodes.

Workload resources:

  • Deployment
  • StatefulSet
  • DaemonSet
  • Jobs
  • CronJob


To Distribute

ReplicaSet