-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SubCtl with --service-discovery failed to join a clusterID, since kubefedctl gets wrong subdomain #194
Comments
This happens when the host cluster name is empty. |
How can one set hostClusterName - is it in kubeconfig ?
Also note, that we can't use the latest kubefedctl - #192 |
@manosnoam Did this work after passing the broker context? |
@aswinsuryan
Only when the clusterid is the same as the broker-cluster-context (i.e. same kubeconfig), then it works. |
The README is updated with this change. |
We also need to make sure this parameter is set where necessary when deploying the cluster, or otherwise offer the user a meaningful error. @aswinsuryan can we add a patch for that? |
Added chcek for broker-cluster-context parameter Signed-off-by: Aswin Surayanarayanan <[email protected]>
Added check for broker-cluster-context parameter Signed-off-by: Aswin Surayanarayanan <[email protected]>
Added the check -> #228 |
Added check for broker-cluster-context parameter Signed-off-by: Aswin Surayanarayanan <[email protected]>
Added check for broker-cluster-context parameter Signed-off-by: Aswin Surayanarayanan <[email protected]>
Added check for broker-cluster-context parameter Signed-off-by: Aswin Surayanarayanan <[email protected]>
Added check for broker-cluster-context parameter Signed-off-by: Aswin Surayanarayanan <[email protected]> (cherry picked from commit fa79517)
SubCtl join (after deploying with --service-discovery) failed to join a clusterID "admin" (the default cluster context name when using OCP installer), since kubefedctl received ServiceAccount as
admin-
("admin" with an added dash), which is not a qualified sub-domain:The text was updated successfully, but these errors were encountered: