Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction to the Operator Framework

Introduction to the Operator Framework

Create Kubernetes native applications.

Verónica López

July 30, 2018
Tweet

More Decks by Verónica López

Other Decks in Technology

Transcript

  1. OPERATOR FRAMEWORK OPERATOR FRAMEWORK Operator SDK Operator Lifecycle Manager 3

    main components *pre-alpha + + Operator SDK Operator Metering
  2. Open Source tool to create and manage Kubernetes native applications,

    Operators, in an effective, automated, and scalable way.
  3. What is an Operator? An Operator is an application-specific controller

    that extends the Kubernetes API to create, configure, and manage instances of complex stateful applications on behalf of a Kubernetes user Builds upon the basic Kubernetes resource and controller concepts but includes domain or application-specific knowledge to automate common tasks.
  4. Etcd Operator: creates, configures and manages etcd (distributed key-value store)

    clusters etcd is the primary datastore of Kubernetes; storing and replicating all Kubernetes cluster state Bootstrapping, maintaining quorum, reconfiguring cluster membership, creating backups, handling disaster recovery, and monitoring critical events
  5. Operator SDK Easier to build Kubernetes Native Applications Allows to

    build and Operator without requiring knowledge of the Kubernetes API complexities High level APIs and abstractions to write the operational logic more intuitively https://github.com/operator- framework/operator-sdk
  6. Operator Lifecycle Manager Install Automated updates for K8s Operators Manage

    the Lifecycle of all of the Operators Install applications automatically with dependency resolution or manually with nothing but kubectl Define applications as a single Kubernetes resource that encapsulates requirements and metadata
  7. OPERATOR METERING OPERATOR METERING Provides knowledge and visibility about usage

    and costs to run and manage Operators Records historical cluster usage, and can generate usage reports showing usage breakdowns by pod or namespace over arbitrary time periods Avoid overestimating computing resources and money Metering Operator Pod: aggregates Prometheus data and generates reports based on the collected usage information
  8. Learning OpenShift OpenShift: Interactive Learning Portal https://learn.openshift.com/introduction Logging into an

    OpenShift Cluster Deploying Applications from Images Getting Started with OpenShift for Developers And more...
  9. HELP US BUILD THE HELP US BUILD THE OPERATOR FRAMEWORK

    OPERATOR FRAMEWORK WE'RE HIRING! WE'RE HIRING!