Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CDAP 18854] Applying CRD fails with error: metadata.annotations: Too long: must have at most 262144 bytes #84

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ghost
Copy link

@ghost ghost commented Feb 14, 2022

Add --server-side flag to kubectl apply call made by make install.
Why: This prevents last update annotation from being added and fixes the issue.
Tried to replace kubectl apply with kubectl delete + create, however when we delete CRD, even CR is deleted due to owner reference. This in turn deletes all the statefulsets, deployments and configmaps.
Ref: Server side apply

@ghost ghost requested review from dli357 and wyzhang February 14, 2022 18:03
@arjan-bal arjan-bal force-pushed the fix/make-install-failure branch from 9ce909e to 225b916 Compare October 10, 2022 11:29
@arjan-bal arjan-bal force-pushed the fix/make-install-failure branch from 225b916 to ffd598c Compare October 10, 2022 11:31
@arjan-bal arjan-bal requested a review from rahul1995 October 10, 2022 11:32
@arjan-bal arjan-bal self-assigned this Oct 10, 2022
@arjan-bal arjan-bal removed their assignment Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants