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

Kubernetes Operators: Managing complex software...

Josh Wood
February 05, 2017

Kubernetes Operators: Managing complex software with software

FOSDEM '17, Université Libre du Bruxelles, Brussels, Belgium: https://fosdem.org/2017/

Josh Wood

February 05, 2017
Tweet

More Decks by Josh Wood

Other Decks in Technology

Transcript

  1. • Resize/Upgrade - coordination for availability • Reconfigure - tedious

    generation / templating • Backup - requires coordination on instances • Healing - restore backups, rejoin Managing a Distributed Database is Harder
  2. etcd Overview • Distributed key-value store • Primary datastore of

    Kubernetes • Auto-leader election for availability
  3. Operator Construction • Operators build on Kubernetes concepts • Resources:

    who what where ; desired state • Controllers: Observe, Analyze, Act to reconcile resources
  4. Third Party Resources • TPRs extend the Kubernetes API with

    new API object types • Akin to a database table’s schema - the data model • Designed with custom automation mechanisms in mind • https://kubernetes.io/docs/user-guide/thirdpartyresources/
  5. Kubernetes self-hosting etcd Easy HA Setups on Kubernetes Automated backup

    to object store Chaos Monkey Testing for 1.0 etcd Operator - Future Work
  6. Prometheus Operator • Operates Prometheus on k8s • Handles common

    tasks: ◦ Create/Destroy ◦ Monitor Configuration ◦ Services Targets via Labels • Configured by resources
  7. • Read more at coreos.com/blog • Test and Extend the

    open source Operators • Build and Discuss other Operators (redis, postgres, MySQL) Next Steps
  8. CoreOS runs the world’s containers We’re hiring: [email protected] [email protected] 90+

    Projects on GitHub, 1,000+ Contributors coreos.com Support plans, training and more OPEN SOURCE ENTERPRISE