aboutsummaryrefslogtreecommitdiff
path: root/danneri/futar-deployment.yml
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2024-11-23 06:57:01 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2024-11-23 06:57:01 +0100
commit285520a1cea24d81ce3d90cecc0cb10452a22359 (patch)
tree011519cfc1cf398a9213f12f27acdc26f96b6853 /danneri/futar-deployment.yml
parent822f8d1a691ce1d24327b8d0fb8ffade2843b80a (diff)
downloadinfra-285520a1cea24d81ce3d90cecc0cb10452a22359.tar.gz
infra-285520a1cea24d81ce3d90cecc0cb10452a22359.tar.bz2
infra-285520a1cea24d81ce3d90cecc0cb10452a22359.tar.xz
infra-285520a1cea24d81ce3d90cecc0cb10452a22359.zip
danneri
Diffstat (limited to 'danneri/futar-deployment.yml')
-rw-r--r--danneri/futar-deployment.yml42
1 files changed, 42 insertions, 0 deletions
diff --git a/danneri/futar-deployment.yml b/danneri/futar-deployment.yml
new file mode 100644
index 0000000..b7e759a
--- /dev/null
+++ b/danneri/futar-deployment.yml
@@ -0,0 +1,42 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: futar-deployment
+ labels:
+ app: futar
+spec:
+ selector:
+ matchLabels:
+ app: futar
+ replicas: 2
+ template:
+ metadata:
+ labels:
+ app: futar
+ spec:
+ containers:
+ - name: futar
+ image: ghcr.io/trygvis/futar:main
+ ports:
+ - containerPort: 8080
+# resources:
+# limits:
+# memory: 256Mi
+# cpu: "250m"
+# requests:
+# memory: 128Mi
+# cpu: "80m"
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: futar
+spec:
+ selector:
+ app: futar
+ ports:
+ - protocol: TCP
+ port: 80
+ targetPort: 8080
+ nodePort: 30000
+ type: NodePort