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

Chapter 6: Failure to apply tigera-operator.yaml #45

Open
DanielVukelich opened this issue Feb 14, 2025 · 0 comments
Open

Chapter 6: Failure to apply tigera-operator.yaml #45

DanielVukelich opened this issue Feb 14, 2025 · 0 comments

Comments

@DanielVukelich
Copy link

When running kubectl apply -f tigera-operator.yaml in chapter 6, I receive the following error:

The CustomResourceDefinition "installations.operator.tigera.io" is invalid: metadata.annotations: Too long: must have at most 262144 bytes

Attempted solutions:
Following the proposed solution at projectcalico/calico#6491, I ran kubectl create -f tigera-operator.yaml. That didn't quite work, as it complained that certain configurations already existed. I expect that this command might have worked if I did not already run the kubectl apply command previously.

Actual solution:
I used the other proposed command: kubectl replace -f tigera-operator.yaml. This succeeded and I saw all the kubernetes nodes enter a "Ready" status within a few minutes.

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

No branches or pull requests

1 participant