diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2024-11-27 20:30:47 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2024-11-27 20:30:47 +0100 |
commit | 84648753cce419cbd6bd64673053fbbe396bf478 (patch) | |
tree | 9f57eb31a29f6d498f2930226dbd551544531140 /danneri/futar-deployment.yml | |
parent | 285520a1cea24d81ce3d90cecc0cb10452a22359 (diff) | |
download | infra-84648753cce419cbd6bd64673053fbbe396bf478.tar.gz infra-84648753cce419cbd6bd64673053fbbe396bf478.tar.bz2 infra-84648753cce419cbd6bd64673053fbbe396bf478.tar.xz infra-84648753cce419cbd6bd64673053fbbe396bf478.zip |
danneri
Diffstat (limited to 'danneri/futar-deployment.yml')
-rw-r--r-- | danneri/futar-deployment.yml | 34 |
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 |