Files
studio-admin-fe/studio-admin-fe.yaml
T

49 lines
1003 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: studio-admin-fe
namespace: studio-system
spec:
replicas: 1
selector:
matchLabels:
app: studio-admin-fe
template:
metadata:
labels:
app: studio-admin-fe
spec:
containers:
- name: studio-admin-fe
image: localhost:5000/studio-admin-fe:0.1.0
imagePullPolicy: Always
ports:
- containerPort: 80
readinessProbe:
httpGet:
path: /health
port: 80
initialDelaySeconds: 3
periodSeconds: 5
livenessProbe:
httpGet:
path: /health
port: 80
initialDelaySeconds: 10
periodSeconds: 10
---
apiVersion: v1
kind: Service
metadata:
name: studio-admin-fe
namespace: studio-system
spec:
type: NodePort
selector:
app: studio-admin-fe
ports:
- name: http
port: 80
targetPort: 80
nodePort: 30080