Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 093f20e2 authored by Marc Beninca's avatar Marc Beninca
Browse files

kube/pods

parent 68dcc7dd
No related branches found
No related tags found
No related merge requests found
......@@ -5,11 +5,41 @@ Kubernetes
Pods
====
Read
----
.. code:: shell
ffmpeg \
-i input.avi \
-y output.mkv
kubectl \
get pods \
-n my-namespace
Execute
-------
.. code:: shell
kubectl \
run my-pod \
--image my-image \
--restart Never \
-n my-namespace
Write
-----
.. code:: shell
kubectl edit \
pod my-pod \
-n my-namespace
.. code:: shell
kubectl delete \
pod my-pod \
-n my-namespace \
--grace-period 0
Deployments
===========
......@@ -54,5 +84,5 @@ Create deployment
app: my-app
spec:
containers:
- name: my-containers
- name: my-container
image: my-image
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment