-
Notifications
You must be signed in to change notification settings - Fork 271
Description
Hi There, I am trying to adopt the scaling policy & scalable target from one eks cluster to another, after adopting it on another cluster, I am getting this error in ack-controller logs:
2025-03-10T13:00:05.584Z ERROR Reconciler error {"controller": "adoptedresource", "controllerGroup": "services.k8s.aws", "controllerKind": "AdoptedResource", "AdoptedResource": {"name":"ack-scalable-target-custom-test-policy","namespace":"test-scaling"}, "namespace": "test-scaling", "name": "ack-scalable-target-custom-test-policy", "reconcileID": "122a6e29-32a0-346a-bb82-74bd0d1ffc67", "error": "resource manager factory not found"}
The describe output of scaling-policy & scalable-target both are below:
Conditions: Last Transition Time: 2025-03-10T13:58:49Z Message: Resource already exists Reason: This resource already exists but is not managed by ACK. To bring the resource under ACK management, you should explicitly adopt the resource by creating a services.k8s.aws/AdoptedResource Status: True Type: ACK.Terminal Last Transition Time: 2025-03-10T13:58:49Z Message: Resource not synced Reason: resource is in terminal condition Status: False Type: ACK.ResourceSynced
These are the ack-controller & application-autoscaling controller version:
Application-autoscaling: public.ecr.aws/aws-controllers-k8s/applicationautoscaling-controller:v1.0.2
ACK-controller: public.ecr.aws/aws-controllers-k8s/sagemaker-controller:v1.2.0