Package org.cdk8s.plus25.k8s
Interface KubeStatefulSetProps
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KubeStatefulSetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.717Z") @Stability(Stable) public interface KubeStatefulSetProps extends software.amazon.jsii.JsiiSerializable
StatefulSet represents a set of pods with consistent identities.Identities are defined as:
- Network: A single stable DNS and hostname.
- Storage: As many VolumeClaims as requested.
The StatefulSet guarantees that a given network identity will always map to the same storage identity.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classKubeStatefulSetProps.BuilderA builder forKubeStatefulSetPropsstatic classKubeStatefulSetProps.Jsii$ProxyAn implementation forKubeStatefulSetProps
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static KubeStatefulSetProps.Builderbuilder()default ObjectMetagetMetadata()Standard object's metadata.default StatefulSetSpecgetSpec()Spec defines the desired identities of pods in this set.
-
-
-
Method Detail
-
getMetadata
@Stability(Stable) @Nullable default ObjectMeta getMetadata()
Standard object's metadata.More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
-
getSpec
@Stability(Stable) @Nullable default StatefulSetSpec getSpec()
Spec defines the desired identities of pods in this set.
-
builder
@Stability(Stable) static KubeStatefulSetProps.Builder builder()
- Returns:
- a
KubeStatefulSetProps.BuilderofKubeStatefulSetProps
-
-