Files
gitops/apps/myapp/base/service.yaml
Multi-Environment Setup fc5c6de051 feat: restructure GitOps for multi-environment deployment
- Add apps/myapp/base with deployment, service, httproute
- Add apps/myapp/overlays/staging (1 replica, 128Mi/256Mi, staging hostname)
- Add apps/myapp/overlays/production (2 replicas, 256Mi/512Mi, prod hostname)
- Remove old apps/sample-webapp structure

Structure follows folder-per-environment pattern with Kustomize overlays.
2026-02-01 22:48:59 +01:00

14 lines
175 B
YAML

apiVersion: v1
kind: Service
metadata:
name: myapp
labels:
app: myapp
managed-by: argocd
spec:
selector:
app: myapp
ports:
- port: 80
targetPort: 80