Class CloudLoadBalancerConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.CloudLoadBalancerConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<CloudLoadBalancerConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class CloudLoadBalancerConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<CloudLoadBalancerConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
CloudLoadBalancerConfig contains an union discriminator indicating the type of DNS solution in use within the cluster. When the DNSType is `ClusterHosted`, the cloud's Load Balancer configuration needs to be provided so that the DNS solution hosted within the cluster can be configured with those values.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CloudLoadBalancerConfig()No args constructor for use in serializationCloudLoadBalancerConfig(CloudLoadBalancerIPs clusterHosted, String dnsType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudLoadBalancerConfigBuilderedit()Map<String,Object>getAdditionalProperties()CloudLoadBalancerIPsgetClusterHosted()CloudLoadBalancerConfig contains an union discriminator indicating the type of DNS solution in use within the cluster.StringgetDnsType()dnsType indicates the type of DNS solution in use within the cluster.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetClusterHosted(CloudLoadBalancerIPs clusterHosted)CloudLoadBalancerConfig contains an union discriminator indicating the type of DNS solution in use within the cluster.voidsetDnsType(String dnsType)dnsType indicates the type of DNS solution in use within the cluster.CloudLoadBalancerConfigBuildertoBuilder()
-
-
-
Constructor Detail
-
CloudLoadBalancerConfig
public CloudLoadBalancerConfig()
No args constructor for use in serialization
-
CloudLoadBalancerConfig
public CloudLoadBalancerConfig(CloudLoadBalancerIPs clusterHosted, String dnsType)
-
-
Method Detail
-
getClusterHosted
public CloudLoadBalancerIPs getClusterHosted()
CloudLoadBalancerConfig contains an union discriminator indicating the type of DNS solution in use within the cluster. When the DNSType is `ClusterHosted`, the cloud's Load Balancer configuration needs to be provided so that the DNS solution hosted within the cluster can be configured with those values.
-
setClusterHosted
public void setClusterHosted(CloudLoadBalancerIPs clusterHosted)
CloudLoadBalancerConfig contains an union discriminator indicating the type of DNS solution in use within the cluster. When the DNSType is `ClusterHosted`, the cloud's Load Balancer configuration needs to be provided so that the DNS solution hosted within the cluster can be configured with those values.
-
getDnsType
public String getDnsType()
dnsType indicates the type of DNS solution in use within the cluster. Its default value of `PlatformDefault` indicates that the cluster's DNS is the default provided by the cloud platform. It can be set to `ClusterHosted` to bypass the configuration of the cloud default DNS. In this mode, the cluster needs to provide a self-hosted DNS solution for the cluster's installation to succeed. The cluster's use of the cloud's Load Balancers is unaffected by this setting. The value is immutable after it has been set at install time. Currently, there is no way for the customer to add additional DNS entries into the cluster hosted DNS. Enabling this functionality allows the user to start their own DNS solution outside the cluster after installation is complete. The customer would be responsible for configuring this custom DNS solution, and it can be run in addition to the in-cluster DNS solution.
-
setDnsType
public void setDnsType(String dnsType)
dnsType indicates the type of DNS solution in use within the cluster. Its default value of `PlatformDefault` indicates that the cluster's DNS is the default provided by the cloud platform. It can be set to `ClusterHosted` to bypass the configuration of the cloud default DNS. In this mode, the cluster needs to provide a self-hosted DNS solution for the cluster's installation to succeed. The cluster's use of the cloud's Load Balancers is unaffected by this setting. The value is immutable after it has been set at install time. Currently, there is no way for the customer to add additional DNS entries into the cluster hosted DNS. Enabling this functionality allows the user to start their own DNS solution outside the cluster after installation is complete. The customer would be responsible for configuring this custom DNS solution, and it can be run in addition to the in-cluster DNS solution.
-
edit
public CloudLoadBalancerConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<CloudLoadBalancerConfigBuilder>
-
toBuilder
public CloudLoadBalancerConfigBuilder toBuilder()
-
-