Gave kube-vip entire cidr range and fix traefik static ip
This commit is contained in:
@@ -3,6 +3,5 @@ kind: ConfigMap
|
||||
metadata:
|
||||
name: kubevip
|
||||
data:
|
||||
# 10.0.2.1 is reserved for control plane
|
||||
# 10.0.2.2 is reserved for traefik
|
||||
range-global: 10.0.2.3-10.0.2.254
|
||||
# Can't use cidr-range as 10.0.2.1 is reserved for the control plane
|
||||
range-global: 10.0.2.2-10.0.2.254
|
||||
|
||||
@@ -50,14 +50,8 @@ spec:
|
||||
tls:
|
||||
secretName: ${domain//./-}-tls
|
||||
|
||||
# This is needed in order to properly forward the real ip to each service
|
||||
# There are likely better ways of handling that, but for now this works
|
||||
# TODO(Tim): Figure out how to properly forward the IP
|
||||
# hostNetwork: true
|
||||
service:
|
||||
annotations:
|
||||
kube-vip.io/loadbalancerIPs: 10.0.2.2
|
||||
spec:
|
||||
externalTrafficPolicy: Local
|
||||
# updateStrategy:
|
||||
# rollingUpdate:
|
||||
# maxUnavailable: 2
|
||||
# maxSurge: 0
|
||||
|
||||
Reference in New Issue
Block a user