Class InfrastructureStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.InfrastructureStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<InfrastructureStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class InfrastructureStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<InfrastructureStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
InfrastructureStatus describes the infrastructure the cluster is leveraging.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InfrastructureStatus()No args constructor for use in serializationInfrastructureStatus(String apiServerInternalURI, String apiServerURL, String controlPlaneTopology, String cpuPartitioning, String etcdDiscoveryDomain, String infrastructureName, String infrastructureTopology, String platform, PlatformStatus platformStatus)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InfrastructureStatusBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiServerInternalURI()apiServerInternalURL is a valid URI with scheme 'https', address and optionally a port (defaulting to 443).StringgetApiServerURL()apiServerURL is a valid URI with scheme 'https', address and optionally a port (defaulting to 443).StringgetControlPlaneTopology()controlPlaneTopology expresses the expectations for operands that normally run on control nodes.StringgetCpuPartitioning()cpuPartitioning expresses if CPU partitioning is a currently enabled feature in the cluster.StringgetEtcdDiscoveryDomain()etcdDiscoveryDomain is the domain used to fetch the SRV records for discovering etcd servers and clients.StringgetInfrastructureName()infrastructureName uniquely identifies a cluster with a human friendly name.StringgetInfrastructureTopology()infrastructureTopology expresses the expectations for infrastructure services that do not run on control plane nodes, usually indicated by a node selector for a `role` value other than `master`.StringgetPlatform()platform is the underlying infrastructure provider for the cluster.PlatformStatusgetPlatformStatus()InfrastructureStatus describes the infrastructure the cluster is leveraging.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiServerInternalURI(String apiServerInternalURI)apiServerInternalURL is a valid URI with scheme 'https', address and optionally a port (defaulting to 443).voidsetApiServerURL(String apiServerURL)apiServerURL is a valid URI with scheme 'https', address and optionally a port (defaulting to 443).voidsetControlPlaneTopology(String controlPlaneTopology)controlPlaneTopology expresses the expectations for operands that normally run on control nodes.voidsetCpuPartitioning(String cpuPartitioning)cpuPartitioning expresses if CPU partitioning is a currently enabled feature in the cluster.voidsetEtcdDiscoveryDomain(String etcdDiscoveryDomain)etcdDiscoveryDomain is the domain used to fetch the SRV records for discovering etcd servers and clients.voidsetInfrastructureName(String infrastructureName)infrastructureName uniquely identifies a cluster with a human friendly name.voidsetInfrastructureTopology(String infrastructureTopology)infrastructureTopology expresses the expectations for infrastructure services that do not run on control plane nodes, usually indicated by a node selector for a `role` value other than `master`.voidsetPlatform(String platform)platform is the underlying infrastructure provider for the cluster.voidsetPlatformStatus(PlatformStatus platformStatus)InfrastructureStatus describes the infrastructure the cluster is leveraging.InfrastructureStatusBuildertoBuilder()
-
-
-
Method Detail
-
getApiServerInternalURI
public String getApiServerInternalURI()
apiServerInternalURL is a valid URI with scheme 'https', address and optionally a port (defaulting to 443). apiServerInternalURL can be used by components like kubelets, to contact the Kubernetes API server using the infrastructure provider rather than Kubernetes networking.
-
setApiServerInternalURI
public void setApiServerInternalURI(String apiServerInternalURI)
apiServerInternalURL is a valid URI with scheme 'https', address and optionally a port (defaulting to 443). apiServerInternalURL can be used by components like kubelets, to contact the Kubernetes API server using the infrastructure provider rather than Kubernetes networking.
-
getApiServerURL
public String getApiServerURL()
apiServerURL is a valid URI with scheme 'https', address and optionally a port (defaulting to 443). apiServerURL can be used by components like the web console to tell users where to find the Kubernetes API.
-
setApiServerURL
public void setApiServerURL(String apiServerURL)
apiServerURL is a valid URI with scheme 'https', address and optionally a port (defaulting to 443). apiServerURL can be used by components like the web console to tell users where to find the Kubernetes API.
-
getControlPlaneTopology
public String getControlPlaneTopology()
controlPlaneTopology expresses the expectations for operands that normally run on control nodes. The default is 'HighlyAvailable', which represents the behavior operators have in a "normal" cluster. The 'SingleReplica' mode will be used in single-node deployments and the operators should not configure the operand for highly-available operation The 'External' mode indicates that the control plane is hosted externally to the cluster and that its components are not visible within the cluster.
-
setControlPlaneTopology
public void setControlPlaneTopology(String controlPlaneTopology)
controlPlaneTopology expresses the expectations for operands that normally run on control nodes. The default is 'HighlyAvailable', which represents the behavior operators have in a "normal" cluster. The 'SingleReplica' mode will be used in single-node deployments and the operators should not configure the operand for highly-available operation The 'External' mode indicates that the control plane is hosted externally to the cluster and that its components are not visible within the cluster.
-
getCpuPartitioning
public String getCpuPartitioning()
cpuPartitioning expresses if CPU partitioning is a currently enabled feature in the cluster. CPU Partitioning means that this cluster can support partitioning workloads to specific CPU Sets. Valid values are "None" and "AllNodes". When omitted, the default value is "None". The default value of "None" indicates that no nodes will be setup with CPU partitioning. The "AllNodes" value indicates that all nodes have been setup with CPU partitioning, and can then be further configured via the PerformanceProfile API.
-
setCpuPartitioning
public void setCpuPartitioning(String cpuPartitioning)
cpuPartitioning expresses if CPU partitioning is a currently enabled feature in the cluster. CPU Partitioning means that this cluster can support partitioning workloads to specific CPU Sets. Valid values are "None" and "AllNodes". When omitted, the default value is "None". The default value of "None" indicates that no nodes will be setup with CPU partitioning. The "AllNodes" value indicates that all nodes have been setup with CPU partitioning, and can then be further configured via the PerformanceProfile API.
-
getEtcdDiscoveryDomain
public String getEtcdDiscoveryDomain()
etcdDiscoveryDomain is the domain used to fetch the SRV records for discovering etcd servers and clients. For more info: https://github.com/etcd-io/etcd/blob/329be66e8b3f9e2e6af83c123ff89297e49ebd15/Documentation/op-guide/clustering.md#dns-discovery deprecated: as of 4.7, this field is no longer set or honored. It will be removed in a future release.
-
setEtcdDiscoveryDomain
public void setEtcdDiscoveryDomain(String etcdDiscoveryDomain)
etcdDiscoveryDomain is the domain used to fetch the SRV records for discovering etcd servers and clients. For more info: https://github.com/etcd-io/etcd/blob/329be66e8b3f9e2e6af83c123ff89297e49ebd15/Documentation/op-guide/clustering.md#dns-discovery deprecated: as of 4.7, this field is no longer set or honored. It will be removed in a future release.
-
getInfrastructureName
public String getInfrastructureName()
infrastructureName uniquely identifies a cluster with a human friendly name. Once set it should not be changed. Must be of max length 27 and must have only alphanumeric or hyphen characters.
-
setInfrastructureName
public void setInfrastructureName(String infrastructureName)
infrastructureName uniquely identifies a cluster with a human friendly name. Once set it should not be changed. Must be of max length 27 and must have only alphanumeric or hyphen characters.
-
getInfrastructureTopology
public String getInfrastructureTopology()
infrastructureTopology expresses the expectations for infrastructure services that do not run on control plane nodes, usually indicated by a node selector for a `role` value other than `master`. The default is 'HighlyAvailable', which represents the behavior operators have in a "normal" cluster. The 'SingleReplica' mode will be used in single-node deployments and the operators should not configure the operand for highly-available operation NOTE: External topology mode is not applicable for this field.
-
setInfrastructureTopology
public void setInfrastructureTopology(String infrastructureTopology)
infrastructureTopology expresses the expectations for infrastructure services that do not run on control plane nodes, usually indicated by a node selector for a `role` value other than `master`. The default is 'HighlyAvailable', which represents the behavior operators have in a "normal" cluster. The 'SingleReplica' mode will be used in single-node deployments and the operators should not configure the operand for highly-available operation NOTE: External topology mode is not applicable for this field.
-
getPlatform
public String getPlatform()
platform is the underlying infrastructure provider for the cluster.Deprecated: Use platformStatus.type instead.
-
setPlatform
public void setPlatform(String platform)
platform is the underlying infrastructure provider for the cluster.Deprecated: Use platformStatus.type instead.
-
getPlatformStatus
public PlatformStatus getPlatformStatus()
InfrastructureStatus describes the infrastructure the cluster is leveraging.
-
setPlatformStatus
public void setPlatformStatus(PlatformStatus platformStatus)
InfrastructureStatus describes the infrastructure the cluster is leveraging.
-
edit
public InfrastructureStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<InfrastructureStatusBuilder>
-
toBuilder
public InfrastructureStatusBuilder toBuilder()
-
-