Class KubeAPIServerSpec

    • Constructor Detail

      • KubeAPIServerSpec

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

        public KubeAPIServerSpec​(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()
      • setObservedConfig

        public void setObservedConfig​(Object observedConfig)
      • 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()
      • setUnsupportedConfigOverrides

        public void setUnsupportedConfigOverrides​(Object unsupportedConfigOverrides)
      • getAdditionalProperties

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

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

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