1.14.2. Resolving the problem: Troubleshooting local cluster not selected
To resolve this issue, you need to grant the deployable administrative permission in the local-cluster namespace. Complete the following steps:
Confirm that the list of managed clusters does include
local-cluster, and that the placement ruledecisionslist does not display the local cluster. Run the following command and view the results:% oc get managedclusters
% oc get managedclustersCopy to Clipboard Copied! Toggle word wrap Toggle overflow NAME HUB ACCEPTED MANAGED CLUSTER URLS JOINED AVAILABLE AGE local-cluster true True True 56d cluster1 true True True 16h
NAME HUB ACCEPTED MANAGED CLUSTER URLS JOINED AVAILABLE AGE local-cluster true True True 56d cluster1 true True True 16hCopy to Clipboard Copied! Toggle word wrap Toggle overflow Copy to Clipboard Copied! Toggle word wrap Toggle overflow Create a
Rolein your.yamlfile to grant the deployable administrative permission in thelocal-clusternamespace. See the following example:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Create a
RoleBindingresource to grant the placement rule user access to thelocal-clusternamespace. See the following example:Copy to Clipboard Copied! Toggle word wrap Toggle overflow