kubernetes-operators | automate common tasks for managing Openstack | File Utils library
kandi X-RAY | kubernetes-operators Summary
kandi X-RAY | kubernetes-operators Summary
Operators that automate common tasks for managing Openstack on Kubernetes.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of kubernetes-operators
kubernetes-operators Key Features
kubernetes-operators Examples and Code Snippets
Community Discussions
Trending Discussions on kubernetes-operators
QUESTION
The Best Practices for building Kubernetes Operators say I should write a whole bunch of Operators to manage my application. How does inter-operator communication happen?
In other words, how should I build my Operator so that it can talk to other Operators?
...ANSWER
Answered 2021-Feb-17 at 18:06They don't. Not directly, anyways. Communication on Kubernetes occurs purely through YAML files.
For example, if your application requires access to a database, you should install an operator for Postgresql, create a PostgreSQLCluster CR Object, and pull credentials from it once it's setup.
However, this isn't a practical solution in the long term, because Operators should be able to update automatically and without interaction. You are also not allowed to install older versions. To name names, the Crunchy Postgres Operator actually goes through many breaking changes with every update. If you were relying on them maintaining their CRD format, you made your architecture a brittle one.
A few exceptions do exist. Operators for products like Tekton Pipelines and Argo Pipelines are very stable and unlikely to change by design, and it's perfectly OK to depend on these.
Speaking purely towards the best practices, you are supposed to be able to migrate from older to newer versions of your CRD API using webhooks, though it isn't clear that any Operator implementations actually do this. Still, as of writing this post, there are no Operators on OperatorHub.io which rely on other Operators (Feb 16, 2021). Reader, you will be the first.
If you wanted to do so anyway, chances are the Operator you want to depend on is available on the Go package repository. You can just go get
them and use their CRD API types natively in your code, which should make it very easy to keep up to date with the API.
Technically, the Operator you want to depend on could implement a REST API in their manager, and expose it as a service. I seriously doubt anybody will ever do this. It doesn't seem smart to poke holes into the Kubernetes design philosophy and open up attack vectors.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install kubernetes-operators
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page