Production Namespace: aicoe-argocd Production Cluster: This information can be found in the internal Runbooks repository.
We have a number of important metrics we are tracking on our operations dashboard. Information on these metrics can be found at Important ArgoCD Metrics.
Check work queue metric, it is possible that thread count is bottlenecked, restart the application controller pod.
This warning indicates that ArgoCD has encountered a resource that is not included as
part of its discovery phase. This resource kind
and apigroup
must be added to
the resource.inclusions
list in prod-vars.yaml.
An example error:
"system:serviceaccount:argocd-manager:argocd-manager" cannot list objectbucketclaims.objectbucket.io in the namespace "example-ns": no RBAC policy matched
This error can occur in one of two ways:
-
The resource is a
CRD
and was removed from the cluster but exists in the inclusions list for that cluster.Verify this by running
$ kubectl api-resources
and seeing if the APIGroup and Resource shows up.Solution: Remove the cluster from this APIGroup and Resource from the inclusions list. See Example PR here.
-
The
serviceaccount
ArgoCD uses to access this cluster does not have read access on this APIGroup and Kind.Solution: the service account being used by ArgoCD (e.g.
argocd-manager
) does not have the appropriate permissions to list the resource in the designated name space. Let the application owner know they need to give the SA more permissions.If the SA is a project admin that needs permissions to this resource, you can try using aggregated clusterroles to aggregate permissions for this resource to project admin.