- application.yaml: ArgoCD Application resource (manual sync for now, same pattern as nextgen-be) - manifests/: namespace, deployment, service, ingress
50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: nextgen-fe
|
|
namespace: nextgen-fe
|
|
labels:
|
|
app: nextgen-fe
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: nextgen-fe
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: nextgen-fe
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: registry-credentials
|
|
containers:
|
|
- name: nextgen-fe
|
|
image: gitea.infrastructure.helmholz.cloud/gitea_admin/nextgen-fe:latest
|
|
ports:
|
|
- containerPort: 80
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 80
|
|
initialDelaySeconds: 3
|
|
periodSeconds: 10
|
|
timeoutSeconds: 3
|
|
failureThreshold: 3
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 80
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 20
|
|
timeoutSeconds: 3
|
|
failureThreshold: 3
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 64Mi
|
|
limits:
|
|
cpu: 250m
|
|
memory: 128Mi
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|