45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: traceworks-frontend
|
|
namespace: traceworks
|
|
labels:
|
|
app: traceworks-frontend
|
|
spec:
|
|
replicas: 2
|
|
selector:
|
|
matchLabels:
|
|
app: traceworks-frontend
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: traceworks-frontend
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: forgejo-regcred
|
|
containers:
|
|
- name: nginx
|
|
image: ci.nxtgauge.com/admin/traceworks2026-frontend:19700101000000-000000000000
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 80
|
|
name: http
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 80
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 80
|
|
initialDelaySeconds: 15
|
|
periodSeconds: 20
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 256Mi
|