Class EtcdSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.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 Summary
Constructors Constructor Description EtcdSpec()No args constructor for use in serializationEtcdSpec(Integer backendQuotaGiB, String controlPlaneHardwareSpeed, Integer failedRevisionLimit, String forceRedeploymentReason, String logLevel, String managementState, Object observedConfig, String operatorLogLevel, Integer succeededRevisionLimit, Object unsupportedConfigOverrides)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EtcdSpecBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetBackendQuotaGiB()backendQuotaGiB sets the etcd backend storage size limit in gibibytes.StringgetControlPlaneHardwareSpeed()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.IntegergetFailedRevisionLimit()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)StringgetForceRedeploymentReason()forceRedeploymentReason can be used to force the redeployment of the operand by providing a unique string.StringgetLogLevel()logLevel is an intent based logging for an overall component.StringgetManagementState()managementState indicates whether and how the operator should manage the componentObjectgetObservedConfig()StringgetOperatorLogLevel()operatorLogLevel is an intent based logging for the operator itself.IntegergetSucceededRevisionLimit()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)ObjectgetUnsupportedConfigOverrides()voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetBackendQuotaGiB(Integer backendQuotaGiB)backendQuotaGiB sets the etcd backend storage size limit in gibibytes.voidsetControlPlaneHardwareSpeed(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.voidsetFailedRevisionLimit(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)voidsetForceRedeploymentReason(String forceRedeploymentReason)forceRedeploymentReason can be used to force the redeployment of the operand by providing a unique string.voidsetLogLevel(String logLevel)logLevel is an intent based logging for an overall component.voidsetManagementState(String managementState)managementState indicates whether and how the operator should manage the componentvoidsetObservedConfig(Object observedConfig)voidsetOperatorLogLevel(String operatorLogLevel)operatorLogLevel is an intent based logging for the operator itself.voidsetSucceededRevisionLimit(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)voidsetUnsupportedConfigOverrides(Object unsupportedConfigOverrides)EtcdSpecBuildertoBuilder()
-
-
-
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)
-
edit
public EtcdSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<EtcdSpecBuilder>
-
toBuilder
public EtcdSpecBuilder toBuilder()
-
-