Class StaticPodOperatorSpec

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<StaticPodOperatorSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class StaticPodOperatorSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<StaticPodOperatorSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    StaticPodOperatorSpec is spec for controllers that manage static pods.
    See Also:
    Serialized Form
    • Constructor Detail

      • StaticPodOperatorSpec

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

        public StaticPodOperatorSpec​(Integer failedRevisionLimit,
                                     String forceRedeploymentReason,
                                     String logLevel,
                                     String managementState,
                                     Object observedConfig,
                                     String operatorLogLevel,
                                     Integer succeededRevisionLimit,
                                     Object unsupportedConfigOverrides)
    • Method Detail

      • getFailedRevisionLimit

        public Integer getFailedRevisionLimit()
        failedRevisionLimit is the number of failed static pod installer revisions to keep on disk and in the api -1 = unlimited, 0 or unset = 5 (default)
      • setFailedRevisionLimit

        public void setFailedRevisionLimit​(Integer failedRevisionLimit)
        failedRevisionLimit is the number of failed static pod installer revisions to keep on disk and in the api -1 = unlimited, 0 or unset = 5 (default)
      • getForceRedeploymentReason

        public String getForceRedeploymentReason()
        forceRedeploymentReason can be used to force the redeployment of the operand by providing a unique string. This provides a mechanism to kick a previously failed deployment and provide a reason why you think it will work this time instead of failing again on the same config.
      • setForceRedeploymentReason

        public void setForceRedeploymentReason​(String forceRedeploymentReason)
        forceRedeploymentReason can be used to force the redeployment of the operand by providing a unique string. This provides a mechanism to kick a previously failed deployment and provide a reason why you think it will work this time instead of failing again on the same config.
      • getLogLevel

        public String getLogLevel()
        logLevel is an intent based logging for an overall component. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for their operands.


        Valid values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to "Normal".

      • setLogLevel

        public void setLogLevel​(String logLevel)
        logLevel is an intent based logging for an overall component. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for their operands.


        Valid values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to "Normal".

      • getManagementState

        public String getManagementState()
        managementState indicates whether and how the operator should manage the component
      • setManagementState

        public void setManagementState​(String managementState)
        managementState indicates whether and how the operator should manage the component
      • getObservedConfig

        public Object getObservedConfig()
        StaticPodOperatorSpec is spec for controllers that manage static pods.
      • setObservedConfig

        public void setObservedConfig​(Object observedConfig)
        StaticPodOperatorSpec is spec for controllers that manage static pods.
      • getOperatorLogLevel

        public String getOperatorLogLevel()
        operatorLogLevel is an intent based logging for the operator itself. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for themselves.


        Valid values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to "Normal".

      • setOperatorLogLevel

        public void setOperatorLogLevel​(String operatorLogLevel)
        operatorLogLevel is an intent based logging for the operator itself. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for themselves.


        Valid values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to "Normal".

      • getSucceededRevisionLimit

        public Integer getSucceededRevisionLimit()
        succeededRevisionLimit is the number of successful static pod installer revisions to keep on disk and in the api -1 = unlimited, 0 or unset = 5 (default)
      • setSucceededRevisionLimit

        public void setSucceededRevisionLimit​(Integer succeededRevisionLimit)
        succeededRevisionLimit is the number of successful static pod installer revisions to keep on disk and in the api -1 = unlimited, 0 or unset = 5 (default)
      • getUnsupportedConfigOverrides

        public Object getUnsupportedConfigOverrides()
        StaticPodOperatorSpec is spec for controllers that manage static pods.
      • setUnsupportedConfigOverrides

        public void setUnsupportedConfigOverrides​(Object unsupportedConfigOverrides)
        StaticPodOperatorSpec is spec for controllers that manage static pods.
      • getAdditionalProperties

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

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

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