phase 2
This commit is contained in:
44
ctrl/k8s/base/detection-ui.yaml
Normal file
44
ctrl/k8s/base/detection-ui.yaml
Normal file
@@ -0,0 +1,44 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: detection-ui
|
||||
namespace: mpr
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: detection-ui
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: detection-ui
|
||||
spec:
|
||||
containers:
|
||||
- name: detection-ui
|
||||
image: mpr-detection
|
||||
ports:
|
||||
- containerPort: 5175
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: mpr-config
|
||||
env:
|
||||
- name: VITE_ALLOWED_HOSTS
|
||||
value: "k8s.mpr.local.ar"
|
||||
resources:
|
||||
requests:
|
||||
memory: 64Mi
|
||||
cpu: 50m
|
||||
limits:
|
||||
memory: 256Mi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: detection-ui
|
||||
namespace: mpr
|
||||
spec:
|
||||
selector:
|
||||
app: detection-ui
|
||||
ports:
|
||||
- port: 5175
|
||||
targetPort: 5175
|
||||
Reference in New Issue
Block a user