接口 WorkloadGroupOuterClass.ReadinessProbeOrBuilder

    • 方法详细资料

      • getInitialDelaySeconds

        int getInitialDelaySeconds()
         Number of seconds after the container has started before readiness probes are initiated.
         
        int32 initial_delay_seconds = 2;
        返回:
        The initialDelaySeconds.
      • getTimeoutSeconds

        int getTimeoutSeconds()
         Number of seconds after which the probe times out.
         Defaults to 1 second. Minimum value is 1 second.
         
        int32 timeout_seconds = 3;
        返回:
        The timeoutSeconds.
      • getPeriodSeconds

        int getPeriodSeconds()
         How often (in seconds) to perform the probe.
         Default to 10 seconds. Minimum value is 1 second.
         
        int32 period_seconds = 4;
        返回:
        The periodSeconds.
      • getSuccessThreshold

        int getSuccessThreshold()
         Minimum consecutive successes for the probe to be considered successful after having failed.
         Defaults to 1 second.
         
        int32 success_threshold = 5;
        返回:
        The successThreshold.
      • getFailureThreshold

        int getFailureThreshold()
         Minimum consecutive failures for the probe to be considered failed after having succeeded.
         Defaults to 3 seconds.
         
        int32 failure_threshold = 6;
        返回:
        The failureThreshold.
      • hasHttpGet

        boolean hasHttpGet()
         `httpGet` is performed to a given endpoint
         and the status/able to connect determines health.
         
        .istio.networking.v1alpha3.HTTPHealthCheckConfig http_get = 7;
        返回:
        Whether the httpGet field is set.
      • getHttpGet

        WorkloadGroupOuterClass.HTTPHealthCheckConfig getHttpGet()
         `httpGet` is performed to a given endpoint
         and the status/able to connect determines health.
         
        .istio.networking.v1alpha3.HTTPHealthCheckConfig http_get = 7;
        返回:
        The httpGet.
      • hasTcpSocket

        boolean hasTcpSocket()
         Health is determined by if the proxy is able to connect.
         
        .istio.networking.v1alpha3.TCPHealthCheckConfig tcp_socket = 8;
        返回:
        Whether the tcpSocket field is set.
      • hasExec

        boolean hasExec()
         Health is determined by how the command that is executed exited.
         
        .istio.networking.v1alpha3.ExecHealthCheckConfig exec = 9;
        返回:
        Whether the exec field is set.