Commit c07a11ed authored by Amena's avatar Amena

Update webapp.yaml

parent bff81deb
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: app name: nginx-deployment
namespace: sre-spf
labels: labels:
app: app app: nginx
spec: spec:
replicas: 1 replicas: 3
selector: selector:
matchLabels: matchLabels:
app: app app: nginx
tier: frontend
template: template:
metadata: metadata:
labels: labels:
app: app app: nginx
tier: frontend
spec: spec:
containers: containers:
- name: app - name: nginx
image: nginx image: nginx:1.14.2
imagePullPolicy: Always
ports: ports:
- containerPort: 80 - containerPort: 80
\ No newline at end of file
name: app
\ 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