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

Too big files in manifest folder are not installed #7688

Closed
vrbgtrhr opened this issue Feb 5, 2025 · 1 comment
Closed

Too big files in manifest folder are not installed #7688

vrbgtrhr opened this issue Feb 5, 2025 · 1 comment

Comments

@vrbgtrhr
Copy link

vrbgtrhr commented Feb 5, 2025

In rke2/server/manifests too big files are not applied, i suppose because they use kubecl apply as said in the docs. I have no problem if i use for example kubectl create

The have stumbled in this isse by trying to place in the manifest folders this files: prometheus-crd . They also have a helm-chart but i'm airgapped and i'm not sure i would work. But if you think it can work i will give it a try.

An update to fix this would be great.

@vrbgtrhr vrbgtrhr changed the title too log files in manifest folder are not installed Too big files in manifest folder are not installed Feb 5, 2025
@brandond
Copy link
Member

brandond commented Feb 5, 2025

This is a limitation imposed by Kubernetes. Apply uses annotations to store data about the most recently applied version of a resource, in order to track changes between runs. If the resource is too large, the data exceeds the maximum resource size and cannot be stored.

I'd probably recommend something else for very large manifests, such as using a HelmChart resource.

@brandond brandond closed this as completed Feb 5, 2025
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

2 participants