fleet
fleet copied to clipboard
dev-scripts: Change apiServerURL for setup-fleet-downstream
The dev scripts failed to work on a customized setup of docker where /etc/docker/daemon.json
contains the following JSON to prevent conflicts on the host with a different configuration.
{
"bip": "172.26.0.1/16",
"default-address-pools": [
{
"base": "172.27.0.0/16",
"size": 24
},
{
"base": "172.28.0.0/16",
"size": 24
},
{
"base": "172.29.0.0/16",
"size": 24
},
{
"base": "172.30.0.0/16",
"size": 24
},
{
"base": "172.31.0.0/16",
"size": 24
},
{
"base": "172.32.0.0/16",
"size": 24
}
]
}
The update makes the certificate usable for the internal DNS name of the upstream cluster. The apiServerURL
is then configured to talk to the upstream server directly rather than through the bridge of the host.
Refers to #XXX
I hope this configuration will be more reliable across different systems than the previous one(s) due to the fact that the communication is internal and uses the internal DNS names.