Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 411 Bytes

health.md

File metadata and controls

13 lines (10 loc) · 411 Bytes

Health Wait strategy

The health wait strategy will check that the container is in the healthy state and allows to set the following conditions:

  • the startup timeout to be used in seconds, default is 60 seconds.
  • the poll interval to be used in milliseconds, default is 100 milliseconds.
req := ContainerRequest{
	Image:      "docker.io/alpine:latest",
	WaitingFor: wait.ForHealthCheck(),
}