-
Bug
-
Resolution: Done
-
Major
-
None
-
ACM 2.10.0
-
False
-
-
False
-
-
-
Moderate
-
No
Description of problem:
When the code change of 8509 is involved, there's no ManagedClusterAddOn on the hub for the local-clsuter(selfmanagement is disabled), so create the addonDeploymentConfig, and add it into the ManagedClusterAddOn to specify the endpoint operator and metrics collector is not working now.
Need Dev to confirm it's working as designed now, or take it as the issue.
Version-Release number of selected component (if applicable): FC0
How reproducible:
Steps to Reproduce:
- Enabled the observbaility in the ACM with selfmanagement is disabled
- create AddOnDeploymentConfig to specify one node name
```
apiVersion: addon.open-cluster-management.io/v1alpha1
kind: AddOnDeploymentConfig
metadata:
name: observability
namespace: open-cluster-management-observability
spec:
nodePlacement:
nodeSelector:
kubernetes.io/hostname: ip-10-0-49-135.us-east-2.compute.internal
``` - add the AddOnDeploymentConfig into the ManagedClusterAddOn
```
apiVersion: addon.open-cluster-management.io/v1alpha1
kind: ManagedClusterAddOn
metadata:
name: observability-controller
namespace: open-cluster-management-observability
spec:
configs:
- group: addon.open-cluster-management.io
resource: addondeploymentconfigs
name: observability
namespace: open-cluster-management-observability
``` - the endpoint operator and metrics collector are not running on the specified node.
- add the AddOnDeploymentConfig into the ClusterManagementAddOn is also not working, endpoint operator and metrics collector are not running on the specified node as well
```
apiVersion: addon.open-cluster-management.io/v1alpha1
kind: ClusterManagementAddOn
metadata:
name: observability-controller
spec:
addOnMeta:
displayName: observability-controller
description: observability-controller
supportedConfigs:
- group: addon.open-cluster-management.io
resource: addondeploymentconfigs
defaultConfig:
name: observability
namespace: open-cluster-management-observability
```