You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/applications/deploying-apps.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,32 @@ image in development or in your CI pipeline as you are in production.
54
54
55
55
Learn how to deploy applications [using Docker images](../applications/using-docker-images.md).
56
56
57
+
## Tuning Application Settings
58
+
59
+
It is possible to configure a few of the [globally tunable](../applications/managing-app-configuration.md) settings on per application basis using `config:set`.
DEIS_DEPLOY_BATCHES | the number of pods to bring up and take down sequentially during a scale (default: number of available nodes)
64
+
DEIS_KUBERNETES_DEPLOYMENTS | if enabled [Deployments][] is used to handle an application deploy instead of [ReplicationControllers][]
65
+
| any value is acceptable to turn on [Deployments][], to turn it off either remove or pass an empty string (default: off)
66
+
KUBERNETES_DEPLOYMENTS_REVISION_HISTORY_LIMIT | how many [revisions][[kubernetes-deployment-revision]] Kubernetes keeps around of a given Deployment (default: all revisions)
67
+
68
+
When `DEIS_KUBERNETES_DEPLOYMENTS=1` is set on an application then Deis Workflow will use [Deployments][] internally instead of [ReplicationControllers][].
69
+
70
+
The advantage of that is that rolling-updates will happen server-side in Kubernetes instead of in Deis Workflow Controller,
71
+
along with a few other Pod management related functionality. This allows a deploy to continue even when the CLI connection is interrupted.
72
+
73
+
Deis Workflow will behave the same way with `DEIS_KUBERNETES_DEPLOYMENTS` enabled or disabled. The changes are behind the scenes.
74
+
Where you will see differences while using the CLI is `deis ps:list` will output Pod names differently.
75
+
76
+
Behind the scenes your application deploy will be built up of a Deployment object per process type,
77
+
each having multiple ReplicaSets (one per release) which in turn manage the Pods running your application.
Copy file name to clipboardExpand all lines: src/managing-workflow/tuning-component-settings.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ application or service. Helm is heavily influenced by [Homebrew](http://brew.sh/
5
5
[formula model](https://github.com/Homebrew/homebrew-core). A Helm Chart is to Helm as a Formula
6
6
is to Homebrew.
7
7
8
-
After you cetch the Workflow chart, you can customize the chart using `helmc edit` before using
8
+
After you fetch the Workflow chart, you can customize the chart using `helmc edit` before using
9
9
`helmc generate` and `helmc install` to complete the installation. To customize the respective
10
10
component, edit `tpl/deis-<component>-rc.yaml` and modify the `env` section of the component to
11
11
tune these settings.
@@ -39,7 +39,10 @@ RESERVED_NAMES | a comma-separated list of name
39
39
SLUGRUNNER_IMAGE_NAME | the image used to run buildpack application slugs (default: "quay.io/deisci/slugrunner:canary")
40
40
SLUG_BUILDER_IMAGE_PULL_POLICY | the kubernetes [image pull policy][pull-policy] for slugbuilder (default: "Always")
41
41
DOCKER_BUILDER_IMAGE_PULL_POLICY | the kubernetes [image pull policy][pull-policy] for dockerbuilder (default: "Always")
42
-
DEIS_DEPLOY_BATCHES | the number of pods to bring up and take down sequentially during a scale (default: all)
42
+
DEIS_DEPLOY_BATCHES | the number of pods to bring up and take down sequentially during a scale (default: number of available nodes)
43
+
DEIS_KUBERNETES_DEPLOYMENTS | if enabled [Deployments][] is used to handle an application deploy platform wide instead of [ReplicationControllers][]
44
+
| any value is acceptable to turn on [Deployments][], to turn it off either remove or pass an empty string (default: off)
45
+
KUBERNETES_DEPLOYMENTS_REVISION_HISTORY_LIMIT | how many [revisions][[kubernetes-deployment-revision]] Kubernetes keeps around of a given Deployment (default: all revisions)
43
46
KUBERNETES_POD_TERMINATION_GRACE_PERIOD_SECONDS | how many seconds kubernetes waits for a pod to finish work after a SIGTERM before sending SIGKILL (default: 30)
44
47
45
48
## Customizing the Database
@@ -109,11 +112,14 @@ API_VERSION | The version number Workflow Manager sends to the versions AP
0 commit comments