# Wait for a listen address to become available before failing startup. # # This is useful for Kubernetes rolling updates when using hostNetwork # and fixed listen ports. The replacement pod can start and pull its # image while the previous pod is still running, then wait for the # listen port to be released. # # Example DaemonSet strategy: # # apiVersion: apps/v1 # kind: DaemonSet # spec: # updateStrategy: # type: RollingUpdate # rollingUpdate: # maxSurge: 1 # maxUnavailable: 0 # template: # spec: # hostNetwork: true # # Do not define hostPort or a fixed-port readinessProbe. # ... # # In this example, the new tinyproxy instance waits up to 30 seconds # for :80 and :443 to become available before failing startup. # tcp :80 tcp 10.0.1.1:80 bind_wait=30,keep_alive,proxy_v2 tcp :443 tcp 10.0.1.1:443 bind_wait=30,keep_alive,proxy_v2