Commit 89eb450e authored by Amena's avatar Amena

Update webapp.yaml

parent c0a57c32
apiVersion: v1
kind: Pod
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: nodeapp
labels:
app: nodeapp
app: myweb
name: myweb
spec:
containers:
- name: nodeapp
image: nginx
ports:
- containerPort: 8080
\ No newline at end of file
replicas: 1
selector:
matchLabels:
app: myweb
template:
metadata:
labels:
app: myweb
spec:
containers:
- image: nginx
imagePullPolicy: Always
name: myweb
\ 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