Hi,
We’re using CircleCI releases feature and like it! However, we found an issue when I restart or scale a component, I got this error:
Attempting to scale namespace.applicationName from 1 replicas to 2 replicas…
Could not get component workload for this component.
Failed to scale component.
Could not execute command. Please check agent logs for details.
If I look at the command executor Pod log, it showed
{
"time": "2024-04-11T23:41:44.806529861Z",
"level": "ERROR",
"msg": "failed to scale component",
"component_slug": "namespace.applicationName",
"current_desired_replicas": 1,
"new_desired_replicas": 2,
"command_id": "752fcc82-2081-470c-84cf-79f09c25d682",
"command_type": "SCALE_COMPONENT",
"command_payload": {
"component_slug": "namespace.applicationName",
"current_desired_replicas": 1,
"new_desired_replicas": 2,
"project_id": "82d6ceca-1848-4116-a7a8-21e46d533e76"
},
"correlation_id": "8800f60f-a1f2-4d19-93cf-6234daf8111b",
"error": "failed to get API group resources: unable to retrieve the complete list of server APIs: argoproj.io/v1alpha1: the server could not find the requested resource"
}
The restore version function works.
A bit of background of our application: we run applications on EKS Fargate. We use Helm to manage our deployments, and we do not have ArgoCD (that’s possibly the reason why I saw this error).
Is there a way that I can fix this issue? Or do I have to adopt ArgoCD to use this feature?