forked from innovacion/playground
update manifests
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user