troubleshooting

Why do we need annotations for a CRD and how can we resolve issues related to annotation size when applying resources using ArgoCD?

Xiayang Wu mentioned the need for annotations for a CRD and discussed resolving issues related to annotation size when applying resources using ArgoCD. What is the significance of annotations for a CRD and how can we address problems with annotation size during resource application with ArgoCD?

Ni

Nizar Hejazi

Asked on Jun 22, 2023

  • Annotations for a CRD can provide metadata or configuration information about the custom resource.
  • When applying resources using ArgoCD, the last-applied-configuration annotation is automatically added to the resource, which can cause issues if the annotation size is too large.
  • To resolve issues related to annotation size when applying resources with ArgoCD, consider using server-side apply instead of the default apply method.
  • Server-side apply can help avoid problems with large annotations by handling the resource application differently.
Jun 22, 2023Edited by