Package org.cdk8s.plus23.k8s
Interface KubeStatefulSetProps
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KubeStatefulSetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.69.0 (build f656c31)", date="2022-10-15T03:08:35.533Z") @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 class
KubeStatefulSetProps.Builder
A builder forKubeStatefulSetProps
static class
KubeStatefulSetProps.Jsii$Proxy
An implementation forKubeStatefulSetProps
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static KubeStatefulSetProps.Builder
builder()
default ObjectMeta
getMetadata()
Standard object's metadata.default StatefulSetSpec
getSpec()
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.Builder
ofKubeStatefulSetProps
-
-