Class EtcdSpec

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class EtcdSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<EtcdSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    See Also:
    Serialized Form
    • Constructor Detail

      • EtcdSpec

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

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

      • getBackendQuotaGiB

        public Integer getBackendQuotaGiB()
        backendQuotaGiB sets the etcd backend storage size limit in gibibytes. The value should be an integer not less than 8 and not more than 32. When not specified, the default value is 8.
      • setBackendQuotaGiB

        public void setBackendQuotaGiB​(Integer backendQuotaGiB)
        backendQuotaGiB sets the etcd backend storage size limit in gibibytes. The value should be an integer not less than 8 and not more than 32. When not specified, the default value is 8.
      • getControlPlaneHardwareSpeed

        public String getControlPlaneHardwareSpeed()
        HardwareSpeed allows user to change the etcd tuning profile which configures the latency parameters for heartbeat interval and leader election timeouts allowing the cluster to tolerate longer round-trip-times between etcd members. Valid values are "", "Standard" and "Slower".

        "" means no opinion and the platform is left to choose a reasonable default

        which is subject to change without notice.


        Possible enum values:

        - `"Slower"` provides more tolerance for slower hardware and/or higher latency networks. Sets (values subject to change): ETCD_HEARTBEAT_INTERVAL: 5x Standard ETCD_LEADER_ELECTION_TIMEOUT: 2.5x Standard

        - `"Standard"` provides the normal tolerances for hardware speed and latency. Currently sets (values subject to change at any time): ETCD_HEARTBEAT_INTERVAL: 100ms ETCD_LEADER_ELECTION_TIMEOUT: 1000ms

      • setControlPlaneHardwareSpeed

        public void setControlPlaneHardwareSpeed​(String controlPlaneHardwareSpeed)
        HardwareSpeed allows user to change the etcd tuning profile which configures the latency parameters for heartbeat interval and leader election timeouts allowing the cluster to tolerate longer round-trip-times between etcd members. Valid values are "", "Standard" and "Slower".

        "" means no opinion and the platform is left to choose a reasonable default

        which is subject to change without notice.


        Possible enum values:

        - `"Slower"` provides more tolerance for slower hardware and/or higher latency networks. Sets (values subject to change): ETCD_HEARTBEAT_INTERVAL: 5x Standard ETCD_LEADER_ELECTION_TIMEOUT: 2.5x Standard

        - `"Standard"` provides the normal tolerances for hardware speed and latency. Currently sets (values subject to change at any time): ETCD_HEARTBEAT_INTERVAL: 100ms ETCD_LEADER_ELECTION_TIMEOUT: 1000ms

      • 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)