Monitoring and managing Containers using Open Source tools

7c4b1ae16723b56facc7a8a8f95aa6ce?s=47 jmortegac
October 12, 2020

Monitoring and managing Containers using Open Source tools

The world is advancing towards accelerated deployments using DevOps and cloud native technologies. In architectures based on microservices, container monitoring and management become even more important as we need to scale our application.

In this talk, I will show how to monitor and manage docker containers to manage the status of your applications. We will review how to monitor for security events using open source solutions to build an actionable monitoring system for Docker and Kubernetes.

Through a web interface, tools such as cadvisor, portainer and rancher give us a global overview of the containers you are running as well as facilitate their management.

These could be the main points to discuss:

*Challenges in containers and architectures distributed from the point of view of monitoring and administration
*Most important metrics that we can use to measure container performance.
*Tools for monitoring and management of containers such as cadvisor, sysdig and portainer
*Rancher as a platform for the administration of Kubernetes

7c4b1ae16723b56facc7a8a8f95aa6ce?s=128

jmortegac

October 12, 2020
Tweet

Transcript

  1. openSUSE® 2020 Monitoring and managing Containers using Open Source tools

    Monitoring and management with sysdig, portainer and Rancher Jose Manuel Ortega @jmortegac
  2. @jmortegac http://jmortega.github.io https://www.linkedin.com/in/jmortega1/

  3. https://bpbonline.com/products/devops-and-containers-security- security-and-monitoring-in-docker-containers

  4. • Challenges in containers and architectures distributed. • Metrics that

    we can use to measure container performance. • Tools for monitoring and management of containers such as cadvisor, sysdig and portainer. • Rancher as a platform for the administration of Kubernetes. < >
  5. • Detecting issues and troubles. • Changes and upgrades can

    be done safely. • Refine applications for better performance and robustness. < >
  6. None
  7. Finding the Most Relevant Metrics CPU Memory Input/Output Network traffic

  8. Docker stats

  9. docker stats [OPTIONS] [CONTAINER...]

  10. /containers/{id}/stats Docker Remote API /containers/{name}/stats

  11. curl -s http://localhost:2375/v1.12/containers /<id_container>/stats

  12. None
  13. https://github.com/google/cadvisor

  14. None
  15. None
  16. None
  17. • Others Docker container monitoring tool ◦ https://ctop.sh

  18. • Others Docker container monitoring tool ◦ https://github.com/jesseduffield/lazydocker

  19. • Exploring layers in docker images ◦ https://github.com/wagoodman/dive

  20. None
  21. None
  22. None
  23. Sysdig falco https://sysdig.com/opensource/falco/

  24. Sysdig falco https://sysdig.com/opensource/falco/

  25. Sysdig falco https://sysdig.com/opensource/falco/

  26. Sysdig falco https://sysdig.com/opensource/falco/

  27. None
  28. None
  29. None
  30. None
  31. None
  32. None
  33. None
  34. None
  35. None
  36. None
  37. None
  38. None
  39. None
  40. None
  41. None
  42. None
  43. None
  44. None
  45. https://www.katacoda.com/portainer/scenarios/deploying -to-swarm

  46. • Challenges in containers and architectures distributed. • Metrics that

    we can use to measure container performance. • Tools for monitoring and management of containers such as cadvisor, sysdig and portainer. • Rancher as a platform for the administration of Kubernetes. < > Conclusions
  47. None
  48. Thank You Finish