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

Manage the App on Kubernetes

Brandon Philips
December 08, 2017
300

Manage the App on Kubernetes

Brandon Philips

December 08, 2017
Tweet

Transcript

  1. “ It is a confusion of ideas to suppose that

    the economical use of fuel is equivalent to diminished consumption. The very contrary is the truth. - William Stanley Jevons
  2. Managing lots of apps you need to know... What apps

    types exist? Versions? What app instances are deployed? How many? Where? What is the app instance health? How much does it cost? Who are the app owners? Who gets paged? What CI pipelines associate with each app?
  3. Current State Owners Dashboards Docs Internal Wiki Spreadsheet Tribal Knowledge

    Metrics & SLAs --------- 19% --------- --------- 106% --------- --------- 94.8% 36.6 ---------------------
  4. App Version v1.0.0 App Catalog v1.0.0 v0.9.0 v0.8.0 Future State

    Dev v1.0.0 Prod v1.0.0 Pentest v0.8.0 Debug v0.9.0
  5. Future State Kubernetes Resources Owners Dashboards Docs Metrics & SLAs

    --------- 19% --------- --------- 106% --------- --------- 94.8% 36.6 ---------------------
  6. Create a shared toolkit App Catalog App Types App Versions

    App Instance kind: CatalogEntry metadata: name: vault-operator.0.1.3 spec: displayName: Vault install: strategy: deployment version: 0.1.3 maintainers: - email: [email protected] name: CoreOS, Inc ...
  7. Create a shared toolkit App Catalog App Types App Versions

    App Instance kind: InstallPlan metadata: name: vault-operator.0.1.3-qkmz0 namespace: default spec: approval: Automatic clusterServiceVersionNames: - vault-operator.0.1.3 status: phase: Complete
  8. Wait, what about... Kubernetes YAML Kubernetes Deployments Helm Charts Helm

    Deployments Operators Ksonnet packages Ksonnet registries Kubecfg Koki Metaparticle Solving Good Problems!
  9. Can we answer these questions consistently? What apps types exist?

    Versions? What app instances are deployed? How many? Where? What is the app instance health? How much does it cost? Who are the app owners? Who gets paged? What CI pipelines associate with each app?
  10. First Step: App Labels Define a set of well-known labels

    for grouping Kubernetes resources related to an application. See App-Def Working Group Think and Discuss This is a big problem space. Try out the tools that exist today, reflect on your own workflows, discuss. Join SIG Apps
  11. Come Chat @ CoreOS Booth Open Cloud Service Catalog: Prometheus,

    etcd, Vault Chargeback and Application Accounting Application Lifecycle Management Try out CoreOS Tectonic: coreos.com/tectonic