feat: deploy traefik

feat: deploy traefik
This commit is contained in:
2024-11-04 19:19:10 -05:00
parent bd4fc25252
commit b862c22c43
2 changed files with 21 additions and 23 deletions

View File

@@ -3,4 +3,4 @@ kind: Kustomization
resources:
- metallb.yaml
- longhorn.yaml
# - traefik.yaml
- traefik.yaml

View File

@@ -38,28 +38,26 @@ spec:
value: "ingress"
effect: "NoSchedule"
service:
type: ClusterIP
type: LoadBalancer
ingressRoute:
dashboard:
enabled: true
---
# Done with the help of claude
apiVersion: v1
kind: Service
metadata:
name: traefik-external
namespace: traefik-system
spec:
type: ClusterIP
externalIPs:
- "128.199.163.115"
ports:
- name: web
port: 80
targetPort: 8000
- name: websecure
port: 443
targetPort: 8443
selector:
app.kubernetes.io/name: traefik
app.kubernetes.io/instance: traefik
# ---
# # Done with the help of claude
# apiVersion: v1
# kind: Service
# metadata:
# name: traefik-external
# namespace: traefik-system
# spec:
# type: LoadBalancer
# ports:
# - name: web
# port: 80
# targetPort: web
# - name: websecure
# port: 443
# targetPort: websecure
# selector:
# app.kubernetes.io/name: traefik
# app.kubernetes.io/instance: traefik