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

Ein Rundflug durch das Kubernetes Ökosystem

Ein Rundflug durch das Kubernetes Ökosystem

F029ec9c798e4dc447cab5e76f62fa17?s=128

Nicolas Byl

May 23, 2017
Tweet

Transcript

  1. 1 EIN RUNDFLUG DURCH DAS KUBERNETES ÖKOSYSTEM Entwicklertag Karlsruhe 2017

    Nicolas Byl, codecentric AG
  2. None
  3. 2 . 1 3 . 1 KUBERNETES

  4. "Kubernetes is an open-source platform for automating deployment, scaling, and

    operations of application containers across clusters of hosts, providing container- centric infrastructure."
  5. 3 . 2 portable: public, private, hybrid, multi-cloud extensible: modular,

    pluggable, hookable, composable self-healing: auto-placement, auto-restart, auto- replication, auto-scaling
  6. 3 . 3

  7. 3 . 4 3 . 5 Pods & Co.

  8. 3 . 6 Pods

  9. 3 . 7 Replication Controller  P P P

  10. 3 . 8 Deployment combination of pod & replication controller

    edited as a unit
  11. apiVersion: extensions/v1beta1 kind: Deployment metadata: name: frontend spec: replicas: 3

    template: metadata: labels: app: guestbook tier: frontend spec: containers: - name: php-redis image: gcr.io/google-samples/gb-frontend:v4 resources: requests:
  12. 3 . 9 3 . 10 Services

  13. 3 . 11 endpoint for a set of pods an

    external endpoint can be resolved using DNS environment variables
  14. None
  15. 3 . 12 4 . 1 DEIS WORKFLOW

  16. None
  17. 4 . 2 4 . 3 Workflow

  18. 4 . 4 Architecture

  19. 4 . 5 Application Structure

  20. 4 . 6 Application Access Application is reachable at <application>.

    <cluster-base>, e.g. logmon.apps.codecentric.de Deis Controller Interface is available at deis. <cluster-base>
  21. 4 . 7 Scaling deis scale web=5 worker=2

  22. 4 . 8 Updating Applications Deploy application New Pods will

    be rolled out using Kubernetes Rolling- Upgrade Feature
  23. 5 . 1 HELM

  24. 5 . 2 package manager installation description using charts dependency

    management for charts deployment history rollbacks
  25. 5 . 3 Demo: Wordpress

  26. 6 . 1 LOGGING

  27. 6 . 2 components fluentd: unified data collector log routing

    multiple in- and output plugis elasticsearch: NoSQL datastore search and analysis kibana flexible analysis for elasticsearch data custom dashboards
  28. 6 . 3 Demo: Kibana

  29. 7 . 1 MONITORING

  30. 7 . 2 monitoring of multi-dimensional time series data very

    powerful query language data ingestion via HTTP pull targets can be found using service discovery
  31. pull metrics HDD / SSD Pushgateway Short-lived jobs Jobs /

    Exporters Storage Retrieval PromQL Prometheus Server Node Service Discovery find targets Prometheus Server Alertmanager push alerts Web UI Grafana API clients PagerDuty Email DNS Kubernetes Consul ... Custom integration notify ...
  32. 7 . 3 7 . 4 Demo

  33. 8 . 1 WRAPPING UP

  34. 8 . 2 The End Copyright 2017