Skip to content
Snippets Groups Projects
  1. Apr 15, 2019
  2. Aug 16, 2018
    • Max Leonard Inden's avatar
      *.sh: Set sane bash options on shell scripts · cbb03d38
      Max Leonard Inden authored
      Adding the following accross the project:
      
      ```bash
      /# exit immediately when a command fails
      set -e
      /# only exit with zero if all commands of the pipeline exit successfully
      set -o pipefail
      /# error on unset variables
      +set -u
      
      ```
      cbb03d38
  3. May 28, 2018
  4. May 06, 2018
  5. Apr 28, 2018
  6. Apr 23, 2018
  7. Apr 13, 2018
  8. Mar 26, 2018
  9. Mar 19, 2018
    • Max Leonard Inden's avatar
      contrib/kube: Add rbac role to discover prometheus · 310f471c
      Max Leonard Inden authored
      The current example-app setup in the kube-prometheus project is able to
      discover scraping targets in the default namespace. It is not able to
      discover the configured Alertmanager in the monitoring namespace.
      
      This patch adds an alertmanager-discovery rbac role, to permit the
      above described action. In addition it does the following cleanups:
      
      - Remove kubeconfig configuration in deploy and teardown script. kubectl
      chooses .kube/config whenever KUBECONFIG is not set by default
      
      - Remove namespace specification option via NAMESPACE env var. In most
      of the manifests the metadata/namespace was hardcoded anyways, in
      addition in the promtheus frontend role binding the service account
      namespace is hardcoded to default as well.
      
      - Instead of `kubectl {apply,delete}` individual manifests, the deploy
      and teardown shell scripts {apply,delete} on the entire folder.
      310f471c
    • Max Leonard Inden's avatar
      Unify rule file label accross repository · 2f302943
      Max Leonard Inden authored
      In some cases we have been using `alert-rules` in some cases
      `prometheus-rulefiles`. This led to confusion [1]. Instead, unify the
      Prometheus rules configmap labels to:
      
      ```yaml
      labels:
        role: alert-rules
      ```
      
      [1] https://github.com/coreos/prometheus-operator/issues/1102
      2f302943
  10. Mar 08, 2018
  11. Mar 01, 2018
  12. Feb 26, 2018
  13. Feb 12, 2018
  14. Feb 09, 2018
  15. Feb 08, 2018
  16. Feb 04, 2018
  17. Jan 31, 2018
  18. Jan 30, 2018
  19. Jan 26, 2018
  20. Jan 23, 2018
  21. Jan 19, 2018
  22. Jan 15, 2018
  23. Jan 10, 2018
  24. Dec 27, 2017
  25. Nov 29, 2017
  26. Nov 27, 2017
  27. Nov 22, 2017
  28. Oct 30, 2017
  29. Oct 22, 2017
  30. Oct 17, 2017
  31. Oct 13, 2017
  32. Oct 11, 2017
  33. Sep 22, 2017
  34. Sep 15, 2017
  35. Sep 14, 2017
Loading