aboutsummaryrefslogtreecommitdiffstats
path: root/deployment.yaml
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-11-19 01:02:56 +0100
committerGravatar Leon Sandøy <[email protected]>2020-11-19 01:02:56 +0100
commite7a6ecff83d65c2bf8d1eeeeecda4f59f2073187 (patch)
tree9922517d92e794bcc71d2fdbb239ba7d19f2e989 /deployment.yaml
parentMerge pull request #79 from python-discord/sebastiaan/backend/migrate-ci-to-g... (diff)
Add a Kubernetes deployment manifest.
Simple stuff. Basically copy-paste from site.
Diffstat (limited to 'deployment.yaml')
-rw-r--r--deployment.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/deployment.yaml b/deployment.yaml
new file mode 100644
index 0000000..a390a12
--- /dev/null
+++ b/deployment.yaml
@@ -0,0 +1,20 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: snekbox
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: snekbox
+ template:
+ metadata:
+ labels:
+ app: snekbox
+ spec:
+ containers:
+ - name: snekbox
+ image: ghcr.io/python-discord/snekbox:latest
+ imagePullPolicy: Always
+ ports:
+ - containerPort: 8060