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 68dcc7dd authored by Marc Beninca's avatar Marc Beninca
Browse files

kube/podeploy

parent c6763e96
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,7 @@ RTFD
public/ifupdown2/index
public/imagemagick/index
public/isc-dhcp-server/index
public/kubernetes/index
public/letsencrypt/index
public/libnss3-tools/index
public/libreoffice/index
......
**********
Kubernetes
**********
Pods
====
.. code:: shell
ffmpeg \
-i input.avi \
-y output.mkv
Deployments
===========
Get
---
.. code:: shell
kubectl get \
deploy my-deployment \
-n my-namespace \
-o wide
.. code:: shell
kubectl get \
deployments \
-n my-namespace
Create deployment
-----------------
.. code:: shell
kubectl create \
deploy my-deployment \
--image my-image \
-n my-namespace
.. code:: yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: my-deployment
spec:
replicas: 2
template:
metadata:
labels:
app: my-app
spec:
containers:
- name: my-containers
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