feat: add kubernetes deployment
This commit is contained in:
parent
e63eca9978
commit
db4526e269
11
README.md
11
README.md
@ -16,3 +16,14 @@ $ docker run -it \
|
|||||||
--name swiss \
|
--name swiss \
|
||||||
pommib/swiss:latest
|
pommib/swiss:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Kubernetes
|
||||||
|
|
||||||
|
```
|
||||||
|
$ kubectl create namespace swiss
|
||||||
|
$ kubectl apply -f pod.yaml -n swiss
|
||||||
|
$ kubectl get pods -n swiss
|
||||||
|
$ kubectl describe pod -n swiss
|
||||||
|
$ kubectl exec --stdin --tty -n swiss swiss -- /bin/bash
|
||||||
|
$ kubectl delete namespace swiss
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user