Skip to content

Commit

Permalink
Added labels to the pod
Browse files Browse the repository at this point in the history
  • Loading branch information
qtsathish committed Apr 10, 2021
1 parent 262c20a commit 8935697
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions April21/labels/nginx_labels.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
apiVersion: v1
kind: Pod
metadata:
name: label-demo1
labels:
environment: developer
team: infra-ops
project: qt-ecommerce
spec:
containers:
- name: nginx-container
image: nginx
ports:
- containerPort: 80
protocol: TCP

0 comments on commit 8935697

Please sign in to comment.