shell-operator
Shell-operator is a tool for running event-driven scripts in a Kubernetes cluster (by flant)
metacontroller
Writing kubernetes controllers can be simple (by metacontroller)
shell-operator | metacontroller | |
---|---|---|
10 | 16 | |
2,487 | 925 | |
0.7% | 3.7% | |
8.6 | 8.4 | |
7 days ago | 4 days ago | |
Go | Go | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
shell-operator
Posts with mentions or reviews of shell-operator.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-31.
-
How to create a watch over namespaces?
Maybe, the Shell operator is a good tool for that?
-
Is there a way to execute script after a crash?
Shell-operator to parse logs and make action after the pod crash.
-
Cert Manager - Get it to do something on renewal, such as call webhook or fire up a container
Argo workflow can trigger from k8s objects but may be a bit more than you need, shell-operator may be good enough https://github.com/flant/shell-operator for a quick win
-
Automatically create subdomains for services similar to Vercel Preview
I used https://github.com/flant/shell-operator to write a simple Kubernetes operator that automatically creates subdomains for your services by patching an existing ingress.
- Run a pod in a namespace without having access to it's secrets?
-
Best option to write a CRD today?
If you are more into lightweight and common use cases, look at metacontroller or the shell-operator.
-
How long does it take to learn go and program a K8s operator?
Believe it or not, you can write a Kubernetes operator using simple shell scripts: https://github.com/flant/shell-operator
-
LoadBalancer type service on bare-metal
You could use something like shell operator, metacontroller, or operator-sdk to run a command against your load balancer's API whenever a LoadBalancer service is created.
-
looking for a Kubernetes controller watching logs and run commands / restarting pods
https://github.com/flant/shell-operator should get you quite far but this sounds like the process should just shut itself down when that case is hit...
-
shell-operator reaches its v1.0.0 release: hooks without kubectl
shell-operator is already used in KubeSphere's ks-installer, Confluent's Kafka DevOps solution, Deckhouse Kubernetes platform, and more. All documentation is available in the project's GitHub repo — if you feel it might be interesting for your needs, give it a try! Any feedback is warmly welcome.
metacontroller
Posts with mentions or reviews of metacontroller.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-07.
- MetaController: Writing Kubernetes controllers can be simple
- 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 are some alternatives?
When comparing shell-operator and metacontroller you can also consider the following projects:
mysql-operator - Asynchronous MySQL Replication on Kubernetes using Percona Server and Openark's Orchestrator.
kubectl-operator - Manage Kubernetes Operators from the command line
github-actions-runner-operator - K8S operator for scheduling github actions runner pods
keepalived-operator - An operator to manage VIPs backed by keepalived
fubectl - Reduces repetitive interactions with kubectl