aboutsummaryrefslogtreecommitdiff
path: root/kubernetes/traefik/03-whoami.yml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/traefik/03-whoami.yml')
-rw-r--r--kubernetes/traefik/03-whoami.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/kubernetes/traefik/03-whoami.yml b/kubernetes/traefik/03-whoami.yml
new file mode 100644
index 0000000..8b21f67
--- /dev/null
+++ b/kubernetes/traefik/03-whoami.yml
@@ -0,0 +1,25 @@
+---
+kind: Deployment
+apiVersion: apps/v1
+metadata:
+ name: whoami
+ labels:
+ app: whoami
+
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: whoami
+ template:
+ metadata:
+ labels:
+ app: whoami
+ spec:
+ containers:
+ - name: whoami
+ image: traefik/whoami
+ ports:
+ - name: web
+ containerPort: 80
+...