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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: GitOps Template for Kubernetes

86 点作者 pmig8 个月前
Hello HN, we’re Philip Louis from Glasskube (<a href="https:&#x2F;&#x2F;github.com&#x2F;glasskube&#x2F;glasskube">https:&#x2F;&#x2F;github.com&#x2F;glasskube&#x2F;glasskube</a>). We are working on a package manager for Kubernetes to simplify the packaging of complex applications with multiple dependencies, ensuring they are installed and kept up-to-date across multiple Kubernetes clusters.<p>Nowadays, it is best practice to use Git as a revision control system for your Kubernetes configurations. Update automation workflows like Renovate or Dependabot can create pull requests for new versions of Docker images and Helm charts, but ensuring these new package versions work is still a manual task. By using the central (or a private) Glasskube repository (<a href="https:&#x2F;&#x2F;github.com&#x2F;glasskube&#x2F;packages">https:&#x2F;&#x2F;github.com&#x2F;glasskube&#x2F;packages</a>) together with our Renovate integration (<a href="https:&#x2F;&#x2F;docs.renovatebot.com&#x2F;modules&#x2F;manager&#x2F;glasskube&#x2F;" rel="nofollow">https:&#x2F;&#x2F;docs.renovatebot.com&#x2F;modules&#x2F;manager&#x2F;glasskube&#x2F;</a>), you can ensure that new package versions will run through our Minikube-based CI workflows before they get published—similar to how the Homebrew core tap works. We’ve just introduced readiness checks for manifest-based deployments and utilize the flux-helm-controller to wait for a Helm release to succeed.<p>Dependencies are resolved by our package controller. These dependencies can either be cluster-scoped (installed in the recommended namespace, e.g., operators wird CRDs) or namespace-scoped components of a package (e.g., a database or Redis cache). In such cases, we will prefix resources with the dependent package name to ensure multiple packages can use the same dependencies without naming conflicts (we use Kustomize on a virtual filesystem for this).<p>Glasskube packages can currently be Helm charts (from an OCI or Helm repository) or manifests, which are mostly built using Kustomize’s overlay approach.<p>Since neither the overlay approach (using Kustomize) nor Helm’s limited templating functionality will help us and other Kubernetes users scale to more complex packages, we are considering creating a more programmatic approach to package creation, similar to Timoni. Currently, KCL is our frontrunner (<a href="https:&#x2F;&#x2F;github.com&#x2F;glasskube&#x2F;glasskube&#x2F;discussions&#x2F;1018">https:&#x2F;&#x2F;github.com&#x2F;glasskube&#x2F;glasskube&#x2F;discussions&#x2F;1018</a>), as it already integrates well with the Kubernetes ecosystem.<p>We would appreciate if you give our GitOps template a try. It also works work existing Kubernetes clusters if just want to use GitOps for some applications. Just make sure that the argocd and glasskube-system namespaces are not yet in use. See: <a href="https:&#x2F;&#x2F;github.com&#x2F;glasskube&#x2F;gitops-template&#x2F;">https:&#x2F;&#x2F;github.com&#x2F;glasskube&#x2F;gitops-template&#x2F;</a>

7 条评论

vanillax8 个月前
&quot; It also works work existing Kubernetes clusters if just want to use GitOps for some applications. Just make sure that the argocd and glasskube-system namespaces are not yet in use. See: <a href="https:&#x2F;&#x2F;github.com&#x2F;glasskube&#x2F;gitops-template&#x2F;">https:&#x2F;&#x2F;github.com&#x2F;glasskube&#x2F;gitops-template&#x2F;</a> &quot;<p>I assume this statement is for running this? glasskube bootstrap git --url &lt;your-repo&gt; --username &lt;org-or-username&gt; --token &lt;your-token&gt;<p>I think I&#x27;d like to understand what the argo cd &#x2F; git ops template is and how its different than argocd autopilot. Maybe some pictures of how argo is deploying apps. Etc.
评论 #41503623 未加载
评论 #41504191 未加载
评论 #41503747 未加载
raffraffraff8 个月前
How would I integrate it into existing setup that uses tools like terraform, along with helm?<p>See, there&#x27;s a bunch of stuff that I deploy using terraform (VPC, DNS, EKS) and a bunch of stuff that I deploy with FluxCD. But in between, there&#x27;s some awkward stuff like the monitoring stack that requires cloudy things and Kube things, and they&#x27;re tightly coupled.<p>Right now I end up going with terraform and the awful helm provider. Many of these helm charts have sub-charts, nested values etc, but thankfully the monitoring stack doesn&#x27;t change that much. It&#x27;s still not ideal but it works as a one-shot deployment that sets up buckets, policies, IAM roles for service accounts, more policies for the roles, and finally the helm charts with values from the outputs of those clouds resources.
评论 #41506167 未加载
评论 #41506005 未加载
slederer8 个月前
Very interesting, where do you see value:<p>a.) in Kubernetes setups that operate the same software stack, with the ongoing updates and regular releases.<p>b.) in Kubernetes setups that frequently install new software&#x2F;diverse software
评论 #41504704 未加载
cianuro_8 个月前
Can’t this be achieved using the app of apps pattern in ArgoCD?
评论 #41504790 未加载
评论 #41504656 未加载
评论 #41504972 未加载
throwawaynorway8 个月前
Congrats with the launch.<p>How does it compare with OpenShifts operator hub?
评论 #41514858 未加载
iwwr8 个月前
Why do you need an in-cluster operator&#x2F;pod?
评论 #41504476 未加载
rajishx8 个月前
pretty interesting :)<p>is glasskube a reboot of jenkins-x ?
评论 #41548367 未加载