Class RollingUpdateStatefulSetStrategy

    • Constructor Detail

      • RollingUpdateStatefulSetStrategy

        public RollingUpdateStatefulSetStrategy()
        No args constructor for use in serialization
      • RollingUpdateStatefulSetStrategy

        public RollingUpdateStatefulSetStrategy​(io.fabric8.kubernetes.api.model.IntOrString maxUnavailable,
                                                Integer partition)
    • Method Detail

      • getMaxUnavailable

        public io.fabric8.kubernetes.api.model.IntOrString getMaxUnavailable()
        RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
      • setMaxUnavailable

        public void setMaxUnavailable​(io.fabric8.kubernetes.api.model.IntOrString maxUnavailable)
        RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
      • getPartition

        public Integer getPartition()
        Partition indicates the ordinal at which the StatefulSet should be partitioned for updates. During a rolling update, all pods from ordinal Replicas-1 to Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched. This is helpful in being able to do a canary based deployment. The default value is 0.
      • setPartition

        public void setPartition​(Integer partition)
        Partition indicates the ordinal at which the StatefulSet should be partitioned for updates. During a rolling update, all pods from ordinal Replicas-1 to Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched. This is helpful in being able to do a canary based deployment. The default value is 0.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)