• Tim St. Clair's avatar
    Add liveness/readiness probe parameters · 1e88a682
    Tim St. Clair authored
    - PeriodSeconds - How often to probe
    - SuccessThreshold - Number of successful probes to go from failure to success state
    - FailureThreshold - Number of failing probes to go from success to failure state
    
    This commit includes to changes in behavior:
    
    1. InitialDelaySeconds now defaults to 10 seconds, rather than the
    kubelet sync interval (although that also defaults to 10 seconds).
    2. Prober only retries on probe error, not failure. To compensate, the
    default FailureThreshold is set to the maxRetries, 3.
    1e88a682
worker.go 5.31 KB