forked from innovacion/playground
40 lines
888 B
YAML
40 lines
888 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: playground
|
|
namespace: apps
|
|
labels:
|
|
app: playground
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: playground
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: playground
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: gitea-registry-cred
|
|
containers:
|
|
- name: playground
|
|
image: gitea.ia-innovacion.work/innovacion/playground:latest
|
|
envFrom:
|
|
- secretRef:
|
|
name: playground-secret
|
|
ports:
|
|
- containerPort: 3000
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 3000
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 3000
|
|
initialDelaySeconds: 15
|
|
periodSeconds: 20
|