Skip to content

Commit b51db22

Browse files
committed
Merge pull request #2676 from mboersma/proc-is-container
docs(using_deis/*): add scale example and clarify process == container
2 parents 2cec00b + 344f892 commit b51db22

4 files changed

Lines changed: 17 additions & 0 deletions

File tree

docs/using_deis/process-types.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,8 @@ For Deis to use your Procfile, add the Procfile to the root of your application,
8888
For Docker image deployments, a Procfile in the current directory or specified by
8989
``deis push --procfile`` will define the default process types for the application.
9090

91+
Use ``deis scale web=3`` to increase ``web`` processes to 3, for example. Scaling a
92+
process type directly changes the number of :ref:`Containers <container>`
93+
running that process.
94+
9195
.. _`process model`: https://devcenter.heroku.com/articles/process-model

docs/using_deis/using-buildpacks.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ Use ``git push deis master`` to deploy your application.
9494
9595
Because a Heroku-style application is detected, the ``web`` process type is automatically scaled to 1 on first deploy.
9696

97+
Use ``deis scale web=3`` to increase ``web`` processes to 3, for example. Scaling a
98+
process type directly changes the number of :ref:`Containers <container>`
99+
running that process.
100+
97101
Included Buildpacks
98102
-------------------
99103
For convenience, a number of buildpacks come bundled with Deis:

docs/using_deis/using-docker-images.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ a private registry.
6868
6969
Because you are deploying a Docker image, the ``cmd`` process type is automatically scaled to 1 on first deploy.
7070

71+
Use ``deis scale cmd=3`` to increase ``cmd`` processes to 3, for example. Scaling a
72+
process type directly changes the number of :ref:`Containers <container>`
73+
running that process.
74+
75+
7176
.. attention::
7277

7378
Support for Docker registry authentication is coming soon

docs/using_deis/using-dockerfiles.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@ Use ``git push deis master`` to deploy your application.
113113
114114
Because a Dockerfile application is detected, the ``cmd`` process type is automatically scaled to 1 on first deploy.
115115

116+
Use ``deis scale cmd=3`` to increase ``cmd`` processes to 3, for example. Scaling a
117+
process type directly changes the number of :ref:`Containers <container>`
118+
running that process.
119+
116120

117121
.. _`Dockerfile`: https://docs.docker.com/reference/builder/
118122
.. _`Docker Image`: https://docs.docker.com/introduction/understanding-docker/

0 commit comments

Comments
 (0)