Interface StatefulSetProps

    • Method Detail

      • getService

        @Stability(Stable)
        @NotNull
        Service getService()
        Service to associate with the statefulset.
      • getDefaultSelector

        @Stability(Stable)
        @Nullable
        default Boolean getDefaultSelector()
        Automatically allocates a pod selector for this statefulset.

        If this is set to false you must define your selector through statefulset.podMetadata.addLabel() and statefulset.selectByLabel().

        Default: true

      • getPodManagementPolicy

        @Stability(Stable)
        @Nullable
        default PodManagementPolicy getPodManagementPolicy()
        Pod management policy to use for this statefulset.

        Default: PodManagementPolicy.ORDERED_READY

      • getReplicas

        @Stability(Stable)
        @Nullable
        default Number getReplicas()
        Number of desired pods.

        Default: 1

      • getStrategy

        @Stability(Stable)
        @Nullable
        default StatefulSetUpdateStrategy getStrategy()
        Indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.

        Default: - RollingUpdate with partition set to 0