kube/write
This commit is contained in:
parent
093f20e2e7
commit
1a7f394bbb
1 changed files with 15 additions and 4 deletions
|
@ -44,8 +44,8 @@ Write
|
||||||
Deployments
|
Deployments
|
||||||
===========
|
===========
|
||||||
|
|
||||||
Get
|
Read
|
||||||
---
|
----
|
||||||
|
|
||||||
.. code:: shell
|
.. code:: shell
|
||||||
|
|
||||||
|
@ -60,8 +60,8 @@ Get
|
||||||
deployments \
|
deployments \
|
||||||
-n my-namespace
|
-n my-namespace
|
||||||
|
|
||||||
Create deployment
|
Execute
|
||||||
-----------------
|
-------
|
||||||
|
|
||||||
.. code:: shell
|
.. code:: shell
|
||||||
|
|
||||||
|
@ -86,3 +86,14 @@ Create deployment
|
||||||
containers:
|
containers:
|
||||||
- name: my-container
|
- name: my-container
|
||||||
image: my-image
|
image: my-image
|
||||||
|
|
||||||
|
Write
|
||||||
|
-----
|
||||||
|
|
||||||
|
.. code:: shell
|
||||||
|
|
||||||
|
kubectl \
|
||||||
|
set image \
|
||||||
|
deployment/my-deployment \
|
||||||
|
my-app=my-app:1.0.1 \
|
||||||
|
-n my-namespace
|
||||||
|
|
Loading…
Reference in a new issue