Skip to content

Commit

Permalink
Switch to metallb loadbalancer instead of using host ports
Browse files Browse the repository at this point in the history
  • Loading branch information
kzh committed Jul 4, 2020
1 parent c319b97 commit fd08828
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
15 changes: 0 additions & 15 deletions kubernetes/helm/traefik.yaml
Expand Up @@ -6,21 +6,6 @@ ingressRoute:
dashboard:
enabled: false

service:
type: ClusterIP
spec:
clusterIP: None

ports:
traefik:
expose: true
web:
port: 8000
hostPort: 80
websecure:
port: 8443
hostPort: 443

additionalArguments:
- "--entryPoints.web.address=:8000"
- "--entryPoints.web.http.redirections.entryPoint.to=:443"
Expand Down
12 changes: 12 additions & 0 deletions kubernetes/resources/metallb.yaml
@@ -0,0 +1,12 @@
apiVersion: v1
kind: ConfigMap
metadata:
namespace: metallb-system
name: config
data:
config: |
address-pools:
- name: default
protocol: layer2
addresses:
- 147.135.71.219/32

0 comments on commit fd08828

Please sign in to comment.