aboutsummaryrefslogtreecommitdiffstats
path: root/deployment.yaml
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-11-19 00:41:54 +0000
committerGravatar GitHub <[email protected]>2020-11-19 00:41:54 +0000
commit39e9ce404e0336fb44ffda9207c47b7af5417227 (patch)
tree0f02537c4d6dd5fce86a8940b2c59d4d7e300e99 /deployment.yaml
parentMerge pull request #79 from python-discord/sebastiaan/backend/migrate-ci-to-g... (diff)
parentAdd production_build == 'true' condition on deploy. (diff)
Merge pull request #80 from python-discord/lemon/kubernetes_manifest
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