Fixing service structure in deployment file base

This commit is contained in:
Tengku Achmad 2025-11-24 16:46:04 +07:00
parent 8daa60cc77
commit b8ed3c1ed7
3 changed files with 0 additions and 11 deletions

View File

@ -61,7 +61,6 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: backend-service name: backend-service
# namespace: intern-workspace
labels: labels:
app: employee-backend app: employee-backend
spec: spec:
@ -72,7 +71,3 @@ spec:
protocol: TCP protocol: TCP
selector: selector:
app: employee-backend app: employee-backend
template:
spec:
containers:
- image: docker.io/adelyao/employee-be:test

View File

@ -73,7 +73,3 @@ spec:
protocol: TCP protocol: TCP
selector: selector:
app: employee-frontend app: employee-frontend
template:
spec:
containers:
- image: docker.io/adelyao/employee-fe:test

View File

@ -8,7 +8,6 @@ spec:
spec: spec:
containers: containers:
- name: employee-backend - name: employee-backend
imagePullPolicy: Always
env: env:
- name: NODE_ENV - name: NODE_ENV
value: "development" value: "development"
@ -26,7 +25,6 @@ spec:
spec: spec:
containers: containers:
- name: employee-frontend - name: employee-frontend
imagePullPolicy: Always
env: env:
- name: VITE_API_URL - name: VITE_API_URL
value: "http://backend-service:4000" value: "http://backend-service:4000"