forked from LaconicNetwork/kompose
This PR adds support for HealthCheck, being able to supply, for example:
```yaml
version: "3"
services:
redis:
image: redis
healthcheck:
test: echo "hello world"
interval: 10s
timeout: 1s
retries: 5
```
Which is then converted to:
```yaml
spec:
containers:
- image: redis
livenessProbe:
exec:
command:
- echo "hello world"
failureThreshold: 5
periodSeconds: 10
timeoutSeconds: 1
name: redis
resources: {}
restartPolicy: Always
```
At the moment, this only supports livenessProbe, with support for readinessProbe in the future.
|
||
|---|---|---|
| .. | ||
| docker-compose-deploy-mode.yaml | ||
| docker-compose-env-subs.yaml | ||
| docker-compose-env.yaml | ||
| docker-compose-full-example.yaml | ||
| docker-compose-memcpu.yaml | ||
| docker-compose-volumes.yaml | ||
| docker-compose.yaml | ||
| example1.env | ||
| example2.env | ||
| output-deploy-mode-k8s-template.json | ||
| output-deploy-mode-os-template.json | ||
| output-env-k8s.json | ||
| output-env-subs.json | ||
| output-k8s-full-example-template.json | ||
| output-k8s-full-example.json | ||
| output-k8s-template.json | ||
| output-memcpu-k8s.json | ||
| output-os-full-example.json | ||
| output-os-template.json | ||
| output-volumes-k8s-template.json | ||