Skip to content

Commit

Permalink
Create whoami.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
rssnyder authored Jan 3, 2025
1 parent bdb84c2 commit c054f71
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions k8s/whoami.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: whoami
spec:
selector:
matchLabels:
app: whoami
replicas: 1
template:
metadata:
labels:
app: whoami
spec:
containers:
- name: whoami
image: traefik/whoami
ports:
- name: http
containerPort: 80

---
apiVersion: v1
kind: Service
metadata:
name: whoami
spec:
selector:
app: whoami
ports:
- name: http
port: 80
targetPort: http

0 comments on commit c054f71

Please sign in to comment.