k8s-platform/rendered/symcrest-web/symcrest-web.yaml

79 lines
1.7 KiB
YAML
Raw Normal View History

2026-08-16 02:08:57 +00:00
---
# Source: symcrest-web/templates/service.yaml
apiVersion: v1
kind: Service
metadata:
name: symcrest-web
namespace: apps
spec:
selector:
app: symcrest-web
ports:
- name: http
port: 80
targetPort: 3000
protocol: TCP
---
# Source: symcrest-web/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: symcrest-web
namespace: apps
spec:
2026-09-06 19:59:03 +00:00
revisionHistoryLimit: 3
2026-08-16 02:08:57 +00:00
replicas: 2
selector:
matchLabels:
app: symcrest-web
template:
metadata:
labels:
app: symcrest-web
spec:
imagePullSecrets:
- name: forgejo-registry
nodeSelector:
workload: app
topologySpreadConstraints:
- labelSelector:
matchLabels:
app: symcrest-web
maxSkew: 1
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: DoNotSchedule
2026-08-16 02:08:57 +00:00
containers:
- name: symcrest-web
2026-09-08 22:29:53 +00:00
image: "www.symcrest.com/symcrest/symcrest-web:1.0.13"
2026-08-16 02:08:57 +00:00
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 3000
protocol: TCP
env:
- name: HOST
value: "0.0.0.0"
- name: PORT
value: "3000"
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 10
periodSeconds: 20
resources:
limits:
cpu: 250m
memory: 256Mi
requests:
cpu: 50m
memory: 64Mi