使用OLM部署操作员时,点击束尺寸限制

发布于 2025-02-06 01:46:49 字数 317 浏览 3 评论 0原文

在使用OLM部署操作员捆绑包时,我会收到以下错误:

level=error msg="File with size ... exceeded 1048576 limit, aborting" file=/bundle/manifests/crd.yaml
Error: error loading manifests from directory: file crd.yaml bigger than total allowed limit
Usage:
  opm alpha bundle extract [flags]

此尺寸限制来自哪里?如何解决?

When deploying my operator bundle using OLM I get the following error:

level=error msg="File with size ... exceeded 1048576 limit, aborting" file=/bundle/manifests/crd.yaml
Error: error loading manifests from directory: file crd.yaml bigger than total allowed limit
Usage:
  opm alpha bundle extract [flags]

Where does this size limit come from and how do I get around this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

野鹿林 2025-02-13 01:46:49

捆绑包具有尺寸限制,因为它们的清单用于创建ConfigMap,并且Kubernetes API不允许大于〜1MB大的配置map。以OLM版本V0.19.0和OPM 1.17.5开始,这些值现在使用gzip压缩,然后使用base64 < /代码>可容纳更大的捆绑包。建议是升级使用的SDK和OLM版本。

Bundles have a size limitation because their manifests are used to create a configMap, and the Kubernetes API does not allow configMaps larger than ~1MB. Beginning with OLM version v0.19.0 and OPM 1.17.5, these values are now compressed using Gzip and then encoded using Base64 to accommodate larger bundles. The recommendation is to upgrade the SDK and OLM versions used.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文