Files
nginx-portal/k8s/05-frontend.yaml
qorgh529 dedb7af440
Some checks failed
Build and Push Images / build-backend (push) Has been cancelled
feat: Ingress + cert-manager + HTTPS 설정
2026-04-10 20:38:31 +09:00

43 lines
825 B
YAML
Executable File

apiVersion: apps/v1
kind: Deployment
metadata:
name: frontend
namespace: web-portal
spec:
replicas: 1
selector:
matchLabels:
app: frontend
template:
metadata:
labels:
app: frontend
spec:
imagePullSecrets:
- name: gitea-registry-secret
containers:
- name: frontend
image: gitea-http.gitea.svc.cluster.local:3000/qorgh529/portal-frontend:latest
imagePullPolicy: Always
ports:
- containerPort: 80
readinessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 5
periodSeconds: 5
---
apiVersion: v1
kind: Service
metadata:
name: frontend-service
namespace: web-portal
spec:
type: ClusterIP
selector:
app: frontend
ports:
- port: 80
targetPort: 80