Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Sample-controller Alternatives
Similar projects and alternatives to sample-controller
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
kubeplus
Kubernetes Operator to create Kubernetes-native APIs from Helm charts for multi-instance SaaS
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
kopf
Discontinued A Python framework to write Kubernetes operators in just few lines of code. (by zalando-incubator)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
sample-controller reviews and mentions
-
Is there a tutorial on how to write an Operator in Go?
- Sample controller: https://github.com/kubernetes/sample-controller
-
Writing an Operator from scratch
The most low-level approach I have seen is using the client-go package. Both kubebuilder and controller-runtime are based on this package. You can see an official example here: https://github.com/kubernetes/sample-controller/blob/master/docs/controller-client-go.md But even that sample requires some code generation on top of it https://cloud.redhat.com/blog/kubernetes-deep-dive-code-generation-customresources
-
Container in cluster which can control cluster
I would still recommend gitOps tools or if you want to create your own abstraction (CRD) that encapsulates whatever behaviour you want to watch/act upon, take a look into kubernetes sample controller (https://github.com/kubernetes/sample-controller) or the kubernetes operator pattern https://kubernetes.io/docs/concepts/extend-kubernetes/operator/
-
Anybody use both kubebuilder and operator-sdk to create controllers/operators?
Either should be fine. In case though you want something more basic then consider sample-controller: https://github.com/kubernetes/sample-controller
-
How to get to the next Level in Kubernetes?
As far as Operator development goes, if you are comfortable with golang then I would recommend checking out sample-controller https://github.com/kubernetes/sample-controller It does not abstract the underlying client-go machinery and so provides a good way to understand how various parts of an Operator come together. On the other hand, if you don't want to get exposed to that much details then either Operator SDK or Kubebuilder will be good options. In case you are not into golang then there are SDKs for other languages as well (Python, Java, etc.).
-
Opensource K8s operator developed in Go to contribute
Cool! Given that you mention you are a beginner in K8s operator development, here is a plan that I would like to suggest. 1. Get basic understanding of Kubernetes custom controllers first. The sample controller repo is a good place to start. https://github.com/kubernetes/sample-controller
-
How to start combining kubernetes and go knowledge
the sample controller using client-go to learn about informers: https://github.com/kubernetes/sample-controller
-
A note from our sponsor - InfluxDB
www.influxdata.com | 1 Jun 2024
Stats
kubernetes/sample-controller is an open source project licensed under Apache License 2.0 which is an OSI approved license.
The primary programming language of sample-controller is Go.
Sponsored