kompose/pkg/transformer/kubernetes
Charlie Drage 2e99b8fd3a Adds healthcheck
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.
2017-08-25 10:02:51 -04:00
..
k8sutils_test.go Add CPU limit, CPU Reservation and Memory Reservation 2017-08-03 09:41:14 -04:00
k8sutils.go Adds healthcheck 2017-08-25 10:02:51 -04:00
kubernetes_test.go Adding save command to annotation 2017-08-14 12:22:33 +05:30
kubernetes.go Add deploy: mode: global support 2017-08-23 12:47:27 -04:00