Kubernetes StatefulSet: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:


=Internal=
=Internal=
* [[Kubernetes Higher Level Pod Controllers#StatefulSet|Kubernetes Higher Level Pod Controllers]]
* [[Kubernetes Workload Resources#StatefulSet|Kubernetes Workload Resources]]
* [[Kubernetes API Resources Concepts#StatefulSet |API Resources Concepts]]
* [[Kubernetes API Resources Concepts#StatefulSet |API Resources Concepts]]


=Overview=
=Overview=


State and identity (name, hostname). It is not guaranteed the same IP address, but the name is constant. The state a StatefuSet pod holds is relevant, we need to be able to get to it, based on a name.
StatefulSet is the workload API object used to manage stateful applications.
 
<font color=darkkhaki>State and identity (name, hostname). It is not guaranteed the same IP address, but the name is constant. The state a StatefuSet pod holds is relevant, we need to be able to get to it, based on a name.</font>
 
=Scaling=
=Scaling=
A StatefulSet has a Scale sub-resource, allowing it to be controlled by a [[Kubernetes Horizontal Pod Autoscaler#Overview|horizontal pod autoscaler]].
A StatefulSet has a Scale sub-resource, allowing it to be controlled by a [[Kubernetes Horizontal Pod Autoscaler#Overview|horizontal pod autoscaler]].


=StatefulSet and DNS=
{{External|https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#stable-network-id}}
=TODO=
=TODO=


{{Internal|Kubernetes StatefulSet TODEPLETE|Kubernetes StatefulSet TODEPLETE}}
{{Internal|Kubernetes StatefulSet TODEPLETE|Kubernetes StatefulSet TODEPLETE}}

Latest revision as of 20:15, 13 July 2023

External

Internal

Overview

StatefulSet is the workload API object used to manage stateful applications.

State and identity (name, hostname). It is not guaranteed the same IP address, but the name is constant. The state a StatefuSet pod holds is relevant, we need to be able to get to it, based on a name.

Scaling

A StatefulSet has a Scale sub-resource, allowing it to be controlled by a horizontal pod autoscaler.

StatefulSet and DNS

https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#stable-network-id

TODO

Kubernetes StatefulSet TODEPLETE