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: resources:
- metallb.yaml - metallb.yaml
- longhorn.yaml - longhorn.yaml
# - traefik.yaml - traefik.yaml

View File

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