Refactor Kubernetes configuration for Traefik and mailserver stack

This commit is contained in:
2024-06-26 09:11:06 +08:00
parent 70f3a007fc
commit d97924e7e7
8 changed files with 155 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
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