Files
FrontOffice/k8s/production/frontoffice-deployment.yaml
T
masoodafar-web 764742dbe7
Build and Deploy to Production / build-and-deploy (push) Failing after 1s
chore(infra): point staging registry to 185.252.31.44; keep prod K8S on 45.149.79.127
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 15:17:07 +03:30

57 lines
1.1 KiB
YAML

---
# FrontOffice (Blazor Server) production.
apiVersion: apps/v1
kind: Deployment
metadata:
name: frontoffice
namespace: default
labels:
app: frontoffice
environment: production
spec:
replicas: 1
selector:
matchLabels:
app: frontoffice
template:
metadata:
labels:
app: frontoffice
spec:
containers:
- name: frontoffice
image: 185.252.31.44:30080/admin/frontoffice:prod
imagePullPolicy: Always
ports:
- containerPort: 80
name: http
env:
- name: ASPNETCORE_ENVIRONMENT
value: "Production"
resources:
requests:
memory: "256Mi"
cpu: "250m"
limits:
memory: "512Mi"
cpu: "500m"
imagePullSecrets:
- name: gitea-registry-secret
---
apiVersion: v1
kind: Service
metadata:
name: frontoffice-svc
namespace: default
labels:
app: frontoffice
spec:
selector:
app: frontoffice
ports:
- port: 80
targetPort: 80
name: http
type: ClusterIP