metacontroller
kubectl-operator
metacontroller | kubectl-operator | |
---|---|---|
15 | 9 | |
777 | 112 | |
1.7% | 6.3% | |
8.5 | 6.9 | |
5 days 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.
metacontroller
- What Is A Kubernetes Operator?
-
Why is Kubernetes adoption so hard?
It worth adopt proper controller development with something like Metacontroller, Kopf or Java Operator SDK.
- What is your approach to adding custom labels to a pod in a deployment that's managed by a helm chart?
-
is there a way to set expiry date for k8s rbac setting?
There are many frameworks, like the Operator Framework (https://operatorframework.io/) to the MetaController (https://github.com/metacontroller/metacontroller) to KubeBuilder(https://github.com/kubernetes-sigs/kubebuilder) to the Kubernetes Operator Framework (kopf, https://kopf.readthedocs.io/en/stable/), among others.
-
Is there a tutorial on how to write an Operator in Go?
You might like a little alternative to writing your own in the first instance:) take a look at https://metacontroller.github.io/metacontroller/
-
Writing an Operator from scratch
Codegen is not magic, but if you want to make it simple stupid, supportable and prod-usable I'd go for metacontroller. There's not much magic to it - just common admission/validation webhooks propagated to your controller implementation, alongside the simplest possible reconciliation cycle. We had adopted Knative driven metacontrollers and it's a pretty solid approach.
-
For what should I take a look?
https://github.com/metacontroller/metacontroller - Sounds cool! I will look into it.
-
Dynamic Mutating Pod Admission Controller?
When I need a quick mutating controller, I like to use MetaController, which makes rapid prototyping really easy: https://metacontroller.github.io/metacontroller/
-
Best option to write a CRD today?
If you are more into lightweight and common use cases, look at metacontroller or the shell-operator.
-
What's the number one annoyance that drives you crazy about Kubernetes?
In case you've not heard of it, the metacontroller aims to do exactly this. It provides the controller-lifecycle (registering your types, watching the API for changes, etc), you just need to provide a HTTP webhook to receive the JSON object, and respond with the modifications\resources you want.
kubectl-operator
-
Building a Kubernetes Operator with the Operator Framework
Kubernetes Operators simplify the management of complex applications on Kubernetes. In this guide, we'll walk through creating a simple Kubernetes Operator using the Operator Framework. We'll also cover setting up a local Kubernetes cluster with KIND (Kubernetes in Docker) and deploying the Operator to the KIND cluster.
- Open source toolkit to manage Kubernetes native applications
-
What do you think about Terraform for Kubernetes ecosystem
There's a kubectl extension for it too. https://github.com/operator-framework/kubectl-operator
- Kubernetes Operator
-
Writing a Kubernetes Operator
Since Go got generics, working with the Kubernetes API could become far more ergonomic. It's been pulling teeth until now. I'm eager to see how the upstream APIs change over time.
In the mean time, one of the creators of the Operator Framework[0] built a bunch of useful patterns using generics that we used to build the SpiceDB Operator[1] called controller-idioms[2].
Does anyone know of other efforts to improve the status quo?
[0]: https://operatorframework.io
[1]: https://github.com/authzed/spicedb-operator
[2]: https://github.com/authzed/controller-idioms
-
is there a way to set expiry date for k8s rbac setting?
There are many frameworks, like the Operator Framework (https://operatorframework.io/) to the MetaController (https://github.com/metacontroller/metacontroller) to KubeBuilder(https://github.com/kubernetes-sigs/kubebuilder) to the Kubernetes Operator Framework (kopf, https://kopf.readthedocs.io/en/stable/), among others.
- What is a good resource to learn how to create and use custom Kubernetes operator?
-
How OLM helps to install and upgrade operators
Operator lifecycle manager (OLM) is a Kubernetes feature & is part of Operator framework which provides tools that helps in the development and management of operators. OpenShift 4.x is build using different operators that manages cluster components like api-server, etcd, authentication, OAuth, ingress, etc. OpenShift makes use of OLM to install these operators as part of cluster build & OLM comes by default with OpenShift. OLM is an operator itself and understanding how it manages the operator lifecycle using different CRD’s & its flow is important, which I have explained in my article.
-
Operators are so much easier to click-install -- how do I get them back out as manifests?
The documentation gives you all available options, but many of them are optional. If you know the package name of the operator (which you can get either via oc get packagemanifests or kubectl operator list-available from the kubectl plugin all you really need is:
What are some alternatives?
shell-operator - Shell-operator is a tool for running event-driven scripts in a Kubernetes cluster
controller-idioms - Generic libraries for building idiomatic Kubernetes controllers
minikube - Run Kubernetes locally
gitops-catalog - Tools and technologies that are hosted on an OpenShift cluster
kubernetes - Production-Grade Container Scheduling and Management
spicedb-operator - Kubernetes controller for managing instances of SpiceDB
akrobateo - Akrobateo is a simple Kubernetes operator to expose in-cluster LoadBalancer services as node hostPorts using DaemonSets.
databricks-kube-operator - A Kubernetes operator to enable GitOps style deploys for Databricks resources
k8s-bigip-ctlr - Repository for F5 Container Ingress Services for Kubernetes & OpenShift.
argocd-operator - A Kubernetes operator for managing Argo CD clusters.
keepalived-operator - An operator to manage VIPs backed by keepalived
kubebuilder - Kubebuilder - SDK for building Kubernetes APIs using CRDs