update manifests

This commit is contained in:
Anibal Angulo
2025-11-28 11:08:02 -06:00
parent 5e4a155fed
commit a2a1ac7fa6
3 changed files with 9 additions and 10 deletions

View File

@@ -20,23 +20,20 @@ spec:
containers: containers:
- name: playground - name: playground
image: gitea.ia-innovacion.work/innovacion/playground:latest image: gitea.ia-innovacion.work/innovacion/playground:latest
env: envFrom:
- name: VAULT_TOKEN - secretRef:
valueFrom: name: playground-secret
secretKeyRef:
name: playground-secret
key: VAULT_TOKEN
ports: ports:
- containerPort: 80 - containerPort: 3000
readinessProbe: readinessProbe:
httpGet: httpGet:
path: / path: /
port: 80 port: 3000
initialDelaySeconds: 5 initialDelaySeconds: 5
periodSeconds: 10 periodSeconds: 10
livenessProbe: livenessProbe:
httpGet: httpGet:
path: / path: /
port: 80 port: 3000
initialDelaySeconds: 15 initialDelaySeconds: 15
periodSeconds: 20 periodSeconds: 20

View File

@@ -2,6 +2,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
name: playground-ingress name: playground-ingress
namespace: apps
annotations: annotations:
nginx.ingress.kubernetes.io/rewrite-target: / nginx.ingress.kubernetes.io/rewrite-target: /
spec: spec:

View File

@@ -2,13 +2,14 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: playground-service name: playground-service
namespace: apps
labels: labels:
app: playground app: playground
spec: spec:
type: ClusterIP
selector: selector:
app: playground app: playground
ports: ports:
- port: 80 - port: 80
targetPort: 3000 targetPort: 3000
protocol: TCP protocol: TCP
type: ClusterIP