40 lines
792 B
YAML
40 lines
792 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: studio-auth-be
|
|
namespace: studio-system
|
|
spec:
|
|
selector:
|
|
app: studio-auth-be
|
|
ports:
|
|
- name: http
|
|
port: 4100
|
|
targetPort: 4100
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: studio-auth-be
|
|
namespace: studio-system
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: studio-auth-be
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: studio-auth-be
|
|
spec:
|
|
containers:
|
|
- name: studio-auth-be
|
|
image: localhost:5000/studio-auth-be:0.1.0
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 4100
|
|
envFrom:
|
|
- configMapRef:
|
|
name: studio-auth-be-env
|
|
- secretRef:
|
|
name: studio-auth-be-env
|