TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: A Kubernetes Controller that installs CRDs

3 点作者 skarlso将近 2 年前
Hello everyone. :)<p>I&#x27;m not sure anyone is interested in such a thing, but I saw a request earlier this year for something like this, so I wrote one. :)<p>It&#x27;s a controller that can reconcile CRDs. You can point to a ConfigMap containing CRDs or a GitHub repository in which the release contains a manifest containing CRDs.<p>A single Bootstrap object can have multiple CRDs. Optionally it will delete them once the object is removed.<p>It also reconciles versions. You set a semver that is a constraint like `&gt;v1`, and it will install that version if it finds something greater than already installed. It cannot go back to prevent accidental or intentional rollback when an upstream version is deleted.<p>It will also validate the CRD against a template to prevent installing CRDs that would break existing objects.<p>And that&#x27;s about it. I&#x27;m adding a URL to the mix, which you&#x27;ll point at a URL that is a yaml content of CRDs, and it will create a Digest for it and install it any time the digest changes.<p>That&#x27;s it. Maybe it&#x27;s useless, but it was a fun thing to create. :)<p>Cheers!

1 comment

praveen_mishra将近 2 年前
This CRD Controller you whipped up sounds pretty neat! Managing CRDs can definitely be a headache.
评论 #36895406 未加载