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

updated demployment.yaml

parent 320fd76b
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: afp-warehouse-management-deployment name: afp-warehouse-deployment
spec: spec:
replicas: 2 replicas: 2
selector: selector:
matchLabels: matchLabels:
app: afp-warehouse-management app: afp-warehouse
template: template:
metadata: metadata:
labels: labels:
app: afp-warehouse-management app: afp-warehouse
spec: spec:
containers: containers:
- name: afp-warehouse-management-container - name: afp-warehouse-container
image: nexus.mynisum.com/afp-warehouse-management-backend:5 image: nexus.mynisum.com/afp-warehouse-backend:6
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- containerPort: 8088 - containerPort: 8088
...@@ -32,11 +32,11 @@ spec: ...@@ -32,11 +32,11 @@ spec:
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: afp-warehouse-management-service name: afp-warehouse-service
spec: spec:
type: LoadBalancer type: LoadBalancer
ports: ports:
- port: 8088 - port: 8088
targetPort: 8088 targetPort: 8088
selector: selector:
app: afp-warehouse-management app: afp-warehouse
\ No newline at end of file \ 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