operator
shell-operator
operator | shell-operator | |
---|---|---|
1 | 10 | |
414 | 2,256 | |
1.0% | 1.7% | |
9.4 | 8.3 | |
about 21 hours ago | 2 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.
operator
-
Cloud-Native CI/CD with Tekton - Laying The Foundation
Now, for the actual deployment of Tekton Pipeline and Triggers - I mentioned an installation via Tekton Operator which might seem like the fastest and the best way to get up and running with everything preconfigured, the operator however (at the time of writing) lacks any actual documentation, so you would need to dig around quite a lot to find any explanation as to how things work, which wouldn't be that big of an problem for me personally. The real problem here though, is that the Operator in OperatorHub isn't up to date and I couldn't find current build/image which renders it more or less useless. I'm sure this will change at some point when Tekton Operator is a little more mature (so keep an eye on it's repository), but until then, other installation options should be used.
shell-operator
-
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.
What are some alternatives?
tekton-kickstarter - Templates, scripts and samples for quickly building CI/CD with Tekton.
metacontroller - Writing kubernetes controllers can be simple
pipeline - A cloud-native Pipeline resource.
github-actions-runner-operator - K8S operator for scheduling github actions runner pods
spark-operator - Kubernetes operator for managing the lifecycle of Apache Spark applications on Kubernetes.
mysql-operator - Asynchronous MySQL Replication on Kubernetes using Percona Server and Openark's Orchestrator.
k8s-bigip-ctlr - Repository for F5 Container Ingress Services for Kubernetes & OpenShift.
percona-xtradb-cluster-operator - Percona Operator for MySQL based on Percona XtraDB Cluster
keepalived-operator - An operator to manage VIPs backed by keepalived
subdomain-mapper-operator - This operator patches an ingress to automatically create subdomains for services based on annotations.
bank-vaults - A Vault swiss-army knife: A CLI tool to init, unseal and configure Vault (auth methods, secret engines).