Sample deployment of simple nginx pod
This commit is contained in:
1 parent
3e149c43ef
commit
f60c5b9a35
3 files changed
+28
No files matched your search
@@ -18,3 +18,4 @@ playbooks/beta/files/*.pub
|
||||
|
||||
docker/beta/shockrah.xyz/
|
||||
docker/beta/resume.shockrah.xyz/
|
||||
k8s/config.yaml
|
||||
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
# :eye:
|
||||
|
||||
set -e
|
||||
|
||||
kubectl --kubeconfig config.yaml $@
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
kind: Deployment
|
||||
apiVersion: apps/v1
|
||||
metadata:
|
||||
name: shockrah-xyz-dep
|
||||
labels:
|
||||
app: shockrah-xyz
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: shockrah-xyz
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: shockrah-xyz
|
||||
spec:
|
||||
containers:
|
||||
- name: bind
|
||||
image: nginx:latest
|
||||
Reference in new issue
Block a user