aboutsummaryrefslogtreecommitdiff
path: root/danneri/futar-deployment.yml
diff options
context:
space:
mode:
Diffstat (limited to 'danneri/futar-deployment.yml')
-rw-r--r--danneri/futar-deployment.yml34
1 files changed, 26 insertions, 8 deletions
diff --git a/danneri/futar-deployment.yml b/danneri/futar-deployment.yml
index b7e759a..14c2fed 100644
--- a/danneri/futar-deployment.yml
+++ b/danneri/futar-deployment.yml
@@ -19,18 +19,11 @@ spec:
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
+ name: futar-np
spec:
selector:
app: futar
@@ -40,3 +33,28 @@ spec:
targetPort: 8080
nodePort: 30000
type: NodePort
+
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: futar
+spec:
+ selector:
+ app: futar
+ ports:
+ - protocol: TCP
+ port: 80
+
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: futar-lb
+spec:
+ selector:
+ app: futar
+ type: LoadBalancer
+ ports:
+ - protocol: TCP
+ port: 80