Commit 4b2d6454 authored by Amena's avatar Amena

Update webapp.yaml

parent a62508f6
apiVersion: apps/v1beta1
kind: Deployment
apiVersion: v1
kind: Service
metadata:
name: nginx-deployment
labels:
app: nginx
app: faces-ui
name: faces-ui
namespace: dev-ns
spec:
replicas: 3
ports:
- port: 8081
protocol: TCP
targetPort: 8081
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
\ No newline at end of file
app: faces-ui
sessionAffinity: None
type: ClusterIP
\ 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