clusterName shows unnamedcluster in Resource properties of Linux® OS plug-in
Troubleshoot the issue that
unnamedcluster in Resource properties of Linux® OS plug-in.
After you install Monitoring DataProvider Management, Linux® OS plug-in is automatically enabled. In the IBM Cloud Pak for Multicloud Management console, click Monitor health > Infrastructure monitoring, and then click Linux Systems. Click one worker node of your managed cluster. It is observed that clusterName shows unnamedcluster in Resource properties section.
k8sdc dependent resource is created after the creation of UA daemonset.
Resolving the problem
- On your managed cluster, do one of the following options.
- Option 1: Manually delete UA pods one by one.
- Option 2: Modify Linux® OS plug-in CR to make sure that daemonset restarts automatically.
a. Run the following command to edit CR:
b. Set enabled to false, and then save the CR.
kubectl edit ua ua-linuxos -n cp4mcm-cloud-native-monitoring
c. Edit the CR again to set enabled to true, and then save it.
You can see that
ua-cloud-monitoringpods are restarted in
cp4mcm-cloud-native-monitoringnamespace on your managed cluster.
clusterNameshows correct value in the console.