diff options
Diffstat (limited to 'danneri/futar-deployment.yml')
-rw-r--r-- | danneri/futar-deployment.yml | 42 |
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 |