I have the following file:
version: '2'
services:
service1:
scale: 1
health_check:
port: 80
request_line: GET /healthcheck HTTP/1.0
interval: 2000
initializing_timeout: 60000
reinitializing_timeout: 60000
unhealthy_threshold: 3
strategy: recreate
healthy_threshold: 2
response_timeout: 2000
However, the end result is that the unhealthy image still gets pushed up.
Is there a configuration to say if unhealthy, abort?
For reference, we are using Rancher 1.6