![]() Kubernetes operators introduce new object types through custom resource definitions. The Kubernetes operator watches a CR type and takes application-specific actions to make the current state match the desired state in that resource. A custom resource definition (CRD) defines a CR and lists out all of the configuration available to users of the operator. The Kubernetes operator translates the high-level directives into the low level actions, based on best practices embedded within the operator’s logic.Ī custom resource is the API extension mechanism in Kubernetes. High-level configuration and settings are provided by the user within a CR. If the cluster's actual state doesn’t match the desired state, then the controller takes action to fix the problem.Īn operator is a custom Kubernetes controller that uses custom resources (CR) to manage applications and their components. In Kubernetes, controllers of the control plane implement control loops that repeatedly compare the desired state of the cluster to its actual state. It builds upon the basic Kubernetes resource and controller concepts, but includes domain or application-specific knowledge to automate the entire life cycle of the software it manages. A Kubernetes application is both deployed on Kubernetes and managed using the Kubernetes API (application programming interface) and kubectl tooling.Ī Kubernetes operator is an application-specific controller that extends the functionality of the Kubernetes API to create, configure, and manage instances of complex applications on behalf of a Kubernetes user. A Kubernetes operator is a method of packaging, deploying, and managing a Kubernetes application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |