github.com/argoproj/argo-cd@v1.8.7/docs/user-guide/orphaned-resources.md (about)

     1  # Orphaned Resources Monitoring
     2  
     3  Orphaned Kubernetes resource is a top-level namespaced resource which does not belong to any Argo CD Application. The Orphaned Resources Monitoring feature allows detecting
     4  orphaned resources, generate a warning and inspect/remove resources using Argo CD UI.
     5  
     6  The Orphaned Resources monitoring is enabled in [Project](projects.md) settings. Once the feature is enabled each project application which target namespace has orphaned resource
     7  will get a warning condition. The orphaned resources can be located using the application details page:
     8  
     9  ![orphaned resources](../assets/orphaned-resources.png)
    10  
    11  Before enabling feature you might consider disabling warning. In this case application users are going to see orphaned resources in the UI but application is won't get a warning condition.
    12  
    13  ## Exceptions
    14  
    15  Not every resource in the Kubernetes cluster is controlled by the end user. Following resources are never considered as orphaned:
    16  
    17  * Namespaced resources denied in the project. Usually, such resources are managed by cluster administrators and not supposed to be modified by namespace user.
    18  * `ServiceAccount` with name `default` ( and corresponding auto-generated `ServiceAccountToken` ).
    19  * `Service` with name `kubernetes` in the `default` namespace.