diff --git a/studio-admin-fe.yaml b/studio-admin-fe.yaml new file mode 100644 index 0000000..5bdee19 --- /dev/null +++ b/studio-admin-fe.yaml @@ -0,0 +1,48 @@ +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