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: nginx
app: app
spec: spec:
replicas: 1 replicas: 3
selector: selector:
matchLabels: matchLabels:
app: app app: nginx
tier: frontend template:
template: metadata:
metadata: labels:
labels: app: nginx
app: app spec:
tier: frontend containers:
spec: - name: nginx
containers: image: nginx:1.14.2
- name: app ports:
image: nginx - containerPort: 80
imagePullPolicy: Always \ No newline at end of file
ports:
- containerPort: 80
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