kubebuilder
kubegres
Our great sponsors
kubebuilder | kubegres | |
---|---|---|
45 | 17 | |
7,384 | 1,289 | |
1.8% | 0.7% | |
9.2 | 7.0 | |
6 days ago | about 1 month ago | |
Go | Go | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kubebuilder
-
SpinKube: Orchestrating light, fast and efficient WebAssembly (Wasm) workloads in Kubernetes (k8s)
The Spin operator uses the Kubebuilder framework and contains a Spin App Custom Resource Definition (CRD) and controller. It watches Spin App Custom Resources and realizes the desired state in the K8s cluster. Aside from the immediate benefits gained by running Wasm workloads in k8s, additional optimizations such as Horizontal Pod Scaling (HPA) and k8s Event-driven Autoscaling (KEDA) can be achieved in a pinch.
-
Building a Kubernetes Operator with the Operator Framework
kubebuilder: brew install kubebuilder
-
Annotations in Kubernetes Operator Design
The operator that I've been working on is designed to manage the full lifecycle of a QuestDB database instance, including version and hardware upgrades, config changes, backups, and (eventually) recovery from node failure. I used the Operator SDK and kubebuilder frameworks to provide scaffolding and API support.
-
Kubebuilder Tips and Tricks
Recently, I've been spending a lot of time writing a Kubernetes operator using the go operator-sdk, which is built on top of the Kubebuilder framework. This is a list of a few tips and tricks that I've compiled over the past few months working with these frameworks.
-
We moved our Cloud operations to a Kubernetes Operator
Since we built our operator using the Kubebuilder framework, most standard monitoring tasks were handled for us out-of-the-box. Our operator automatically exposes a rich set of Prometheus metrics that measure reconciliation performance, the number of k8s API calls, workqueue statistics, and memory-related metrics. We we were able to ingest these metrics into pre-built dashboards by leveraging the grafana/v1-alpha plugin, which scaffolds two Grafana dashboards to monitor Operator resource usage and performance. All we had to do was add these to our existing Grafana manifests and we were good to go!
-
Has anyone ever tried to learn how k8s works?
I wrote a CSI driver and some operators. I admire K8s, because you can find solution to almost any problem in the source code - API versioning, load balancing, request throttling, optimistic concurrency, security, and much much more. I recommend https://book.kubebuilder.io/ It is similar to Operator SDK, but without Openshift-specific stuff. It gradually introduces you to many k8s concepts, and follows design patterns that k8s uses internally.
- What Is A Kubernetes Operator?
-
If you write a Kubernetes Operator: Events vs Conditions?
Do you mean this: https://book.kubebuilder.io/ ?
-
Kubernetes Operators
https://book.kubebuilder.io/ all you need to know
-
Writing a Kubernetes Operator
A better way to write an operator these days is to use kubebuilder [1].
My complaint is that I have seen orgs write operators for random stuff, often reinventing the wheel. Lot of operators in orgs are result of resume driven development. Having said that it often comes handy for complex orchestration.
[1]https://github.com/kubernetes-sigs/kubebuilder
kubegres
- Homelab: Running Postgres on Kubernetes
-
Run PostgreSQL. The Kubernetes Way
A good comparison with other operators here [2022]: https://blog.palark.com/cloudnativepg-and-other-kubernetes-o...
Personally I've only used Kubegres (https://www.kubegres.io/), which didn't even make the above list. It's ok for a personal project.
All k8s solutions for postgres take subtly different approaches. It seems that they've all converged on the Operator pattern. The basics are easy: run a database process which persists data to a cloud disk of your choice. The hard parts are how to update, migrate, backup, restore, monitor, failover, replicate, etc. These kubernetes "operators" promise to fulfill the role of a DBA but, just like hiring a DBA, it requires buy-in to their approach.
-
[Kubernetes] Comment déployez-vous un cluster Postgres sur Kubernetes en 2022?
Reactive-Tech / Kubegres (opérateur)
-
What are you using to run Postgres?
I like https://www.kubegres.io, it takes a little getting used to how it works. I probably wouldn't use it for a huge database, but for things under a few TB it works great.
-
Any self hostable postgres, clustering, replication and fail over system?
I don't know if you're using Kubernetes, but Kubegres is great for self hosting postgres on a cluster.
-
Managing PostgreSQL databases as K8s resources
Any experience with https://www.kubegres.io/ ?
-
Pgo: The Postgres operator from crunchy data
How does this compare with something like kubegres?
https://www.kubegres.io/
-
PostgreSQL Upgrades Are Hard
https://www.kubegres.io/ has worked well for me. You can use custom images, provided they follow the conventions of the official postgres image. I haven't tried a major-version upgrade yet - my impression is that it will probably be a bit painful and involve some downtime and manual ops.
Some of the more advanced operators might better handle the upgrade problem? But in general, I've been happy with Kubegres for a ~10GB database with low traffic.
-
Been self-hosting close to half a year now. All running on a k3s cluster of raspberry pis. Thank you to this subreddit for all the help and great ideas!
There are some great operators out there that make deployment and management easy. I use kubegres managed with pgadmin and it has been working well for me.
-
How do you deploy a Postgres Cluster on Kubernetes in 2022?
reactive-tech/kubegres (operator)
What are some alternatives?
helm-operator - Successor: https://github.com/fluxcd/helm-controller — The Flux Helm Operator, once upon a time a solution for declarative Helming.
postgres-operator - Production PostgreSQL for Kubernetes, from high availability Postgres clusters to full-scale database-as-a-service.
client-go - Go client for Kubernetes.
postgres-operator - Postgres operator creates and manages PostgreSQL clusters running in Kubernetes
operator-sdk - SDK for building Kubernetes applications. Provides high level APIs, useful abstractions, and project scaffolding.
charts - Bitnami Helm Charts
crossplane - The Cloud Native Control Plane
charts - ⚠️ Deprecated : Helm charts for applications you run at home
python - Official Python client library for kubernetes
cloudnative-pg - CloudNativePG is a comprehensive platform designed to seamlessly manage PostgreSQL databases within Kubernetes environments, covering the entire operational lifecycle from initial deployment to ongoing maintenance
spark-operator - Kubernetes operator for managing the lifecycle of Apache Spark applications on Kubernetes.
chart-releaser-action - A GitHub Action to turn a GitHub project into a self-hosted Helm chart repo, using helm/chart-releaser CLI tool