careful-article-61190
11/11/2022, 6:35 PMkubectl -n cattle-system patch deployments cattle-cluster-agent --patch '{
"spec": {
"template": {
"spec": {
"hostAliases": [
{
"hostnames":
[
"<http://stage-k8senv1.xxx.se|stage-k8senv1.xxx.se>"
],
"ip": "172.20.10.100"
},
{
"hostnames":
[
"<http://stage-k8senv1.xxx.se|stage-k8senv1.xxx.se>"
],
"ip": "172.20.10.101"
}
]
}
}
}
}'
Which allows cluster agent to connect. Any permanent solution? when we create downstreame cluster in rancher it should work out of the box?creamy-pencil-82913
11/11/2022, 6:41 PMcareful-article-61190
11/11/2022, 6:45 PMcreamy-pencil-82913
11/11/2022, 7:05 PMcareful-article-61190
11/11/2022, 7:29 PM