Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: We open-sourced our GitOps template for ArgoCD (github.com/glasskube)
12 points by pmig 42 days ago | hide | past | favorite | 6 comments
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.

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.

The GitOps template uses the ArgoCD'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.

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

Additionally, we deployed Shiori (https://github.com/go-shiori/shiori) 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.

I also created a walk-through demo video explaining the setup steps in more detail: https://www.youtube.com/watch?v=Xbs2Tq-dgbI

Sometimes, you may need to manually refresh the App of Apps inside ArgoCD to ensure that the other apps appear in the cluster.

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.

Feel free to comment what is still missing or what you would do differently?




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/effort (it really isn't), they shouldn't be doing it.


Thanks for the feedback. I agree that setting up a blank ArgoCD is pretty simple. But installing applications and keeping ArgoCD up to date is where we saw a lot of challenges. On a sidenote: Why would it be hard to justify a dependency on Glasskube?


We are avoiding additional dependencies for several reasons, mainly because of security and additional maintenance burden (which Glasskube promises to reduce but so do other extensions we are using). If you have a certain number of addons, the operational burden to keep everything up to date and without conflicts increases considerably.


I feel like this is an advertisement for GlassKube. It should be noted in the title for clarity.


Thanks for your input. Glasskube is used as the package manager in the template. We highlighted it in the initial comment, but I agree we could have also added it in the title.


As a founder and maintainer of CNPG, it is exciting to see it used here. I would love to know more! Thanks.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: