controller-runtime
operator-sdk
Our great sponsors
controller-runtime | operator-sdk | |
---|---|---|
53 | 23 | |
2,305 | 7,005 | |
2.6% | 1.2% | |
9.4 | 8.0 | |
1 day ago | 3 days 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.
controller-runtime
-
AWS open source newsletter, #176
operatorpkg is a set of packages used to develop Kubernetes operators at AWS. It contains opinions on top of existing projects like https://github.com/kubernetes/apimachinery and https://github.com/kubernetes-sigs/controller-runtime. In many cases, we plan to mature packages in operatorpkg before commiting them upstream.
- New Release: controller-runtime v0.16.3
-
In CRDs how to set defaults for resources type?
however, at least in envtest this returns
- New Release: controller-runtime v0.15.0
- New Release: controller-runtime v0.15.0-beta.0
- New Release: controller-runtime v0.15.0-alpha.1
-
My CNCF LFX Mentorship Spring 2023 Project at Kubescape
(rejected) kubernetes-sigs/controller-runtime #2266 🐛 Support get config inside snap with SNAP_REAL_HOME
- New Release: controller-runtime v0.15.0-alpha.0
-
How to get a GroupVersionResource from a GroupVersionKind?
Check out https://github.com/kubernetes-sigs/controller-runtime/blob/main/pkg/client/example_test.go. It really is that easy :-).
-
Debugging concurrency: Adding millisecond sleeps randomly?
I am using Kubernetes controller-runtime envtest.
operator-sdk
-
Building a Kubernetes Operator with the Operator Framework
operator-sdk: brew install operator-sdk
-
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.
-
Hacking in kind (Kubernetes in Docker)
I've recently been working on an operator (built using the operator-sdk) that manages cluster node lifecycles. Kind allows you to spin up clusters with multiple nodes, using a Docker container per-node and joining them using a common Docker network. However, the kind executable does not allow you to modify an existing cluster by adding or removing a node.
-
Creating Kubernetes Operators with operator-sdk
To illustrate what we can do with an operator, I will create a proof of concept using operator-sdk. According to the official website::
- What Is A Kubernetes Operator?
-
Writing a Kubernetes Operator
Besides the frameworks TFA lists, you can also build Operators in Ansible or Helm.
https://sdk.operatorframework.io/
- Question: Resources to learn K8s operator programming
-
Using k8s-apiserver as AAA server for microservices?
Operator SDK is basically just a thin wrapper for kube-builder
-
What topics should I cover as DevOps in Golang after practice and learning syntax
You mean the Operator SDK? https://sdk.operatorframework.io
-
Dont understand how I can watch external resources modification/deletion with my custom operator
yes I agree with youu, an issue has been opened on the operator-sdk github page regarding this topic https://github.com/operator-framework/operator-sdk/issues/6117
What are some alternatives?
client-go - Go client for Kubernetes.
kubebuilder - Kubebuilder - SDK for building Kubernetes APIs using CRDs
controller-tools - Tools to use with the controller-runtime libraries
terraform-provider-kubernetes-alpha - A Terraform provider for Kubernetes that uses dynamic resource types and server-side apply. Supports all Kubernetes resources.
yaml - A better way to marshal and unmarshal YAML in Golang
sample-controller-kubebuilder - This is Sample Controller(Foo Controller) developed by Kubebuilder
golang-design-pattern - 设计模式 Golang实现-《研磨设计模式》读书笔记
postgres-operator - Postgres operator creates and manages PostgreSQL clusters running in Kubernetes
sandbox-operator - A Kubernetes operator for creating isolated environments
apimachinery
postgres-operator - Production PostgreSQL for Kubernetes, from high availability Postgres clusters to full-scale database-as-a-service.