fix(traefik): specify host ip for ports
This commit is contained in:
parent
59a42f1c63
commit
90e417ac1f
|
@ -55,11 +55,39 @@ spec:
|
|||
spec:
|
||||
loadBalancerIP: "192.168.87.10"
|
||||
|
||||
# ports:
|
||||
# traefik:
|
||||
# port: 9000
|
||||
# expose: true
|
||||
# exposedPort: 9000
|
||||
# # The port protocol (TCP/UDP)
|
||||
# protocol: TCP
|
||||
# web:
|
||||
# port: 8000
|
||||
# expose: true
|
||||
# exposedPort: 80
|
||||
# redirectTo: websecure
|
||||
# protocol: TCP
|
||||
# websecure:
|
||||
# port: 8443
|
||||
# expose: true
|
||||
# exposedPort: 443
|
||||
# protocol: TCP
|
||||
# tls:
|
||||
# enabled: true
|
||||
# #certResolver: cloudflare
|
||||
# metrics:
|
||||
# port: 9100
|
||||
# expose: true
|
||||
# exposedPort: 9100
|
||||
# protocol: TCP
|
||||
|
||||
ports:
|
||||
traefik:
|
||||
port: 9000
|
||||
expose: true
|
||||
exposedPort: 9000
|
||||
hostIP: 192.168.87.10
|
||||
# The port protocol (TCP/UDP)
|
||||
protocol: TCP
|
||||
web:
|
||||
|
@ -67,19 +95,20 @@ spec:
|
|||
expose: true
|
||||
exposedPort: 80
|
||||
redirectTo: websecure
|
||||
hostIP: 192.168.87.10
|
||||
protocol: TCP
|
||||
websecure:
|
||||
port: 8443
|
||||
expose: true
|
||||
exposedPort: 443
|
||||
hostIP: 192.168.87.10
|
||||
protocol: TCP
|
||||
tls:
|
||||
enabled: true
|
||||
#certResolver: cloudflare
|
||||
metrics:
|
||||
port: 9100
|
||||
expose: true
|
||||
exposedPort: 9100
|
||||
expose: false
|
||||
protocol: TCP
|
||||
|
||||
# Disable Dashboard
|
||||
|
|
Loading…
Reference in New Issue