Class IoK8sApiCoreV1Probe


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]")
    public class IoK8sApiCoreV1Probe
    extends Object
    Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
    • Constructor Detail

      • IoK8sApiCoreV1Probe

        public IoK8sApiCoreV1Probe()
    • Method Detail

      • getFailureThreshold

        @Nullable
        public Integer getFailureThreshold()
        Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
        Returns:
        failureThreshold
      • setFailureThreshold

        public void setFailureThreshold​(Integer failureThreshold)
      • getInitialDelaySeconds

        @Nullable
        public Integer getInitialDelaySeconds()
        Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
        Returns:
        initialDelaySeconds
      • setInitialDelaySeconds

        public void setInitialDelaySeconds​(Integer initialDelaySeconds)
      • getPeriodSeconds

        @Nullable
        public Integer getPeriodSeconds()
        How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.
        Returns:
        periodSeconds
      • setPeriodSeconds

        public void setPeriodSeconds​(Integer periodSeconds)
      • getSuccessThreshold

        @Nullable
        public Integer getSuccessThreshold()
        Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
        Returns:
        successThreshold
      • setSuccessThreshold

        public void setSuccessThreshold​(Integer successThreshold)
      • getTimeoutSeconds

        @Nullable
        public Integer getTimeoutSeconds()
        Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
        Returns:
        timeoutSeconds
      • setTimeoutSeconds

        public void setTimeoutSeconds​(Integer timeoutSeconds)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object