接口 DestinationRuleOuterClass.OutlierDetectionOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
DestinationRuleOuterClass.OutlierDetection, DestinationRuleOuterClass.OutlierDetection.Builder
封闭类:
DestinationRuleOuterClass

public static interface DestinationRuleOuterClass.OutlierDetectionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 方法概要

    修饰符和类型
    方法
    说明
    com.google.protobuf.Duration
    Minimum ejection duration.
    com.google.protobuf.DurationOrBuilder
    Minimum ejection duration.
    com.google.protobuf.UInt32Value
    Number of 5xx errors before a host is ejected from the connection pool.
    com.google.protobuf.UInt32ValueOrBuilder
    Number of 5xx errors before a host is ejected from the connection pool.
    int
    已过时。
    istio.networking.v1alpha3.OutlierDetection.consecutive_errors is deprecated.
    com.google.protobuf.UInt32Value
    Number of gateway errors before a host is ejected from the connection pool.
    com.google.protobuf.UInt32ValueOrBuilder
    Number of gateway errors before a host is ejected from the connection pool.
    com.google.protobuf.Duration
    Time interval between ejection sweep analysis. format: 1h/1m/1s/1ms.
    com.google.protobuf.DurationOrBuilder
    Time interval between ejection sweep analysis. format: 1h/1m/1s/1ms.
    int
    Maximum % of hosts in the load balancing pool for the upstream service that can be ejected.
    int
    Outlier detection will be enabled as long as the associated load balancing pool has at least min_health_percent hosts in healthy mode.
    boolean
    Minimum ejection duration.
    boolean
    Number of 5xx errors before a host is ejected from the connection pool.
    boolean
    Number of gateway errors before a host is ejected from the connection pool.
    boolean
    Time interval between ejection sweep analysis. format: 1h/1m/1s/1ms.

    从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    从接口继承的方法 com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 方法详细资料

    • getConsecutiveErrors

      @Deprecated int getConsecutiveErrors()
      已过时。
      istio.networking.v1alpha3.OutlierDetection.consecutive_errors is deprecated. See networking/v1alpha3/destination_rule.proto;l=724
       Number of errors before a host is ejected from the connection
       pool. Defaults to 5. When the upstream host is accessed over HTTP, a
       502, 503, or 504 return code qualifies as an error. When the upstream host
       is accessed over an opaque TCP connection, connect timeouts and
       connection error/failure events qualify as an error.
       $hide_from_docs
       
      int32 consecutive_errors = 1 [deprecated = true];
      返回:
      The consecutiveErrors.
    • hasConsecutiveGatewayErrors

      boolean hasConsecutiveGatewayErrors()
       Number of gateway errors before a host is ejected from the connection pool.
       When the upstream host is accessed over HTTP, a 502, 503, or 504 return
       code qualifies as a gateway error. When the upstream host is accessed over
       an opaque TCP connection, connect timeouts and connection error/failure
       events qualify as a gateway error.
       This feature is disabled by default or when set to the value 0.
      
       Note that consecutive_gateway_errors and consecutive_5xx_errors can be
       used separately or together. Because the errors counted by
       consecutive_gateway_errors are also included in consecutive_5xx_errors,
       if the value of consecutive_gateway_errors is greater than or equal to
       the value of consecutive_5xx_errors, consecutive_gateway_errors will have
       no effect.
       
      .google.protobuf.UInt32Value consecutive_gateway_errors = 6;
      返回:
      Whether the consecutiveGatewayErrors field is set.
    • getConsecutiveGatewayErrors

      com.google.protobuf.UInt32Value getConsecutiveGatewayErrors()
       Number of gateway errors before a host is ejected from the connection pool.
       When the upstream host is accessed over HTTP, a 502, 503, or 504 return
       code qualifies as a gateway error. When the upstream host is accessed over
       an opaque TCP connection, connect timeouts and connection error/failure
       events qualify as a gateway error.
       This feature is disabled by default or when set to the value 0.
      
       Note that consecutive_gateway_errors and consecutive_5xx_errors can be
       used separately or together. Because the errors counted by
       consecutive_gateway_errors are also included in consecutive_5xx_errors,
       if the value of consecutive_gateway_errors is greater than or equal to
       the value of consecutive_5xx_errors, consecutive_gateway_errors will have
       no effect.
       
      .google.protobuf.UInt32Value consecutive_gateway_errors = 6;
      返回:
      The consecutiveGatewayErrors.
    • getConsecutiveGatewayErrorsOrBuilder

      com.google.protobuf.UInt32ValueOrBuilder getConsecutiveGatewayErrorsOrBuilder()
       Number of gateway errors before a host is ejected from the connection pool.
       When the upstream host is accessed over HTTP, a 502, 503, or 504 return
       code qualifies as a gateway error. When the upstream host is accessed over
       an opaque TCP connection, connect timeouts and connection error/failure
       events qualify as a gateway error.
       This feature is disabled by default or when set to the value 0.
      
       Note that consecutive_gateway_errors and consecutive_5xx_errors can be
       used separately or together. Because the errors counted by
       consecutive_gateway_errors are also included in consecutive_5xx_errors,
       if the value of consecutive_gateway_errors is greater than or equal to
       the value of consecutive_5xx_errors, consecutive_gateway_errors will have
       no effect.
       
      .google.protobuf.UInt32Value consecutive_gateway_errors = 6;
    • hasConsecutive5XxErrors

      boolean hasConsecutive5XxErrors()
       Number of 5xx errors before a host is ejected from the connection pool.
       When the upstream host is accessed over an opaque TCP connection, connect
       timeouts, connection error/failure and request failure events qualify as a
       5xx error.
       This feature defaults to 5 but can be disabled by setting the value to 0.
      
       Note that consecutive_gateway_errors and consecutive_5xx_errors can be
       used separately or together. Because the errors counted by
       consecutive_gateway_errors are also included in consecutive_5xx_errors,
       if the value of consecutive_gateway_errors is greater than or equal to
       the value of consecutive_5xx_errors, consecutive_gateway_errors will have
       no effect.
       
      .google.protobuf.UInt32Value consecutive_5xx_errors = 7;
      返回:
      Whether the consecutive5xxErrors field is set.
    • getConsecutive5XxErrors

      com.google.protobuf.UInt32Value getConsecutive5XxErrors()
       Number of 5xx errors before a host is ejected from the connection pool.
       When the upstream host is accessed over an opaque TCP connection, connect
       timeouts, connection error/failure and request failure events qualify as a
       5xx error.
       This feature defaults to 5 but can be disabled by setting the value to 0.
      
       Note that consecutive_gateway_errors and consecutive_5xx_errors can be
       used separately or together. Because the errors counted by
       consecutive_gateway_errors are also included in consecutive_5xx_errors,
       if the value of consecutive_gateway_errors is greater than or equal to
       the value of consecutive_5xx_errors, consecutive_gateway_errors will have
       no effect.
       
      .google.protobuf.UInt32Value consecutive_5xx_errors = 7;
      返回:
      The consecutive5xxErrors.
    • getConsecutive5XxErrorsOrBuilder

      com.google.protobuf.UInt32ValueOrBuilder getConsecutive5XxErrorsOrBuilder()
       Number of 5xx errors before a host is ejected from the connection pool.
       When the upstream host is accessed over an opaque TCP connection, connect
       timeouts, connection error/failure and request failure events qualify as a
       5xx error.
       This feature defaults to 5 but can be disabled by setting the value to 0.
      
       Note that consecutive_gateway_errors and consecutive_5xx_errors can be
       used separately or together. Because the errors counted by
       consecutive_gateway_errors are also included in consecutive_5xx_errors,
       if the value of consecutive_gateway_errors is greater than or equal to
       the value of consecutive_5xx_errors, consecutive_gateway_errors will have
       no effect.
       
      .google.protobuf.UInt32Value consecutive_5xx_errors = 7;
    • hasInterval

      boolean hasInterval()
       Time interval between ejection sweep analysis. format:
       1h/1m/1s/1ms. MUST BE >=1ms. Default is 10s.
       
      .google.protobuf.Duration interval = 2;
      返回:
      Whether the interval field is set.
    • getInterval

      com.google.protobuf.Duration getInterval()
       Time interval between ejection sweep analysis. format:
       1h/1m/1s/1ms. MUST BE >=1ms. Default is 10s.
       
      .google.protobuf.Duration interval = 2;
      返回:
      The interval.
    • getIntervalOrBuilder

      com.google.protobuf.DurationOrBuilder getIntervalOrBuilder()
       Time interval between ejection sweep analysis. format:
       1h/1m/1s/1ms. MUST BE >=1ms. Default is 10s.
       
      .google.protobuf.Duration interval = 2;
    • hasBaseEjectionTime

      boolean hasBaseEjectionTime()
       Minimum ejection duration. A host will remain ejected for a period
       equal to the product of minimum ejection duration and the number of
       times the host has been ejected. This technique allows the system to
       automatically increase the ejection period for unhealthy upstream
       servers. format: 1h/1m/1s/1ms. MUST BE >=1ms. Default is 30s.
       
      .google.protobuf.Duration base_ejection_time = 3;
      返回:
      Whether the baseEjectionTime field is set.
    • getBaseEjectionTime

      com.google.protobuf.Duration getBaseEjectionTime()
       Minimum ejection duration. A host will remain ejected for a period
       equal to the product of minimum ejection duration and the number of
       times the host has been ejected. This technique allows the system to
       automatically increase the ejection period for unhealthy upstream
       servers. format: 1h/1m/1s/1ms. MUST BE >=1ms. Default is 30s.
       
      .google.protobuf.Duration base_ejection_time = 3;
      返回:
      The baseEjectionTime.
    • getBaseEjectionTimeOrBuilder

      com.google.protobuf.DurationOrBuilder getBaseEjectionTimeOrBuilder()
       Minimum ejection duration. A host will remain ejected for a period
       equal to the product of minimum ejection duration and the number of
       times the host has been ejected. This technique allows the system to
       automatically increase the ejection period for unhealthy upstream
       servers. format: 1h/1m/1s/1ms. MUST BE >=1ms. Default is 30s.
       
      .google.protobuf.Duration base_ejection_time = 3;
    • getMaxEjectionPercent

      int getMaxEjectionPercent()
       Maximum % of hosts in the load balancing pool for the upstream
       service that can be ejected. Defaults to 10%.
       
      int32 max_ejection_percent = 4;
      返回:
      The maxEjectionPercent.
    • getMinHealthPercent

      int getMinHealthPercent()
       Outlier detection will be enabled as long as the associated load balancing
       pool has at least min_health_percent hosts in healthy mode. When the
       percentage of healthy hosts in the load balancing pool drops below this
       threshold, outlier detection will be disabled and the proxy will load balance
       across all hosts in the pool (healthy and unhealthy). The threshold can be
       disabled by setting it to 0%. The default is 0% as it's not typically
       applicable in k8s environments with few pods per service.
       
      int32 min_health_percent = 5;
      返回:
      The minHealthPercent.