Commit 9e086f33 authored by Alex Pinto's avatar Alex Pinto

updated demployment.yaml

parent 320fd76b
apiVersion: apps/v1
kind: Deployment
metadata:
name: afp-warehouse-management-deployment
name: afp-warehouse-deployment
spec:
replicas: 2
selector:
matchLabels:
app: afp-warehouse-management
app: afp-warehouse
template:
metadata:
labels:
app: afp-warehouse-management
app: afp-warehouse
spec:
containers:
- name: afp-warehouse-management-container
image: nexus.mynisum.com/afp-warehouse-management-backend:5
- name: afp-warehouse-container
image: nexus.mynisum.com/afp-warehouse-backend:6
imagePullPolicy: Always
ports:
- containerPort: 8088
......@@ -32,11 +32,11 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: afp-warehouse-management-service
name: afp-warehouse-service
spec:
type: LoadBalancer
ports:
- port: 8088
targetPort: 8088
selector:
app: afp-warehouse-management
\ No newline at end of file
app: afp-warehouse
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment