This commit is contained in:
hiondal 2025-02-16 04:17:07 +09:00
parent 32c82bb2de
commit 86d487dd79
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,29 @@
# lifesub-web/deployment/manifest/deployments/lifesub-web-deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: lifesub-web
spec:
replicas: 1
selector:
matchLabels:
app: lifesub-web
template:
metadata:
labels:
app: lifesub-web
spec:
containers:
- name: lifesub-web
image: dg0200cr.azurecr.io/lifesub/lifesub-web:1.0.0
imagePullPolicy: Always
ports:
- containerPort: 18080
resources:
requests:
cpu: 256m
memory: 256Mi
limits:
cpu: 1024m
memory: 1024Mi

View File

@ -0,0 +1,12 @@
# lifesub-web/deployment/manifest/services/lifesub-web-service.yaml
apiVersion: v1
kind: Service
metadata:
name: lifesub-web
spec:
selector:
app: lifesub-web
ports:
- port: 80
targetPort: 18080
type: LoadBalancer