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 ports:
- port: 8081
protocol: TCP
targetPort: 8081
selector: selector:
matchLabels: app: faces-ui
app: nginx sessionAffinity: None
template: type: ClusterIP
metadata: \ No newline at end of file
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
\ 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