Interface Cluster.CommonLbConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Cluster.CommonLbConfig
,Cluster.CommonLbConfig.Builder
- Enclosing class:
- Cluster
public static interface Cluster.CommonLbConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getCloseConnectionsOnHostSetChange()
If set to ``true``, the cluster manager will drain all existing connections to upstream hosts whenever hosts are added or removed from the cluster.Cluster.CommonLbConfig.ConsistentHashingLbConfig
getConsistentHashingLbConfig()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)Cluster.CommonLbConfig.ConsistentHashingLbConfigOrBuilder
getConsistentHashingLbConfigOrBuilder()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)Percent
getHealthyPanicThreshold()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.PercentOrBuilder
getHealthyPanicThresholdOrBuilder()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.boolean
getIgnoreNewHostsUntilFirstHc()
If set to true, Envoy will :ref:`exclude <arch_overview_load_balancing_excluded>` new hosts when computing load balancing weights until they have been health checked for the first time.Cluster.CommonLbConfig.LocalityConfigSpecifierCase
getLocalityConfigSpecifierCase()
Cluster.CommonLbConfig.LocalityWeightedLbConfig
getLocalityWeightedLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
Cluster.CommonLbConfig.LocalityWeightedLbConfigOrBuilder
getLocalityWeightedLbConfigOrBuilder()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
HealthStatusSet
getOverrideHostStatus()
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision.HealthStatusSetOrBuilder
getOverrideHostStatusOrBuilder()
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision.com.google.protobuf.Duration
getUpdateMergeWindow()
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires.com.google.protobuf.DurationOrBuilder
getUpdateMergeWindowOrBuilder()
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires.Cluster.CommonLbConfig.ZoneAwareLbConfig
getZoneAwareLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilder
getZoneAwareLbConfigOrBuilder()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
boolean
hasConsistentHashingLbConfig()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)boolean
hasHealthyPanicThreshold()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.boolean
hasLocalityWeightedLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
boolean
hasOverrideHostStatus()
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision.boolean
hasUpdateMergeWindow()
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires.boolean
hasZoneAwareLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasHealthyPanicThreshold
boolean hasHealthyPanicThreshold()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`. If not specified, the default is 50%. To disable panic mode, set to 0%. .. note:: The specified percent will be truncated to the nearest 1%.
.envoy.type.v3.Percent healthy_panic_threshold = 1;
- Returns:
- Whether the healthyPanicThreshold field is set.
-
getHealthyPanicThreshold
Percent getHealthyPanicThreshold()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`. If not specified, the default is 50%. To disable panic mode, set to 0%. .. note:: The specified percent will be truncated to the nearest 1%.
.envoy.type.v3.Percent healthy_panic_threshold = 1;
- Returns:
- The healthyPanicThreshold.
-
getHealthyPanicThresholdOrBuilder
PercentOrBuilder getHealthyPanicThresholdOrBuilder()
Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`. If not specified, the default is 50%. To disable panic mode, set to 0%. .. note:: The specified percent will be truncated to the nearest 1%.
.envoy.type.v3.Percent healthy_panic_threshold = 1;
-
hasZoneAwareLbConfig
boolean hasZoneAwareLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
- Returns:
- Whether the zoneAwareLbConfig field is set.
-
getZoneAwareLbConfig
Cluster.CommonLbConfig.ZoneAwareLbConfig getZoneAwareLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
- Returns:
- The zoneAwareLbConfig.
-
getZoneAwareLbConfigOrBuilder
Cluster.CommonLbConfig.ZoneAwareLbConfigOrBuilder getZoneAwareLbConfigOrBuilder()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ZoneAwareLbConfig zone_aware_lb_config = 2;
-
hasLocalityWeightedLbConfig
boolean hasLocalityWeightedLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
- Returns:
- Whether the localityWeightedLbConfig field is set.
-
getLocalityWeightedLbConfig
Cluster.CommonLbConfig.LocalityWeightedLbConfig getLocalityWeightedLbConfig()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
- Returns:
- The localityWeightedLbConfig.
-
getLocalityWeightedLbConfigOrBuilder
Cluster.CommonLbConfig.LocalityWeightedLbConfigOrBuilder getLocalityWeightedLbConfigOrBuilder()
.envoy.config.cluster.v3.Cluster.CommonLbConfig.LocalityWeightedLbConfig locality_weighted_lb_config = 3;
-
hasUpdateMergeWindow
boolean hasUpdateMergeWindow()
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires. The start of the duration is when the first update happens. This is useful for big clusters, with potentially noisy deploys that might trigger excessive CPU usage due to a constant stream of healthcheck state changes or metadata updates. The first set of updates to be seen apply immediately (e.g.: a new cluster). Please always keep in mind that the use of sandbox technologies may change this behavior. If this is not set, we default to a merge window of 1000ms. To disable it, set the merge window to 0. Note: merging does not apply to cluster membership changes (e.g.: adds/removes); this is because merging those updates isn't currently safe. See https://github.com/envoyproxy/envoy/pull/3941.
.google.protobuf.Duration update_merge_window = 4;
- Returns:
- Whether the updateMergeWindow field is set.
-
getUpdateMergeWindow
com.google.protobuf.Duration getUpdateMergeWindow()
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires. The start of the duration is when the first update happens. This is useful for big clusters, with potentially noisy deploys that might trigger excessive CPU usage due to a constant stream of healthcheck state changes or metadata updates. The first set of updates to be seen apply immediately (e.g.: a new cluster). Please always keep in mind that the use of sandbox technologies may change this behavior. If this is not set, we default to a merge window of 1000ms. To disable it, set the merge window to 0. Note: merging does not apply to cluster membership changes (e.g.: adds/removes); this is because merging those updates isn't currently safe. See https://github.com/envoyproxy/envoy/pull/3941.
.google.protobuf.Duration update_merge_window = 4;
- Returns:
- The updateMergeWindow.
-
getUpdateMergeWindowOrBuilder
com.google.protobuf.DurationOrBuilder getUpdateMergeWindowOrBuilder()
If set, all health check/weight/metadata updates that happen within this duration will be merged and delivered in one shot when the duration expires. The start of the duration is when the first update happens. This is useful for big clusters, with potentially noisy deploys that might trigger excessive CPU usage due to a constant stream of healthcheck state changes or metadata updates. The first set of updates to be seen apply immediately (e.g.: a new cluster). Please always keep in mind that the use of sandbox technologies may change this behavior. If this is not set, we default to a merge window of 1000ms. To disable it, set the merge window to 0. Note: merging does not apply to cluster membership changes (e.g.: adds/removes); this is because merging those updates isn't currently safe. See https://github.com/envoyproxy/envoy/pull/3941.
.google.protobuf.Duration update_merge_window = 4;
-
getIgnoreNewHostsUntilFirstHc
boolean getIgnoreNewHostsUntilFirstHc()
If set to true, Envoy will :ref:`exclude <arch_overview_load_balancing_excluded>` new hosts when computing load balancing weights until they have been health checked for the first time. This will have no effect unless active health checking is also configured.
bool ignore_new_hosts_until_first_hc = 5;
- Returns:
- The ignoreNewHostsUntilFirstHc.
-
getCloseConnectionsOnHostSetChange
boolean getCloseConnectionsOnHostSetChange()
If set to ``true``, the cluster manager will drain all existing connections to upstream hosts whenever hosts are added or removed from the cluster.
bool close_connections_on_host_set_change = 6;
- Returns:
- The closeConnectionsOnHostSetChange.
-
hasConsistentHashingLbConfig
boolean hasConsistentHashingLbConfig()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;
- Returns:
- Whether the consistentHashingLbConfig field is set.
-
getConsistentHashingLbConfig
Cluster.CommonLbConfig.ConsistentHashingLbConfig getConsistentHashingLbConfig()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;
- Returns:
- The consistentHashingLbConfig.
-
getConsistentHashingLbConfigOrBuilder
Cluster.CommonLbConfig.ConsistentHashingLbConfigOrBuilder getConsistentHashingLbConfigOrBuilder()
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
.envoy.config.cluster.v3.Cluster.CommonLbConfig.ConsistentHashingLbConfig consistent_hashing_lb_config = 7;
-
hasOverrideHostStatus
boolean hasOverrideHostStatus()
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision. If this is unset then [UNKNOWN, HEALTHY, DEGRADED] will be applied by default. If this is set with an empty set of statuses then host overrides will be ignored by the load balancing.
.envoy.config.core.v3.HealthStatusSet override_host_status = 8;
- Returns:
- Whether the overrideHostStatus field is set.
-
getOverrideHostStatus
HealthStatusSet getOverrideHostStatus()
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision. If this is unset then [UNKNOWN, HEALTHY, DEGRADED] will be applied by default. If this is set with an empty set of statuses then host overrides will be ignored by the load balancing.
.envoy.config.core.v3.HealthStatusSet override_host_status = 8;
- Returns:
- The overrideHostStatus.
-
getOverrideHostStatusOrBuilder
HealthStatusSetOrBuilder getOverrideHostStatusOrBuilder()
This controls what hosts are considered valid when using :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some filters to modify the load balancing decision. If this is unset then [UNKNOWN, HEALTHY, DEGRADED] will be applied by default. If this is set with an empty set of statuses then host overrides will be ignored by the load balancing.
.envoy.config.core.v3.HealthStatusSet override_host_status = 8;
-
getLocalityConfigSpecifierCase
Cluster.CommonLbConfig.LocalityConfigSpecifierCase getLocalityConfigSpecifierCase()
-
-