Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Exploring Kubernetes Operators for Automated App Management – Connect Silicon Valley 2018

47 views

Published on

Speakers: Rob Szumski, Product Manager, Red Hat OpenShift and Mike Wiederhold, Senior Software Engineer, Couchbase

Automating complex, stateful applications is the next frontier for Kubernetes. This talk will give an overview of Operators, a way to manage Kubernetes-native applications in a scalable and automated way. We will also do a deep dive into the Couchbase Operator, which brings automated provisioning, on-demand scalability, automatic recovery, rack/zone awareness, and more to your cluster.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Exploring Kubernetes Operators for Automated App Management – Connect Silicon Valley 2018

  1. 1. OPERATOR FRAMEWORK OVERVIEW COUCHBASE CONNECT Rob Szumski Product Manager, OpenShift
  2. 2. 2 Embed unique operational knowledge Package and install on many clusters
  3. 3. 3 https://github.com/operator-framework
  4. 4. 4 Operators A method of packaging, deploying and managing a Kubernetes application.
  5. 5. 5 Operators = Kube-native Extensibility
  6. 6. 6 Operators = Kube-native Extensibility
  7. 7. 7 Operators = Kube-native Extensibility Public Cloud
  8. 8. 8 Operators = Kube-native Extensibility
  9. 9. 9 Operators = Easy Hybrid Cloud
  10. 10. WHAT DOES AN OPERATOR DO?
  11. 11. 11 Operators { }
  12. 12. 12 Operators ● Modern distributed systems are declarative ● Native extension point for Kubernetes ● Enabler for over-the-air updates
  13. 13. 13 Hybrid Cloud Toolbox Load Balancing Service Discovery TLS Termination Autoscaling Secret Handling Code Distribution
  14. 14. 14 Hybrid Cloud Toolbox Multiple Instances License Enforcement Upgrades App Metering Resource Allocation Testing Tools
  15. 15. 15 Custom Resource Definition The Kubernetes object end-users create and manage kind: EtcdCluster metadata: name: example spec: size: 3 version: "3.2.13"
  16. 16. OPERATOR ECOSYSTEM
  17. 17. 17 Operators Available Today https://github.com/operator-framework/awesome-operators
  18. 18. 18 Operators Available Today ...many more in development
  19. 19. 19
  20. 20. 20 Custom Resource Definition Example Couchbase Cluster apiVersion: couchbase.com/v1 kind: CouchbaseCluster metadata: name: cb-example spec: authSecret: cb-example-auth baseImage: registry.connect.redhat.com/couchbase/server buckets: - conflictResolution: seqno enableFlush: true evictionPolicy: fullEviction ioPriority: high memoryQuota: 128 name: default replicas: 1 type: couchbase cluster: analyticsServiceMemoryQuota: 1024 autoFailoverMaxCount: 3
  21. 21. DEMO
  22. 22. 22 Operator Success Using the Prometheus Operator, our dev teams are able to provision their own end-to-end monitoring. We could not hope to manage the 344 Prometheus instances without the domain knowledge the Operator encapsulates. Michael Goodness Lead Systems Engineer at Ticketmaster
  23. 23. MAKING OPERATORS EASY
  24. 24. 24 Get Started https://github.com/operator-framework
  25. 25. 25 Get Started
  26. 26. 26 Authoring with Operator SDK
  27. 27. 27 Authoring with Operator SDK
  28. 28. 28 ● Maximize opportunity ● Minimize effort and pain ● End users just need the container image + manifest Authoring with Operator SDK GOALS DECISIONS ● You own the code ● You decide where to host the container ● You decide if open-source or not
  29. 29. 29 Running with Operator Lifecycle Manager
  30. 30. TYPES OF OPERATORS
  31. 31. 31 Operator Maturity Model
  32. 32. 32 Operator Maturity Model
  33. 33. THANK YOU https://github.com/operator-framework/operator-lifecycle-manager https://github.com/operator-framework/operator-sdk https://github.com/operator-framework/awesome-operators

×