-
Notifications
You must be signed in to change notification settings - Fork 612
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
Cannot create configmaps greather than 262144 #1301
Comments
as far as I see, I guess this kind of resources should be just kept out of gitops, period, |
Istio should bundle the dashboards inside the Grafana image like Linkerd does https://github.com/linkerd/linkerd2/blob/main/grafana/Dockerfile There is nothing we can do in Flux. |
My bad, forgot about the limit. |
I have same issue but for the We tried the
It works when running locally |
The limitation does not belong to kubectl apply, it comes from etcd. There is an object size limit https://stackoverflow.com/questions/60468110/kubernetes-object-size-limitations The reason you don't experience this limit with If you want Flux to do this, I don't know if it's technically possible, there are other reasons why it might be justified if so; you can open a discussion about it, but making this substantial change to create a workaround for objects that are too large is unlikely to float as a justification for the feature IMHO. I'd argue for this feature based on the idea instead, that some resources should not be given apply semantics, for example in cases where we specifically don't want to merge our annotations with somebody else's. (Edit: I see this discussion was opened already, at #1382) |
There is good news: with Server Side Apply now, after Flux 0.26, there is no longer any need for applies to maintain a full copy of the resource stored in a So this limitation is abated significantly now. There is a keys-only structure in metadata called The practical limit is still going to be based on etcd. But there is no reason to switch to |
I've seen a similar issue, linked to another one but still no real answer to the problem.
The case is creating a configmap with grafana dashboards in it, ending with:
The ConfigMap "istio-dashboards" is invalid: metadata.annotations: Too long: must have at most 262144 bytes
Is there a way to overcome this issue?
Thank you
The text was updated successfully, but these errors were encountered: