add app set

This commit is contained in:
2025-11-24 16:49:46 +00:00
parent 11214c47f6
commit 87801079b1
7 changed files with 98 additions and 373 deletions

View File

@@ -0,0 +1,35 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: mayacontigo-ocp
labels:
app: mayacontigo-ocp
spec:
replicas: 1
selector:
matchLabels:
app: mayacontigo-ocp
template:
metadata:
labels:
app: mayacontigo-ocp
spec:
imagePullSecrets:
- name: gitea-registry-cred
containers:
- name: mayacontigo-ocp
image: mayacontigo/ocp:latest
ports:
- containerPort: 80
readinessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 15
periodSeconds: 20