Class IBMLoadBalancerParameters
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.IBMLoadBalancerParameters
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<IBMLoadBalancerParametersBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class IBMLoadBalancerParameters extends Object implements io.fabric8.kubernetes.api.builder.Editable<IBMLoadBalancerParametersBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
IBMLoadBalancerParameters provides configuration settings that are specific to IBM Cloud load balancers.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IBMLoadBalancerParameters()No args constructor for use in serializationIBMLoadBalancerParameters(String protocol)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IBMLoadBalancerParametersBuilderedit()Map<String,Object>getAdditionalProperties()StringgetProtocol()protocol specifies whether the load balancer uses PROXY protocol to forward connections to the IngressController.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetProtocol(String protocol)protocol specifies whether the load balancer uses PROXY protocol to forward connections to the IngressController.IBMLoadBalancerParametersBuildertoBuilder()
-
-
-
Constructor Detail
-
IBMLoadBalancerParameters
public IBMLoadBalancerParameters()
No args constructor for use in serialization
-
IBMLoadBalancerParameters
public IBMLoadBalancerParameters(String protocol)
-
-
Method Detail
-
getProtocol
public String getProtocol()
protocol specifies whether the load balancer uses PROXY protocol to forward connections to the IngressController. See "service.kubernetes.io/ibm-load-balancer-cloud-provider-enable-features: "proxy-protocol"" at https://cloud.ibm.com/docs/containers?topic=containers-vpc-lbaas"PROXY protocol can be used with load balancers that support it to communicate the source addresses of client connections when forwarding those connections to the IngressController. Using PROXY protocol enables the IngressController to report those source addresses instead of reporting the load balancer's address in HTTP headers and logs. Note that enabling PROXY protocol on the IngressController will cause connections to fail if you are not using a load balancer that uses PROXY protocol to forward connections to the IngressController. See http://www.haproxy.org/download/2.2/doc/proxy-protocol.txt for information about PROXY protocol.
Valid values for protocol are TCP, PROXY and omitted. When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time. The current default is TCP, without the proxy protocol enabled.
-
setProtocol
public void setProtocol(String protocol)
protocol specifies whether the load balancer uses PROXY protocol to forward connections to the IngressController. See "service.kubernetes.io/ibm-load-balancer-cloud-provider-enable-features: "proxy-protocol"" at https://cloud.ibm.com/docs/containers?topic=containers-vpc-lbaas"PROXY protocol can be used with load balancers that support it to communicate the source addresses of client connections when forwarding those connections to the IngressController. Using PROXY protocol enables the IngressController to report those source addresses instead of reporting the load balancer's address in HTTP headers and logs. Note that enabling PROXY protocol on the IngressController will cause connections to fail if you are not using a load balancer that uses PROXY protocol to forward connections to the IngressController. See http://www.haproxy.org/download/2.2/doc/proxy-protocol.txt for information about PROXY protocol.
Valid values for protocol are TCP, PROXY and omitted. When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time. The current default is TCP, without the proxy protocol enabled.
-
edit
public IBMLoadBalancerParametersBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<IBMLoadBalancerParametersBuilder>
-
toBuilder
public IBMLoadBalancerParametersBuilder toBuilder()
-
-