Compare commits
2 commits
e63eca9978
...
068c38ecf5
Author | SHA1 | Date | |
---|---|---|---|
![]() |
068c38ecf5 | ||
![]() |
db4526e269 |
3 changed files with 22 additions and 0 deletions
|
@ -31,6 +31,7 @@ RUN set -eux && \
|
|||
awscli \
|
||||
direnv \
|
||||
&& \
|
||||
curl -s -o /usr/local/bin/ffsend -L $(curl -s https://api.github.com/repos/timvisee/ffsend/releases | jq -r '.[0].assets[] | select(.name | contains("linux-x64-static")).browser_download_url') && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && \
|
||||
/usr/sbin/locale-gen && \
|
||||
|
|
11
README.md
11
README.md
|
@ -16,3 +16,14 @@ $ docker run -it \
|
|||
--name swiss \
|
||||
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
|
||||
```
|
||||
|
|
10
pod.yaml
Normal file
10
pod.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: swiss
|
||||
spec:
|
||||
containers:
|
||||
- name: swiss
|
||||
image: pommib/swiss:latest
|
||||
hostNetwork: true
|
||||
dnsPolicy: Default
|
Loading…
Add table
Add a link
Reference in a new issue