Skip to content
Snippets Groups Projects
  1. May 26, 2021
  2. May 25, 2021
  3. May 05, 2021
  4. Apr 27, 2021
  5. Apr 22, 2021
    • Damien Grisonnet's avatar
      jsonnet: make prometheus-adapter highly-available · 4c6a06cf
      Damien Grisonnet authored
      
      Prometheus-adapter is a component of the monitoring stack that in most
      cases require to be highly available. For instance, we most likely
      always want the autoscaling pipeline to be available and we also want to
      avoid having no available backends serving the metrics API apiservices
      has it would result in both the AggregatedAPIDown alert firing and the
      kubectl top command not working anymore.
      
      In order to make the adapter highly-avaible, we need to increase its
      replica count to 2 and come up with a rolling update strategy and a
      pod anti-affinity rule based on the kubernetes hostname to prevent the
      adapters to be scheduled on the same node. The default rolling update
      strategy for deployments isn't enough as the default maxUnavaible value
      is 25% and is rounded down to 0. This means that during rolling-updates
      scheduling will fail if there isn't more nodes than the number of
      replicas. As for the maxSurge, the default should be fine as it is
      rounded up to 1, but for clarity it might be better to just set it to 1.
      For the pod anti-affinity constraints, it would be best if it was hard,
      but having it soft should be good enough and fit most use-cases.
      
      Signed-off-by: default avatarDamien Grisonnet <dgrisonn@redhat.com>
      4c6a06cf
  6. Apr 21, 2021
  7. Apr 20, 2021
  8. Apr 16, 2021
  9. Apr 14, 2021
  10. Apr 09, 2021
  11. Mar 29, 2021
  12. Mar 25, 2021
  13. Mar 24, 2021
  14. Mar 18, 2021
  15. Mar 16, 2021
  16. Mar 15, 2021
  17. Mar 05, 2021
  18. Mar 03, 2021
  19. Mar 01, 2021
  20. Feb 25, 2021
  21. Feb 23, 2021
  22. Feb 22, 2021
  23. Feb 20, 2021
  24. Feb 12, 2021
  25. Feb 10, 2021
  26. Feb 09, 2021
  27. Feb 06, 2021
  28. Feb 04, 2021
  29. Jan 29, 2021
  30. Jan 28, 2021
  31. Jan 27, 2021
  32. Jan 26, 2021
Loading