Show pageOld revisionsBacklinksAdd to bookExport to PDFBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. Documentazione: https://doc.traefik.io/traefik/getting-started/install-traefik/#use-the-helm-chart <code> ubuntu@kubectl:~$ helm repo add traefik https://traefik.github.io/charts ubuntu@kubectl:~$ helm repo update helm show values traefik/traefik > traefik.yaml </code> Abilitare la persistenza modificando queste voci (opure nell'ambiente di test usare una directory in /mnt/cephfs): <code> persistence: enabled: true storageClass: "csi-rbd-sc" </code> a questo punto di può fare il deploy del chart <code> helm install traefik traefik/traefik --values traefik.yaml -n traefik --create-namespace </code> Check che risulta "deployed" <code> ubuntu@kubectl:~$ helm list -n traefik NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION traefik traefik 1 2024-10-31 11:49:54.200836173 +0000 UTC deployed traefik-33.0.0 v3.2.0 </code> A questo punto volevo collegarmi alla Dashbord. https://github.com/traefik/traefik-helm-chart/blob/master/EXAMPLES.md#access-traefik-dashboard-without-exposing-it Innanzitutto ho scordato di attivarla. Per evitare di effettuare un nuovo deploy, cerco nello yaml della configurazione qual è il percorso del parametro, l'abilito e verifico in questo modo: <code> ubuntu@kubectl:~$ helm upgrade traefik traefik/traefik -n traefik --set ingressRoute.dashboard.enabled=true ubuntu@kubectl:~$ helm get values traefik -n traefik USER-SUPPLIED VALUES: ingressRoute: dashboard: enabled: true </code> Per arrivare alla dashboard, che non è esposta, devo creare un port-forwarding dalla mia macchina verso Kubernetes: <code> ubuntu@kubectl:~$ kubectl -n traefik port-forward pod/traefik-6d574648c7-vfllz 8080:8080 </code> A questo punto http://localhost:8080/dashboard/ mi porta alla dashboard. kubernetes/traefik.txt Last modified: 2024/12/12 16:15by igor