commit 2645f87741a1d9267b645a7b2bba811eb5b68df0 Author: Roxedus Date: Thu May 26 00:51:09 2022 +0200 first commit diff --git a/py-kms/py-kms-deployment.yaml b/py-kms/py-kms-deployment.yaml new file mode 100644 index 0000000..928c37f --- /dev/null +++ b/py-kms/py-kms-deployment.yaml @@ -0,0 +1,27 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: py-kms +spec: + replicas: 1 + revisionHistoryLimit: 3 + selector: + matchLabels: + app: py-kms + template: + metadata: + labels: + app: py-kms + spec: + containers: + - image: ghcr.io/thespad/py-kms + name: py-kms + resources: + limits: + cpu: "800m" + memory: "100Mi" + requests: + cpu: "300m" + memory: "40Mi" + ports: + - containerPort: 1688 diff --git a/py-kms/py-kms-svc.yaml b/py-kms/py-kms-svc.yaml new file mode 100644 index 0000000..c807c83 --- /dev/null +++ b/py-kms/py-kms-svc.yaml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: Service +metadata: + name: py-kms +spec: + ports: + - port: 1688 + targetPort: 1688 + selector: + app: py-kms