diff options
author | clyhtsuriva <aimeric@adjutor.xyz> | 2025-03-24 20:28:59 +0100 |
---|---|---|
committer | clyhtsuriva <aimeric@adjutor.xyz> | 2025-03-24 20:28:59 +0100 |
commit | 471338b9dd3e3cd255bb9f43d7e7d3754f1b1999 (patch) | |
tree | be5cc13a4fbff492c250c0c3be5a25d98e85c86e /kubernetes/traefik/02-traefik.yml | |
parent | 36943b299a26a94c92dbfa16a11a450b04725da1 (diff) |
k8s: add traefik and test app "whoami"
Diffstat (limited to 'kubernetes/traefik/02-traefik.yml')
-rw-r--r-- | kubernetes/traefik/02-traefik.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/kubernetes/traefik/02-traefik.yml b/kubernetes/traefik/02-traefik.yml new file mode 100644 index 0000000..2a6a4d1 --- /dev/null +++ b/kubernetes/traefik/02-traefik.yml @@ -0,0 +1,31 @@ +--- +kind: Deployment +apiVersion: apps/v1 +metadata: + name: traefik-deployment + labels: + app: traefik + +spec: + replicas: 1 + selector: + matchLabels: + app: traefik + template: + metadata: + labels: + app: traefik + spec: + serviceAccountName: traefik-account + containers: + - name: traefik + image: traefik:v3.3 + args: + - --api.insecure + - --providers.kubernetesingress + ports: + - name: web + containerPort: 80 + - name: dashboard + containerPort: 8080 +... |