Kubernetes StatefulSet: Difference between revisions
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
=Overview= | =Overview= | ||
Used for stateful application components, where the application component relies on access to "stable" file storage to maintain state between restarts. A StatefulSet and the individual pods the StatefulSet manages are registered with the [[Kubernetes_Networking_Concepts#The_DNS_Service|cluster's DNS service]]. | Used for stateful application components, where the application component relies on access to "stable" file storage to maintain state between restarts. As such, [[/Kubernetes_Storage_Concepts#local|local volumes]] that are directly attached to node hosts, can be used. A StatefulSet and the individual pods the StatefulSet manages are registered with the [[Kubernetes_Networking_Concepts#The_DNS_Service|cluster's DNS service]]. | ||
=StatefulSet Manifest= | =StatefulSet Manifest= |
Revision as of 17:43, 12 December 2019
External
Internal
Overview
Used for stateful application components, where the application component relies on access to "stable" file storage to maintain state between restarts. As such, local volumes that are directly attached to node hosts, can be used. A StatefulSet and the individual pods the StatefulSet manages are registered with the cluster's DNS service.