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.

7 - Monitoring Kubernetes with Elastic

18 views

Published on

Hands-on workshop: monitoring Kubernetes

Published in: Software
  • Be the first to comment

  • Be the first to like this

7 - Monitoring Kubernetes with Elastic

  1. 1. Monitoring Kubernetes with Elastic
  2. 2. #whoami ●Wouter De Kimpe ●System Engineer @ Kangaroot ●linkedin.com/in/dekimpew
  3. 3. Introducing: Rancher ●Kubernetes the easy way ●Creating and managing multiple clusters ●Both on-prem and cloud clusters
  4. 4. Challenges of monitoring containers ●Containers come and go: cattle Vs. pets ●Dynamic environment ●Many different endpoints to monitor
  5. 5. Introducing: Elastic Stack ●A stack … For search! ●Not only for aggregating logs or searching data ●Consists of: – Beats: Lightweight shippers – Logstash: Transforming data – Elasticsearch: Scale out database – Kibana: WebUI for visualizations
  6. 6. The elastic members
  7. 7. The Infrastrucure view ●New addition to Kibana ●Tailored towards monitoring infrastructure ●Logs and metrics within reach in one view ●Dynamic add/remove of k8s workloads
  8. 8. Integrating Elastic in Rancher ●Filebeat and Metricbeat on the k8s clusters – Can be deployed with helm or the elastic yml – Deployed as a daemonset on all nodes ●Elasticsearch and Kibana outside the cluster
  9. 9. Yaml to the beat ●Some minor changes and considerations are required to get metrics and logs in Elasticsearch. ●By default deployed to kube-system ●Metricbeat requires kube-state-metrics to be installed ●Logs to filebeat-%{date} and metricbeat-%{date} by default
  10. 10. Resources ●https://github.com/santascsi/elasticrancher ●https://www.elastic.co/guide/en/infrastructure/guide/current/infrastr ucture-ui-overview.html ●https://www.elastic.co/guide/en/beats/metricbeat/current/running- on-kubernetes.html
  11. 11. Demo time!
  12. 12. Thank you!

×