Class Probe

    • Constructor Detail

      • Probe

        public Probe()
      • Probe

        public Probe​(Probe source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getInitialDelaySeconds

        public Long getInitialDelaySeconds()
        Get Number of seconds after the container has started before liveness probes are initiated. 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        InitialDelaySeconds Number of seconds after the container has started before liveness probes are initiated. 注意:此字段可能返回 null,表示取不到有效值。
      • setInitialDelaySeconds

        public void setInitialDelaySeconds​(Long InitialDelaySeconds)
        Set Number of seconds after the container has started before liveness probes are initiated. 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        InitialDelaySeconds - Number of seconds after the container has started before liveness probes are initiated. 注意:此字段可能返回 null,表示取不到有效值。
      • getTimeoutSeconds

        public Long getTimeoutSeconds()
        Get Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        TimeoutSeconds Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. 注意:此字段可能返回 null,表示取不到有效值。
      • setTimeoutSeconds

        public void setTimeoutSeconds​(Long TimeoutSeconds)
        Set Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        TimeoutSeconds - Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. 注意:此字段可能返回 null,表示取不到有效值。
      • getPeriodSeconds

        public Long getPeriodSeconds()
        Get How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        PeriodSeconds How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. 注意:此字段可能返回 null,表示取不到有效值。
      • setPeriodSeconds

        public void setPeriodSeconds​(Long PeriodSeconds)
        Set How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        PeriodSeconds - How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. 注意:此字段可能返回 null,表示取不到有效值。
      • getSuccessThreshold

        public Long getSuccessThreshold()
        Get Minimum consecutive successes for the probe to be considered successful after having failed.Defaults to 1. Must be 1 for liveness. Minimum value is 1. 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed.Defaults to 1. Must be 1 for liveness. Minimum value is 1. 注意:此字段可能返回 null,表示取不到有效值。
      • setSuccessThreshold

        public void setSuccessThreshold​(Long SuccessThreshold)
        Set Minimum consecutive successes for the probe to be considered successful after having failed.Defaults to 1. Must be 1 for liveness. Minimum value is 1. 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        SuccessThreshold - Minimum consecutive successes for the probe to be considered successful after having failed.Defaults to 1. Must be 1 for liveness. Minimum value is 1. 注意:此字段可能返回 null,表示取不到有效值。
      • getFailureThreshold

        public Long getFailureThreshold()
        Get Minimum consecutive failures for the probe to be considered failed after having succeeded.Defaults to 3. Minimum value is 1. 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        FailureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded.Defaults to 3. Minimum value is 1. 注意:此字段可能返回 null,表示取不到有效值。
      • setFailureThreshold

        public void setFailureThreshold​(Long FailureThreshold)
        Set Minimum consecutive failures for the probe to be considered failed after having succeeded.Defaults to 3. Minimum value is 1. 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        FailureThreshold - Minimum consecutive failures for the probe to be considered failed after having succeeded.Defaults to 3. Minimum value is 1. 注意:此字段可能返回 null,表示取不到有效值。