Skip to content
English
  • There are no suggestions because the search field is empty.

ExcludedResourceWarning - Error Applying Resources

How to resolve "ExcludedResourceWarning"

Argo CD resources are showing an ExcludedResourceWarning error when attempting to sync to the cluster.

Error Message:

Example manifest:

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: helm-guestbook
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/argoproj/argocd-example-apps.git
path: helm-guestbook
targetRevision: HEAD
destination:
server: https://kubernetes.default.svc
# name: in-cluster
namespace: dev
---
status:
conditions:
- message: Resource apps/Deployment helm-guestbook is excluded in the settings
type: ExcludedResourceWarning
- message: Resource /Service guestbook-helm-guestbook is excluded in the settings
type: ExcludedResourceWarning

The Akuity Platform separates Argo CD's control plane from the data plane.

  • The control plane (where the UI and API run) only hosts Argo CD resources (Application, AppProject, ApplicationSet).
  • The Application Controller runs in managed clusters where all workload resources (Deployments, Services, ConfigMaps, etc.) must be deployed.

Change the resource destination to deploy to a managed workload cluster instead of the control plane.

spec:
destination:
server: <your-managed-cluster-url>
# name: <your-managed-cluster-name>
namespace: <target-namespace>