Update deployment.yaml

parent 04083fed
apiVersion: apps/v1
kind: Deployment
metadata:
name: afp-ecom-front-deployment
name: afp-ecom-ui-deployment
spec:
replicas: 2
selector:
matchLabels:
app: afp-ecom-front
app: afp-ecom-ui
template:
metadata:
labels:
app: afp-ecom-front
app: afp-ecom-ui
spec:
containers:
- name: afp-ecom-front-container
image: nexus.mynisum.com/afp-ecom-front:1
- name: afp-ecom-ui-container
image: nexus.mynisum.com/afp-ecom-ui:1
imagePullPolicy: Always
ports:
- containerPort: 8085
......@@ -27,11 +27,11 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: afp-ecom-front-service
name: afp-ecom-ui-service
spec:
type: LoadBalancer
ports:
- port: 8085
targetPort: 8080
selector:
app: afp-ecom-front
\ No newline at end of file
app: afp-ecom-ui
\ 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