File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Create Traefik LoadBalancer Service
2
+
3
+ ``` shell
4
+ helm repo add traefik https://traefik.github.io/charts
5
+ helm repo update
6
+ helm install --namespace traefik --create-namespace traefik traefik/traefik
7
+ ```
8
+
9
+ For Internal LB add appropriate annotation as per your cloud provider. e.g. Digitalocean:
10
+
11
+ ``` shell
12
+ helm upgrade --install --namespace traefik --create-namespace --set service.annotations." service\.beta\.kubernetes\.io/do-loadbalancer-network" =" INTERNAL" traefik traefik/traefik
13
+ ```
14
+
15
+ # Create kubernetes/ingress-nginx LoadBalancer Service
16
+
17
+ ``` shell
18
+ helm upgrade --install ingress-nginx ingress-nginx \
19
+ --repo https://kubernetes.github.io/ingress-nginx \
20
+ --namespace ingress-nginx --create-namespace
21
+ ```
22
+
23
+ For Internal LB add appropriate annotation as per your cloud provider. e.g. Digitalocean:
24
+
25
+ ``` shell
26
+ helm upgrade --install ingress-nginx ingress-nginx \
27
+ --repo https://kubernetes.github.io/ingress-nginx \
28
+ --namespace ingress-nginx --create-namespace \
29
+ --set service.annotations." service\.beta\.kubernetes\.io/do-loadbalancer-network" =" INTERNAL"
30
+ ```
31
+
32
+ Reference:
33
+
34
+ - https://github.com/traefik/traefik-helm-chart/blob/master/traefik/values.yaml
35
+ - https://kubernetes.github.io/ingress-nginx/deploy/#quick-start
36
+ - https://docs.digitalocean.com/products/kubernetes/how-to/configure-load-balancers/#internal-load-balancer
You can’t perform that action at this time.
0 commit comments