diff options
author | 2020-11-19 01:02:56 +0100 | |
---|---|---|
committer | 2020-11-19 01:02:56 +0100 | |
commit | e7a6ecff83d65c2bf8d1eeeeecda4f59f2073187 (patch) | |
tree | 9922517d92e794bcc71d2fdbb239ba7d19f2e989 | |
parent | Merge 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.
-rw-r--r-- | .github/.github/FUNDING.yml | 2 | ||||
-rw-r--r-- | deployment.yaml | 20 |
2 files changed, 20 insertions, 2 deletions
diff --git a/.github/.github/FUNDING.yml b/.github/.github/FUNDING.yml deleted file mode 100644 index 6d9919e..0000000 --- a/.github/.github/FUNDING.yml +++ /dev/null @@ -1,2 +0,0 @@ -patreon: python_discord -custom: https://www.redbubble.com/people/pythondiscord 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 |