chore: add k8s config
Release package / release (push) Successful in 3m28s
Release package / build-and-push (push) Successful in 2m59s
Release package / deploy-via-portainer (push) Has been skipped

This commit is contained in:
TakahashiNg
2026-03-27 04:18:33 +00:00
parent 3197ec69da
commit dc5471054a
+42
View File
@@ -0,0 +1,42 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: drinkool_frontend
labels:
app: web
spec:
replicas: 1
selector:
matchLabels:
app: web
template:
metadata:
labels:
app: web
spec:
containers:
- name: nginx-container
image: nginx:latest
ports:
- containerPort: 80
resources:
limits:
cpu: "50m"
memory: "32Mi"
requests:
cpu: "10m"
memory: "16Mi"
---
apiVersion: v1
kind: Service
metadata:
name: my-web-service
spec:
type: NodePort
selector:
app: web
ports:
- protocol: TCP
port: 80
targetPort: 80
nodePort: 30080