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

Operators are about automation

Operators are about automation

IBM Container Developer Summit

Josh Wood

June 02, 2020
Tweet

More Decks by Josh Wood

Other Decks in Technology

Transcript

  1. 2 Any application in any system must be installed, configured,

    managed and upgraded over time Patching is critical to security
  2. 4 What is Kubernetes? An open source orchestration system for

    managing containerized workloads across a cluster of nodes.
  3. 5 Kubernetes Object Definitions kind: Pod apiVersion: v1 metadata: name:

    example-app spec: containers: - name: example image: quay.io/my/app:v1.2.0 [...]
  4. 17

  5. 18

  6. 21 Custom Resource Developer / Kubernetes User Deployments StatefulSets Autoscalers

    Secrets Config maps PersistentVolume How Does an Operator Work? K8s API kind: ProductionReadyDatabase apiVersion: database .example.com/v1alpha1 metadata: name: my-important -database spec: connectionPoolSize: 300 readReplicas: 2 version: v4.0.1 Custom Kubernetes Controller Watch Events Reconciliation + Custom Resource Definition Kubernetes Operator Native Kubernetes Resources
  7. 22 Custom Resource (CR) kind: ProductionReadyDatabase apiVersion: database.example.com/v1alpha1 metadata: name:

    my-production-ready-database spec: clusterSize: 3 readReplicas: 2 version: v4.0.1 [...]
  8. 23 What is etcd? Example: etcd Operator • distributed key-value

    store • At the heart of Kubernetes • Vault, many other apps • Your apps...
  9. 25 Use Operators Today OperatorHub.io is a home for the

    Kubernetes community to share Operators. Find an existing Operator or list your own today.
  10. 28

  11. 30 Operator Maturity Model Phase I Phase II Phase III

    Phase IV Phase V Basic Install Automated application provisioning and configuration management Seamless Upgrades Patch and minor version upgrades supported Full Lifecycle App lifecycle, storage lifecycle (backup, failure recovery) Deep Insights Metrics, alerts, log processing and workload analysis Auto Pilot Horizontal/vertical scaling, auto config tuning, abnormal detection, scheduling tuning