Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 2.12 KB

V1beta1StatefulSetSpec.md

File metadata and controls

14 lines (10 loc) · 2.12 KB

V1beta1StatefulSetSpec

Properties

Name Type Description Notes
replicas int Replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. [optional]
selector \UniversityOfAdelaide\OpenShift\Model\V1LabelSelector Selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors [optional]
serviceName string ServiceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.
template \UniversityOfAdelaide\OpenShift\Model\V1PodTemplateSpec Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.
volumeClaimTemplates \UniversityOfAdelaide\OpenShift\Model\V1PersistentVolumeClaim[] VolumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. [optional]

[Back to Model list] [Back to API list] [Back to README]