Skip to main content

Akuity Agent Resource Customization

Resource Customization feature allows you to configure how ArgoCD interacts with, monitors, and manages your Kubernetes resources to suit your specific needs.

Providing the Group/Kind of the resource, you can customize the following:

  1. Resource Health
  2. Resource Actions
  3. Ignore Differences

Refer to the corresponding OSS documentation for more information on these features.

Enable Resource Customization

To enable Resource Customization, follow these steps:

  1. Go to Argo CDyour instanceSettingsAgent Resource Customization.

  2. Click on Add New to add a new customization.

    agent-resource-customization

  3. Fill in the applicable fields for the customization:

    • Group/Kind: The API group and kind of the resource you want to customize.
    • Health Check (optional): The health check configuration for the resource.
    • Actions (optional): The resource actions configuration for the resource.
    • Ignore Differences (optional): The ignore differences configuration for the resource.
  4. Click Save to apply the changes.

Cron Job

cron-job

If you would like to create a job from a CronJob, in the ArgoCD UI, you can enable this feature in the Agent Resource Customization settings.

note

Enabling/Disabling this feature will require manually re-applying the cluster manifests for all connected clusters once confirmed.

Follow these steps to enable job creation from CronJobs:

  1. Go to Argo CDyour instanceSettingsAgent Resource Customization.

  2. Toggle the Enable Job creation from CronJobs toggle.

    crob-job-enable

  3. Click Save to apply the changes.

This setting allows you to create a job from the CronJobs in the ArgoCD UI.
It adds the following rules to the akuity-agent ClusterRole in your cluster:

- apiGroups:
- batch
resources:
- jobs
verbs:
- create