Skip to content

Commit

Permalink
add docs for healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
tejal29 committed Nov 5, 2019
1 parent b92a010 commit 1b152df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/content/en/docs/workflows/ci-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ You can also configure the time for deployments to stabilize with `statusCheckDe
To configure deployments to stabilize with 5 minutes use,
{{% readfile file="samples/deployers/healthcheck.yaml" %}}

With `--status-check` flag, for each `Deployment` kind resource, `skaffold deploy` will wait for
With `--status-check` flag, for each `Deployment` kind resource, `skaffold deploy` will wait for
[`progressDeadlineSeconds`](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#progress-deadline-seconds)
mentioned in its specification.

Expand All @@ -55,7 +55,7 @@ If the `Deployment.spec.progressDeadlineSeconds` is not set, Skaffold will wait
In case you have both `statusCheckDeadlineSeconds` and `Deployment.spec.progressDeadlineSeconds` set, precedence
is given to `Deployment.spec.progressDeadline` **only if it is within** `statusCheckDeadlineSeconds`.

e.g. if for below `Deployment` with `progressDeadlineSeconds` set to 5 minutes,
e.g. if for below `Deployment` with `progressDeadlineSeconds` set to 5 minutes,

```yaml
apiVersion: apps/v1
Expand All @@ -71,7 +71,7 @@ spec:
image: gcr.io/k8s-skaffold/getting-started-foo
```
if the `skaffold.yaml` overrides the whole deploy to stabilize in a minute,
if the `skaffold.yaml` overrides the whole deploy to stabilize in a minute,

```yaml
apiVersion: skaffold/v1
Expand Down

0 comments on commit 1b152df

Please sign in to comment.