Commit 89eb450e authored by Amena's avatar Amena

Update webapp.yaml

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