From 84648753cce419cbd6bd64673053fbbe396bf478 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 27 Nov 2024 20:30:47 +0100 Subject: danneri --- danneri/futar-deployment.yml | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) (limited to 'danneri/futar-deployment.yml') 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 -- cgit v1.2.3