Commit 4b2d6454 authored by Amena's avatar Amena

Update webapp.yaml

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