Skip to content
Snippets Groups Projects
  1. Mar 26, 2018
  2. Mar 23, 2018
  3. Mar 22, 2018
  4. Mar 21, 2018
  5. Mar 20, 2018
  6. 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
    • Max Leonard Inden's avatar
      contrib/kube: Restrict example-app servicemonitor to default ns · 3a6d38ea
      Max Leonard Inden authored
      The `prometheus-frontend` role of the example app kubeprometheus section
      is scoped to the default namespace. Thereby the frontend Prometheus
      instance is not able to discover anything outside of the default
      namespace. We might as well restrict the front end service monitor to
      the default namespace too.
      3a6d38ea
  7. Mar 14, 2018
  8. Mar 12, 2018
  9. Mar 11, 2018
    • Jesse Stuart's avatar
      docs: Add missing argument in `kubeadm` workaround script. · f0a86796
      Jesse Stuart authored
      One of the `sed` commands for updating the kubeadm systemd
      file (`/etc/systemd/system/kubelet.service.d/10-kubeadm.conf`)
      was missing a `-i` reference to the file itself, causing it
      to hang indefinitely if ran as declared.
      
      I also wrapped this second `sed` in an `if grep ...` check,
      in order to make the operation idempotent.
      f0a86796
  10. Mar 08, 2018
  11. Mar 05, 2018
  12. Mar 01, 2018
  13. Feb 28, 2018
  14. Feb 26, 2018
  15. Feb 16, 2018
  16. Feb 14, 2018
  17. Feb 13, 2018
    • Dan Mace's avatar
      Add missing resource to operator role · 936622aa
      Dan Mace authored
      Add a missing 'prometheuses/finalizers' resource to the operator cluster role.
      Without this role, the operator will fail to create a default secret for a
      Prometheus instance in the absence of any service monitors.
      
      The fix seems to already be present in the `examples` version of the role; this
      patch brings the contrib version in line with the example.
      936622aa
  18. Feb 12, 2018
  19. Feb 09, 2018
  20. Feb 08, 2018
  21. Feb 04, 2018
  22. Feb 03, 2018
  23. Feb 01, 2018
  24. Jan 31, 2018
  25. Jan 30, 2018
  26. Jan 26, 2018
Loading