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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: We open-sourced our GitOps template for ArgoCD

12 点作者 pmig9 个月前
We have been using GitOps internally for years, to leverage infrastructure as code for our Kubernetes clusters. With the recent release of the GitOps mode for Glasskube, we decided to open source our GitOps template. This template helps you get started with GitOps in minutes instead of hours.<p>Previously it was always a struggle to setup your Kubernetes Cluster with the GitOps approach leading to teams manually deploying manifests and helm charts which results in Kubernetes clusters that are hard to maintain. As of today git is still the most popular solution for managing your Kubernetes Cluster with IaC.<p>The GitOps template uses the ArgoCD&#x27;s App of Apps model and all packages (including ArgoCD itself) will receive automatic update suggestions via pull requests thanks to the Renovate and Glasskube integration.<p>In order to get started, you just need to create your own repository from our template and bootstrap it with a single command. This will include: - ArgoCD for GitOps - Kube-Prometheus-Stack for Monitoring - Postgres Operator (Cloud Native PG) - Glasskube for package management - Renovate for updates via pull request<p>Additionally, we deployed Shiori (<a href="https:&#x2F;&#x2F;github.com&#x2F;go-shiori&#x2F;shiori">https:&#x2F;&#x2F;github.com&#x2F;go-shiori&#x2F;shiori</a>) as a simple application that requires a Postgres database. This is meant as an example application you can replace with your application you want to deploy to Kubernetes.<p>I also created a walk-through demo video explaining the setup steps in more detail: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Xbs2Tq-dgbI" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Xbs2Tq-dgbI</a><p>Sometimes, you may need to manually refresh the App of Apps inside ArgoCD to ensure that the other apps appear in the cluster.<p>In addition, we will work on the following features in the future: - Support private repositories from the beginning. At the moment the repository needs to be public during bootstrapping. The visibility can be marked as private afterwards. (You will also need to manually configure your personal access token in ArgoCD) - Improve the Renovate integration, so we don’t need the custom regex matcher and can upgrade the glasskube manifest.<p>Feel free to comment what is still missing or what you would do differently?

3 条评论

dvfjsdhgfv9 个月前
Thank you, but your setup introduces dependency on Glasskube which, even though seems a nice project, is hard to justify in any org I worked for. If someone feels that deploying ArgoCD is too much time&#x2F;effort (it really isn&#x27;t), they shouldn&#x27;t be doing it.
评论 #41194151 未加载
John238329 个月前
I feel like this is an advertisement for GlassKube. It should be noted in the title for clarity.
评论 #41194208 未加载
gbartolini9 个月前
As a founder and maintainer of CNPG, it is exciting to see it used here. I would love to know more! Thanks.