| Package | Description |
|---|---|
| io.envoyproxy.envoy.config.bootstrap.v3 | |
| io.envoyproxy.envoy.config.cluster.v3 |
| Modifier and Type | Method and Description |
|---|---|
Cluster.Builder |
Bootstrap.StaticResources.Builder.addClustersBuilder()
If a network based configuration source is specified for :ref:`cds_config
<envoy_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
to have some initial cluster definitions available to allow Envoy to know
how to speak to the management server.
|
Cluster.Builder |
Bootstrap.StaticResources.Builder.addClustersBuilder(int index)
If a network based configuration source is specified for :ref:`cds_config
<envoy_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
to have some initial cluster definitions available to allow Envoy to know
how to speak to the management server.
|
Cluster.Builder |
Bootstrap.StaticResources.Builder.getClustersBuilder(int index)
If a network based configuration source is specified for :ref:`cds_config
<envoy_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
to have some initial cluster definitions available to allow Envoy to know
how to speak to the management server.
|
| Modifier and Type | Method and Description |
|---|---|
List<Cluster.Builder> |
Bootstrap.StaticResources.Builder.getClustersBuilderList()
If a network based configuration source is specified for :ref:`cds_config
<envoy_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
to have some initial cluster definitions available to allow Envoy to know
how to speak to the management server.
|
| Modifier and Type | Method and Description |
|---|---|
Bootstrap.StaticResources.Builder |
Bootstrap.StaticResources.Builder.addClusters(Cluster.Builder builderForValue)
If a network based configuration source is specified for :ref:`cds_config
<envoy_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
to have some initial cluster definitions available to allow Envoy to know
how to speak to the management server.
|
Bootstrap.StaticResources.Builder |
Bootstrap.StaticResources.Builder.addClusters(int index,
Cluster.Builder builderForValue)
If a network based configuration source is specified for :ref:`cds_config
<envoy_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
to have some initial cluster definitions available to allow Envoy to know
how to speak to the management server.
|
Bootstrap.StaticResources.Builder |
Bootstrap.StaticResources.Builder.setClusters(int index,
Cluster.Builder builderForValue)
If a network based configuration source is specified for :ref:`cds_config
<envoy_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
to have some initial cluster definitions available to allow Envoy to know
how to speak to the management server.
|
| Modifier and Type | Method and Description |
|---|---|
Cluster.Builder |
Cluster.Builder.addAllDnsResolvers(Iterable<? extends Address> values)
If DNS resolvers are specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used to specify the cluster’s dns resolvers.
|
Cluster.Builder |
Cluster.Builder.addAllFilters(Iterable<? extends Filter> values)
An (optional) network filter chain, listed in the order the filters should be applied.
|
Cluster.Builder |
Cluster.Builder.addAllHealthChecks(Iterable<? extends HealthCheck> values)
Optional :ref:`active health checking <arch_overview_health_checking>`
configuration for the cluster.
|
Cluster.Builder |
Cluster.Builder.addAllTransportSocketMatches(Iterable<? extends Cluster.TransportSocketMatch> values)
Configuration to use different transport sockets for different endpoints.
|
Cluster.Builder |
Cluster.Builder.addDnsResolvers(Address.Builder builderForValue)
If DNS resolvers are specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used to specify the cluster’s dns resolvers.
|
Cluster.Builder |
Cluster.Builder.addDnsResolvers(Address value)
If DNS resolvers are specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used to specify the cluster’s dns resolvers.
|
Cluster.Builder |
Cluster.Builder.addDnsResolvers(int index,
Address.Builder builderForValue)
If DNS resolvers are specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used to specify the cluster’s dns resolvers.
|
Cluster.Builder |
Cluster.Builder.addDnsResolvers(int index,
Address value)
If DNS resolvers are specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used to specify the cluster’s dns resolvers.
|
Cluster.Builder |
Cluster.Builder.addFilters(Filter.Builder builderForValue)
An (optional) network filter chain, listed in the order the filters should be applied.
|
Cluster.Builder |
Cluster.Builder.addFilters(Filter value)
An (optional) network filter chain, listed in the order the filters should be applied.
|
Cluster.Builder |
Cluster.Builder.addFilters(int index,
Filter.Builder builderForValue)
An (optional) network filter chain, listed in the order the filters should be applied.
|
Cluster.Builder |
Cluster.Builder.addFilters(int index,
Filter value)
An (optional) network filter chain, listed in the order the filters should be applied.
|
Cluster.Builder |
Cluster.Builder.addHealthChecks(HealthCheck.Builder builderForValue)
Optional :ref:`active health checking <arch_overview_health_checking>`
configuration for the cluster.
|
Cluster.Builder |
Cluster.Builder.addHealthChecks(HealthCheck value)
Optional :ref:`active health checking <arch_overview_health_checking>`
configuration for the cluster.
|
Cluster.Builder |
Cluster.Builder.addHealthChecks(int index,
HealthCheck.Builder builderForValue)
Optional :ref:`active health checking <arch_overview_health_checking>`
configuration for the cluster.
|
Cluster.Builder |
Cluster.Builder.addHealthChecks(int index,
HealthCheck value)
Optional :ref:`active health checking <arch_overview_health_checking>`
configuration for the cluster.
|
Cluster.Builder |
Cluster.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Cluster.Builder |
Cluster.Builder.addTransportSocketMatches(Cluster.TransportSocketMatch.Builder builderForValue)
Configuration to use different transport sockets for different endpoints.
|
Cluster.Builder |
Cluster.Builder.addTransportSocketMatches(Cluster.TransportSocketMatch value)
Configuration to use different transport sockets for different endpoints.
|
Cluster.Builder |
Cluster.Builder.addTransportSocketMatches(int index,
Cluster.TransportSocketMatch.Builder builderForValue)
Configuration to use different transport sockets for different endpoints.
|
Cluster.Builder |
Cluster.Builder.addTransportSocketMatches(int index,
Cluster.TransportSocketMatch value)
Configuration to use different transport sockets for different endpoints.
|
Cluster.Builder |
Cluster.Builder.clear() |
Cluster.Builder |
Cluster.Builder.clearAltStatName()
An optional alternative to the cluster name to be used while emitting stats.
|
Cluster.Builder |
Cluster.Builder.clearCircuitBreakers()
Optional :ref:`circuit breaking <arch_overview_circuit_break>` for the cluster.
|
Cluster.Builder |
Cluster.Builder.clearCleanupInterval()
The interval for removing stale hosts from a cluster type
:ref:`ORIGINAL_DST<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.ORIGINAL_DST>`.
|
Cluster.Builder |
Cluster.Builder.clearCloseConnectionsOnHostHealthFailure()
If an upstream host becomes unhealthy (as determined by the configured health checks
or outlier detection), immediately close all connections to the failed host.
.. note::
This is currently only supported for connections created by tcp_proxy.
.. note::
The current implementation of this feature closes all connections immediately when
the unhealthy status is detected.
|
Cluster.Builder |
Cluster.Builder.clearClusterDiscoveryType() |
Cluster.Builder |
Cluster.Builder.clearClusterType()
The custom cluster type.
|
Cluster.Builder |
Cluster.Builder.clearCommonHttpProtocolOptions()
Deprecated.
|
Cluster.Builder |
Cluster.Builder.clearCommonLbConfig()
Common configuration for all load balancer implementations.
|
Cluster.Builder |
Cluster.Builder.clearConnectionPoolPerDownstreamConnection()
If `connection_pool_per_downstream_connection` is true, the cluster will use a separate
connection pool for every downstream connection
bool connection_pool_per_downstream_connection = 51; |
Cluster.Builder |
Cluster.Builder.clearConnectTimeout()
The timeout for new network connections to hosts in the cluster.
|
Cluster.Builder |
Cluster.Builder.clearDnsFailureRefreshRate()
If the DNS failure refresh rate is specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>`,
this is used as the cluster’s DNS refresh rate when requests are failing.
|
Cluster.Builder |
Cluster.Builder.clearDnsLookupFamily()
The DNS IP address resolution policy.
|
Cluster.Builder |
Cluster.Builder.clearDnsRefreshRate()
If the DNS refresh rate is specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used as the cluster’s DNS refresh
rate.
|
Cluster.Builder |
Cluster.Builder.clearDnsResolvers()
If DNS resolvers are specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used to specify the cluster’s dns resolvers.
|
Cluster.Builder |
Cluster.Builder.clearEdsClusterConfig()
Configuration to use for EDS updates for the Cluster.
|
Cluster.Builder |
Cluster.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Cluster.Builder |
Cluster.Builder.clearFilters()
An (optional) network filter chain, listed in the order the filters should be applied.
|
Cluster.Builder |
Cluster.Builder.clearHealthChecks()
Optional :ref:`active health checking <arch_overview_health_checking>`
configuration for the cluster.
|
Cluster.Builder |
Cluster.Builder.clearHttp2ProtocolOptions()
Deprecated.
|
Cluster.Builder |
Cluster.Builder.clearHttpProtocolOptions()
Deprecated.
|
Cluster.Builder |
Cluster.Builder.clearIgnoreHealthOnHostRemoval()
If set to true, Envoy will ignore the health value of a host when processing its removal
from service discovery.
|
Cluster.Builder |
Cluster.Builder.clearLbConfig() |
Cluster.Builder |
Cluster.Builder.clearLbPolicy()
The :ref:`load balancer type <arch_overview_load_balancing_types>` to use
when picking a host in the cluster.
|
Cluster.Builder |
Cluster.Builder.clearLbSubsetConfig()
Configuration for load balancing subsetting.
|
Cluster.Builder |
Cluster.Builder.clearLeastRequestLbConfig()
Optional configuration for the LeastRequest load balancing policy.
|
Cluster.Builder |
Cluster.Builder.clearLoadAssignment()
Setting this is required for specifying members of
:ref:`STATIC<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STATIC>`,
:ref:`STRICT_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`
or :ref:`LOGICAL_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>` clusters.
|
Cluster.Builder |
Cluster.Builder.clearLoadBalancingPolicy()
[#not-implemented-hide:] New mechanism for LB policy configuration.
|
Cluster.Builder |
Cluster.Builder.clearLrsServer()
[#not-implemented-hide:]
If present, tells the client where to send load reports via LRS.
|
Cluster.Builder |
Cluster.Builder.clearMaglevLbConfig()
Optional configuration for the Maglev load balancing policy.
|
Cluster.Builder |
Cluster.Builder.clearMaxRequestsPerConnection()
Optional maximum requests for a single upstream connection.
|
Cluster.Builder |
Cluster.Builder.clearMetadata()
The Metadata field can be used to provide additional information about the
cluster.
|
Cluster.Builder |
Cluster.Builder.clearName()
Supplies the name of the cluster which must be unique across all clusters.
|
Cluster.Builder |
Cluster.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Cluster.Builder |
Cluster.Builder.clearOriginalDstLbConfig()
Optional configuration for the Original Destination load balancing policy.
|
Cluster.Builder |
Cluster.Builder.clearOutlierDetection()
If specified, outlier detection will be enabled for this upstream cluster.
|
Cluster.Builder |
Cluster.Builder.clearPerConnectionBufferLimitBytes()
Soft limit on size of the cluster’s connections read and write buffers.
|
Cluster.Builder |
Cluster.Builder.clearPreconnectPolicy()
[#not-implemented-hide:]
Preconnect configuration for this cluster.
|
Cluster.Builder |
Cluster.Builder.clearProtocolSelection()
Deprecated.
|
Cluster.Builder |
Cluster.Builder.clearRespectDnsTtl()
Optional configuration for setting cluster's DNS refresh rate.
|
Cluster.Builder |
Cluster.Builder.clearRingHashLbConfig()
Optional configuration for the Ring Hash load balancing policy.
|
Cluster.Builder |
Cluster.Builder.clearTrackClusterStats()
Configuration to track optional cluster stats.
|
Cluster.Builder |
Cluster.Builder.clearTrackTimeoutBudgets()
Deprecated.
|
Cluster.Builder |
Cluster.Builder.clearTransportSocket()
Optional custom transport socket implementation to use for upstream connections.
|
Cluster.Builder |
Cluster.Builder.clearTransportSocketMatches()
Configuration to use different transport sockets for different endpoints.
|
Cluster.Builder |
Cluster.Builder.clearType()
The :ref:`service discovery type <arch_overview_service_discovery_types>`
to use for resolving the cluster.
|
Cluster.Builder |
Cluster.Builder.clearTypedExtensionProtocolOptions() |
Cluster.Builder |
Cluster.Builder.clearUpstreamBindConfig()
Optional configuration used to bind newly established upstream connections.
|
Cluster.Builder |
Cluster.Builder.clearUpstreamConfig()
Optional customization and configuration of upstream connection pool, and upstream type.
|
Cluster.Builder |
Cluster.Builder.clearUpstreamConnectionOptions()
Optional options for upstream connections.
|
Cluster.Builder |
Cluster.Builder.clearUpstreamHttpProtocolOptions()
Deprecated.
|
Cluster.Builder |
Cluster.Builder.clearUseTcpForDnsLookups()
[#next-major-version: Reconcile DNS options in a single message.]
|
Cluster.Builder |
Cluster.Builder.clone() |
Cluster.Builder |
Cluster.Builder.mergeCircuitBreakers(CircuitBreakers value)
Optional :ref:`circuit breaking <arch_overview_circuit_break>` for the cluster.
|
Cluster.Builder |
Cluster.Builder.mergeCleanupInterval(com.google.protobuf.Duration value)
The interval for removing stale hosts from a cluster type
:ref:`ORIGINAL_DST<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.ORIGINAL_DST>`.
|
Cluster.Builder |
Cluster.Builder.mergeClusterType(Cluster.CustomClusterType value)
The custom cluster type.
|
Cluster.Builder |
Cluster.Builder.mergeCommonHttpProtocolOptions(HttpProtocolOptions value)
Deprecated.
|
Cluster.Builder |
Cluster.Builder.mergeCommonLbConfig(Cluster.CommonLbConfig value)
Common configuration for all load balancer implementations.
|
Cluster.Builder |
Cluster.Builder.mergeConnectTimeout(com.google.protobuf.Duration value)
The timeout for new network connections to hosts in the cluster.
|
Cluster.Builder |
Cluster.Builder.mergeDnsFailureRefreshRate(Cluster.RefreshRate value)
If the DNS failure refresh rate is specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>`,
this is used as the cluster’s DNS refresh rate when requests are failing.
|
Cluster.Builder |
Cluster.Builder.mergeDnsRefreshRate(com.google.protobuf.Duration value)
If the DNS refresh rate is specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used as the cluster’s DNS refresh
rate.
|
Cluster.Builder |
Cluster.Builder.mergeEdsClusterConfig(Cluster.EdsClusterConfig value)
Configuration to use for EDS updates for the Cluster.
|
Cluster.Builder |
Cluster.Builder.mergeFrom(Cluster other) |
Cluster.Builder |
Cluster.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Cluster.Builder |
Cluster.Builder.mergeFrom(com.google.protobuf.Message other) |
Cluster.Builder |
Cluster.Builder.mergeHttp2ProtocolOptions(Http2ProtocolOptions value)
Deprecated.
|
Cluster.Builder |
Cluster.Builder.mergeHttpProtocolOptions(Http1ProtocolOptions value)
Deprecated.
|
Cluster.Builder |
Cluster.Builder.mergeLbSubsetConfig(Cluster.LbSubsetConfig value)
Configuration for load balancing subsetting.
|
Cluster.Builder |
Cluster.Builder.mergeLeastRequestLbConfig(Cluster.LeastRequestLbConfig value)
Optional configuration for the LeastRequest load balancing policy.
|
Cluster.Builder |
Cluster.Builder.mergeLoadAssignment(ClusterLoadAssignment value)
Setting this is required for specifying members of
:ref:`STATIC<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STATIC>`,
:ref:`STRICT_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`
or :ref:`LOGICAL_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>` clusters.
|
Cluster.Builder |
Cluster.Builder.mergeLoadBalancingPolicy(LoadBalancingPolicy value)
[#not-implemented-hide:] New mechanism for LB policy configuration.
|
Cluster.Builder |
Cluster.Builder.mergeLrsServer(ConfigSource value)
[#not-implemented-hide:]
If present, tells the client where to send load reports via LRS.
|
Cluster.Builder |
Cluster.Builder.mergeMaglevLbConfig(Cluster.MaglevLbConfig value)
Optional configuration for the Maglev load balancing policy.
|
Cluster.Builder |
Cluster.Builder.mergeMaxRequestsPerConnection(com.google.protobuf.UInt32Value value)
Optional maximum requests for a single upstream connection.
|
Cluster.Builder |
Cluster.Builder.mergeMetadata(Metadata value)
The Metadata field can be used to provide additional information about the
cluster.
|
Cluster.Builder |
Cluster.Builder.mergeOriginalDstLbConfig(Cluster.OriginalDstLbConfig value)
Optional configuration for the Original Destination load balancing policy.
|
Cluster.Builder |
Cluster.Builder.mergeOutlierDetection(OutlierDetection value)
If specified, outlier detection will be enabled for this upstream cluster.
|
Cluster.Builder |
Cluster.Builder.mergePerConnectionBufferLimitBytes(com.google.protobuf.UInt32Value value)
Soft limit on size of the cluster’s connections read and write buffers.
|
Cluster.Builder |
Cluster.Builder.mergePreconnectPolicy(Cluster.PreconnectPolicy value)
[#not-implemented-hide:]
Preconnect configuration for this cluster.
|
Cluster.Builder |
Cluster.Builder.mergeRingHashLbConfig(Cluster.RingHashLbConfig value)
Optional configuration for the Ring Hash load balancing policy.
|
Cluster.Builder |
Cluster.Builder.mergeTrackClusterStats(TrackClusterStats value)
Configuration to track optional cluster stats.
|
Cluster.Builder |
Cluster.Builder.mergeTransportSocket(TransportSocket value)
Optional custom transport socket implementation to use for upstream connections.
|
Cluster.Builder |
Cluster.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Cluster.Builder |
Cluster.Builder.mergeUpstreamBindConfig(BindConfig value)
Optional configuration used to bind newly established upstream connections.
|
Cluster.Builder |
Cluster.Builder.mergeUpstreamConfig(TypedExtensionConfig value)
Optional customization and configuration of upstream connection pool, and upstream type.
|
Cluster.Builder |
Cluster.Builder.mergeUpstreamConnectionOptions(UpstreamConnectionOptions value)
Optional options for upstream connections.
|
Cluster.Builder |
Cluster.Builder.mergeUpstreamHttpProtocolOptions(UpstreamHttpProtocolOptions value)
Deprecated.
|
static Cluster.Builder |
Cluster.newBuilder() |
static Cluster.Builder |
Cluster.newBuilder(Cluster prototype) |
Cluster.Builder |
Cluster.newBuilderForType() |
protected Cluster.Builder |
Cluster.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
Cluster.Builder |
Cluster.Builder.putAllTypedExtensionProtocolOptions(Map<String,com.google.protobuf.Any> values)
The extension_protocol_options field is used to provide extension-specific protocol options
for upstream connections.
|
Cluster.Builder |
Cluster.Builder.putTypedExtensionProtocolOptions(String key,
com.google.protobuf.Any value)
The extension_protocol_options field is used to provide extension-specific protocol options
for upstream connections.
|
Cluster.Builder |
Cluster.Builder.removeDnsResolvers(int index)
If DNS resolvers are specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used to specify the cluster’s dns resolvers.
|
Cluster.Builder |
Cluster.Builder.removeFilters(int index)
An (optional) network filter chain, listed in the order the filters should be applied.
|
Cluster.Builder |
Cluster.Builder.removeHealthChecks(int index)
Optional :ref:`active health checking <arch_overview_health_checking>`
configuration for the cluster.
|
Cluster.Builder |
Cluster.Builder.removeTransportSocketMatches(int index)
Configuration to use different transport sockets for different endpoints.
|
Cluster.Builder |
Cluster.Builder.removeTypedExtensionProtocolOptions(String key)
The extension_protocol_options field is used to provide extension-specific protocol options
for upstream connections.
|
Cluster.Builder |
Cluster.Builder.setAltStatName(String value)
An optional alternative to the cluster name to be used while emitting stats.
|
Cluster.Builder |
Cluster.Builder.setAltStatNameBytes(com.google.protobuf.ByteString value)
An optional alternative to the cluster name to be used while emitting stats.
|
Cluster.Builder |
Cluster.Builder.setCircuitBreakers(CircuitBreakers.Builder builderForValue)
Optional :ref:`circuit breaking <arch_overview_circuit_break>` for the cluster.
|
Cluster.Builder |
Cluster.Builder.setCircuitBreakers(CircuitBreakers value)
Optional :ref:`circuit breaking <arch_overview_circuit_break>` for the cluster.
|
Cluster.Builder |
Cluster.Builder.setCleanupInterval(com.google.protobuf.Duration.Builder builderForValue)
The interval for removing stale hosts from a cluster type
:ref:`ORIGINAL_DST<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.ORIGINAL_DST>`.
|
Cluster.Builder |
Cluster.Builder.setCleanupInterval(com.google.protobuf.Duration value)
The interval for removing stale hosts from a cluster type
:ref:`ORIGINAL_DST<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.ORIGINAL_DST>`.
|
Cluster.Builder |
Cluster.Builder.setCloseConnectionsOnHostHealthFailure(boolean value)
If an upstream host becomes unhealthy (as determined by the configured health checks
or outlier detection), immediately close all connections to the failed host.
.. note::
This is currently only supported for connections created by tcp_proxy.
.. note::
The current implementation of this feature closes all connections immediately when
the unhealthy status is detected.
|
Cluster.Builder |
Cluster.Builder.setClusterType(Cluster.CustomClusterType.Builder builderForValue)
The custom cluster type.
|
Cluster.Builder |
Cluster.Builder.setClusterType(Cluster.CustomClusterType value)
The custom cluster type.
|
Cluster.Builder |
Cluster.Builder.setCommonHttpProtocolOptions(HttpProtocolOptions.Builder builderForValue)
Deprecated.
|
Cluster.Builder |
Cluster.Builder.setCommonHttpProtocolOptions(HttpProtocolOptions value)
Deprecated.
|
Cluster.Builder |
Cluster.Builder.setCommonLbConfig(Cluster.CommonLbConfig.Builder builderForValue)
Common configuration for all load balancer implementations.
|
Cluster.Builder |
Cluster.Builder.setCommonLbConfig(Cluster.CommonLbConfig value)
Common configuration for all load balancer implementations.
|
Cluster.Builder |
Cluster.Builder.setConnectionPoolPerDownstreamConnection(boolean value)
If `connection_pool_per_downstream_connection` is true, the cluster will use a separate
connection pool for every downstream connection
bool connection_pool_per_downstream_connection = 51; |
Cluster.Builder |
Cluster.Builder.setConnectTimeout(com.google.protobuf.Duration.Builder builderForValue)
The timeout for new network connections to hosts in the cluster.
|
Cluster.Builder |
Cluster.Builder.setConnectTimeout(com.google.protobuf.Duration value)
The timeout for new network connections to hosts in the cluster.
|
Cluster.Builder |
Cluster.Builder.setDnsFailureRefreshRate(Cluster.RefreshRate.Builder builderForValue)
If the DNS failure refresh rate is specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>`,
this is used as the cluster’s DNS refresh rate when requests are failing.
|
Cluster.Builder |
Cluster.Builder.setDnsFailureRefreshRate(Cluster.RefreshRate value)
If the DNS failure refresh rate is specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>`,
this is used as the cluster’s DNS refresh rate when requests are failing.
|
Cluster.Builder |
Cluster.Builder.setDnsLookupFamily(Cluster.DnsLookupFamily value)
The DNS IP address resolution policy.
|
Cluster.Builder |
Cluster.Builder.setDnsLookupFamilyValue(int value)
The DNS IP address resolution policy.
|
Cluster.Builder |
Cluster.Builder.setDnsRefreshRate(com.google.protobuf.Duration.Builder builderForValue)
If the DNS refresh rate is specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used as the cluster’s DNS refresh
rate.
|
Cluster.Builder |
Cluster.Builder.setDnsRefreshRate(com.google.protobuf.Duration value)
If the DNS refresh rate is specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used as the cluster’s DNS refresh
rate.
|
Cluster.Builder |
Cluster.Builder.setDnsResolvers(int index,
Address.Builder builderForValue)
If DNS resolvers are specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used to specify the cluster’s dns resolvers.
|
Cluster.Builder |
Cluster.Builder.setDnsResolvers(int index,
Address value)
If DNS resolvers are specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used to specify the cluster’s dns resolvers.
|
Cluster.Builder |
Cluster.Builder.setEdsClusterConfig(Cluster.EdsClusterConfig.Builder builderForValue)
Configuration to use for EDS updates for the Cluster.
|
Cluster.Builder |
Cluster.Builder.setEdsClusterConfig(Cluster.EdsClusterConfig value)
Configuration to use for EDS updates for the Cluster.
|
Cluster.Builder |
Cluster.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Cluster.Builder |
Cluster.Builder.setFilters(int index,
Filter.Builder builderForValue)
An (optional) network filter chain, listed in the order the filters should be applied.
|
Cluster.Builder |
Cluster.Builder.setFilters(int index,
Filter value)
An (optional) network filter chain, listed in the order the filters should be applied.
|
Cluster.Builder |
Cluster.Builder.setHealthChecks(int index,
HealthCheck.Builder builderForValue)
Optional :ref:`active health checking <arch_overview_health_checking>`
configuration for the cluster.
|
Cluster.Builder |
Cluster.Builder.setHealthChecks(int index,
HealthCheck value)
Optional :ref:`active health checking <arch_overview_health_checking>`
configuration for the cluster.
|
Cluster.Builder |
Cluster.Builder.setHttp2ProtocolOptions(Http2ProtocolOptions.Builder builderForValue)
Deprecated.
|
Cluster.Builder |
Cluster.Builder.setHttp2ProtocolOptions(Http2ProtocolOptions value)
Deprecated.
|
Cluster.Builder |
Cluster.Builder.setHttpProtocolOptions(Http1ProtocolOptions.Builder builderForValue)
Deprecated.
|
Cluster.Builder |
Cluster.Builder.setHttpProtocolOptions(Http1ProtocolOptions value)
Deprecated.
|
Cluster.Builder |
Cluster.Builder.setIgnoreHealthOnHostRemoval(boolean value)
If set to true, Envoy will ignore the health value of a host when processing its removal
from service discovery.
|
Cluster.Builder |
Cluster.Builder.setLbPolicy(Cluster.LbPolicy value)
The :ref:`load balancer type <arch_overview_load_balancing_types>` to use
when picking a host in the cluster.
|
Cluster.Builder |
Cluster.Builder.setLbPolicyValue(int value)
The :ref:`load balancer type <arch_overview_load_balancing_types>` to use
when picking a host in the cluster.
|
Cluster.Builder |
Cluster.Builder.setLbSubsetConfig(Cluster.LbSubsetConfig.Builder builderForValue)
Configuration for load balancing subsetting.
|
Cluster.Builder |
Cluster.Builder.setLbSubsetConfig(Cluster.LbSubsetConfig value)
Configuration for load balancing subsetting.
|
Cluster.Builder |
Cluster.Builder.setLeastRequestLbConfig(Cluster.LeastRequestLbConfig.Builder builderForValue)
Optional configuration for the LeastRequest load balancing policy.
|
Cluster.Builder |
Cluster.Builder.setLeastRequestLbConfig(Cluster.LeastRequestLbConfig value)
Optional configuration for the LeastRequest load balancing policy.
|
Cluster.Builder |
Cluster.Builder.setLoadAssignment(ClusterLoadAssignment.Builder builderForValue)
Setting this is required for specifying members of
:ref:`STATIC<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STATIC>`,
:ref:`STRICT_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`
or :ref:`LOGICAL_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>` clusters.
|
Cluster.Builder |
Cluster.Builder.setLoadAssignment(ClusterLoadAssignment value)
Setting this is required for specifying members of
:ref:`STATIC<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STATIC>`,
:ref:`STRICT_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`
or :ref:`LOGICAL_DNS<envoy_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>` clusters.
|
Cluster.Builder |
Cluster.Builder.setLoadBalancingPolicy(LoadBalancingPolicy.Builder builderForValue)
[#not-implemented-hide:] New mechanism for LB policy configuration.
|
Cluster.Builder |
Cluster.Builder.setLoadBalancingPolicy(LoadBalancingPolicy value)
[#not-implemented-hide:] New mechanism for LB policy configuration.
|
Cluster.Builder |
Cluster.Builder.setLrsServer(ConfigSource.Builder builderForValue)
[#not-implemented-hide:]
If present, tells the client where to send load reports via LRS.
|
Cluster.Builder |
Cluster.Builder.setLrsServer(ConfigSource value)
[#not-implemented-hide:]
If present, tells the client where to send load reports via LRS.
|
Cluster.Builder |
Cluster.Builder.setMaglevLbConfig(Cluster.MaglevLbConfig.Builder builderForValue)
Optional configuration for the Maglev load balancing policy.
|
Cluster.Builder |
Cluster.Builder.setMaglevLbConfig(Cluster.MaglevLbConfig value)
Optional configuration for the Maglev load balancing policy.
|
Cluster.Builder |
Cluster.Builder.setMaxRequestsPerConnection(com.google.protobuf.UInt32Value.Builder builderForValue)
Optional maximum requests for a single upstream connection.
|
Cluster.Builder |
Cluster.Builder.setMaxRequestsPerConnection(com.google.protobuf.UInt32Value value)
Optional maximum requests for a single upstream connection.
|
Cluster.Builder |
Cluster.Builder.setMetadata(Metadata.Builder builderForValue)
The Metadata field can be used to provide additional information about the
cluster.
|
Cluster.Builder |
Cluster.Builder.setMetadata(Metadata value)
The Metadata field can be used to provide additional information about the
cluster.
|
Cluster.Builder |
Cluster.Builder.setName(String value)
Supplies the name of the cluster which must be unique across all clusters.
|
Cluster.Builder |
Cluster.Builder.setNameBytes(com.google.protobuf.ByteString value)
Supplies the name of the cluster which must be unique across all clusters.
|
Cluster.Builder |
Cluster.Builder.setOriginalDstLbConfig(Cluster.OriginalDstLbConfig.Builder builderForValue)
Optional configuration for the Original Destination load balancing policy.
|
Cluster.Builder |
Cluster.Builder.setOriginalDstLbConfig(Cluster.OriginalDstLbConfig value)
Optional configuration for the Original Destination load balancing policy.
|
Cluster.Builder |
Cluster.Builder.setOutlierDetection(OutlierDetection.Builder builderForValue)
If specified, outlier detection will be enabled for this upstream cluster.
|
Cluster.Builder |
Cluster.Builder.setOutlierDetection(OutlierDetection value)
If specified, outlier detection will be enabled for this upstream cluster.
|
Cluster.Builder |
Cluster.Builder.setPerConnectionBufferLimitBytes(com.google.protobuf.UInt32Value.Builder builderForValue)
Soft limit on size of the cluster’s connections read and write buffers.
|
Cluster.Builder |
Cluster.Builder.setPerConnectionBufferLimitBytes(com.google.protobuf.UInt32Value value)
Soft limit on size of the cluster’s connections read and write buffers.
|
Cluster.Builder |
Cluster.Builder.setPreconnectPolicy(Cluster.PreconnectPolicy.Builder builderForValue)
[#not-implemented-hide:]
Preconnect configuration for this cluster.
|
Cluster.Builder |
Cluster.Builder.setPreconnectPolicy(Cluster.PreconnectPolicy value)
[#not-implemented-hide:]
Preconnect configuration for this cluster.
|
Cluster.Builder |
Cluster.Builder.setProtocolSelection(Cluster.ClusterProtocolSelection value)
Deprecated.
|
Cluster.Builder |
Cluster.Builder.setProtocolSelectionValue(int value)
Deprecated.
|
Cluster.Builder |
Cluster.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Cluster.Builder |
Cluster.Builder.setRespectDnsTtl(boolean value)
Optional configuration for setting cluster's DNS refresh rate.
|
Cluster.Builder |
Cluster.Builder.setRingHashLbConfig(Cluster.RingHashLbConfig.Builder builderForValue)
Optional configuration for the Ring Hash load balancing policy.
|
Cluster.Builder |
Cluster.Builder.setRingHashLbConfig(Cluster.RingHashLbConfig value)
Optional configuration for the Ring Hash load balancing policy.
|
Cluster.Builder |
Cluster.Builder.setTrackClusterStats(TrackClusterStats.Builder builderForValue)
Configuration to track optional cluster stats.
|
Cluster.Builder |
Cluster.Builder.setTrackClusterStats(TrackClusterStats value)
Configuration to track optional cluster stats.
|
Cluster.Builder |
Cluster.Builder.setTrackTimeoutBudgets(boolean value)
Deprecated.
|
Cluster.Builder |
Cluster.Builder.setTransportSocket(TransportSocket.Builder builderForValue)
Optional custom transport socket implementation to use for upstream connections.
|
Cluster.Builder |
Cluster.Builder.setTransportSocket(TransportSocket value)
Optional custom transport socket implementation to use for upstream connections.
|
Cluster.Builder |
Cluster.Builder.setTransportSocketMatches(int index,
Cluster.TransportSocketMatch.Builder builderForValue)
Configuration to use different transport sockets for different endpoints.
|
Cluster.Builder |
Cluster.Builder.setTransportSocketMatches(int index,
Cluster.TransportSocketMatch value)
Configuration to use different transport sockets for different endpoints.
|
Cluster.Builder |
Cluster.Builder.setType(Cluster.DiscoveryType value)
The :ref:`service discovery type <arch_overview_service_discovery_types>`
to use for resolving the cluster.
|
Cluster.Builder |
Cluster.Builder.setTypeValue(int value)
The :ref:`service discovery type <arch_overview_service_discovery_types>`
to use for resolving the cluster.
|
Cluster.Builder |
Cluster.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Cluster.Builder |
Cluster.Builder.setUpstreamBindConfig(BindConfig.Builder builderForValue)
Optional configuration used to bind newly established upstream connections.
|
Cluster.Builder |
Cluster.Builder.setUpstreamBindConfig(BindConfig value)
Optional configuration used to bind newly established upstream connections.
|
Cluster.Builder |
Cluster.Builder.setUpstreamConfig(TypedExtensionConfig.Builder builderForValue)
Optional customization and configuration of upstream connection pool, and upstream type.
|
Cluster.Builder |
Cluster.Builder.setUpstreamConfig(TypedExtensionConfig value)
Optional customization and configuration of upstream connection pool, and upstream type.
|
Cluster.Builder |
Cluster.Builder.setUpstreamConnectionOptions(UpstreamConnectionOptions.Builder builderForValue)
Optional options for upstream connections.
|
Cluster.Builder |
Cluster.Builder.setUpstreamConnectionOptions(UpstreamConnectionOptions value)
Optional options for upstream connections.
|
Cluster.Builder |
Cluster.Builder.setUpstreamHttpProtocolOptions(UpstreamHttpProtocolOptions.Builder builderForValue)
Deprecated.
|
Cluster.Builder |
Cluster.Builder.setUpstreamHttpProtocolOptions(UpstreamHttpProtocolOptions value)
Deprecated.
|
Cluster.Builder |
Cluster.Builder.setUseTcpForDnsLookups(boolean value)
[#next-major-version: Reconcile DNS options in a single message.]
|
Cluster.Builder |
Cluster.toBuilder() |
Copyright © 2018–2021 The Envoy Project. All rights reserved.