Updated traefik script

This commit is contained in:
Sambo Chea 2021-12-29 14:35:13 +07:00
parent fa0ef34f30
commit d564c2350f
Signed by: sombochea
GPG Key ID: 3C7CF22A05D95490

View File

@ -7,6 +7,14 @@ helm install --namespace=traefik-v2 \
traefik traefik/traefik traefik traefik/traefik
``` ```
OR
```shell
helm upgrade --install traefik traefik/traefik --create-namespace -n traefik \
--set "ports.websecure.tls.enabled=true" \
--set "providers.kubernetesIngress.publishedService.enabled=true"
```
```shell ```shell
kubectl port-forward $(kubectl get pods --namespace traefik-v2 --selector "app.kubernetes.io/name=traefik" --output=name) --namespace traefik-v2 9000:9000 kubectl port-forward $(kubectl get pods --namespace traefik-v2 --selector "app.kubernetes.io/name=traefik" --output=name) --namespace traefik-v2 9000:9000
``` ```