this router cnfig works
This commit is contained in:
@@ -18,9 +18,17 @@ data:
|
||||
"type":"bridge",
|
||||
"bridge":"kube-bridge",
|
||||
"isDefaultGateway":true,
|
||||
"hairpinMode":true,
|
||||
"ipam":{
|
||||
"type":"host-local"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type":"portmap",
|
||||
"capabilities":{
|
||||
"snat":true,
|
||||
"portMappings":true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -48,8 +56,13 @@ spec:
|
||||
args:
|
||||
- "--run-router=true"
|
||||
- "--run-firewall=true"
|
||||
- "--run-service-proxy=true"
|
||||
- "--run-service-proxy=false"
|
||||
- "--bgp-graceful-restart=true"
|
||||
- "--hairpin-mode=true"
|
||||
- "--enable-cni=true"
|
||||
- "--advertise-cluster-ip"
|
||||
- "--advertise-external-ip"
|
||||
- "--advertise-loadbalancer-ip"
|
||||
- "--kubeconfig=/var/lib/kube-router/kubeconfig"
|
||||
securityContext:
|
||||
privileged: true
|
||||
|
||||
Reference in New Issue
Block a user