{"repo":"utilitywarehouse/thanos-manifests","free":true,"listed":false,"github":"https://github.com/utilitywarehouse/thanos-manifests","clone":"git clone https://github.com/utilitywarehouse/thanos-manifests.git","description":"Kustomize base manifests for Thanos","language":"Shell","stars":15,"topics":["prometheus","uw-owner-system","uw-dep-prometheus","uw-dep-thanos"],"license":"MIT","category":"analytics","readme_excerpt":"Thanos Manifests This repository provides [Kustomize][1] base to deploy [Prometheus][2] + [Thanos][3] and example overlays for general deployment in either AWS or GCP. Using https://github.com/thanos-io/kube-thanos/tree/main/examples/all/manifests as upstream inspiration. Usage To use the base, reference the remote in your kustomization.yaml You then MUST patch the following resources: - Prometheus PROMETHEUS URL envvar - Thanos Rule ALERTMANAGER URL envvar - Thanos Rule THANOS QUERY URL envvar You MUST provide the following ConfigMaps: - alerts - prometheus - thanos-rule-alerts - thanos-rule - thanos-storage - thanos-query Alert files MUST have .yaml extension. Refer to AWS Configuration and GCP Configuration for provider specific requirements. Additional Components You will find that the base actually pulls each individual component as a sub- base. The reason for this is so that we can add additional components without having to deploy the entire stack. The prime example of this is adding an extra set of a prometheus , thanos-storage and thanos-compact stack which can be used with a separate configuration. You can reference the more specific bases: Note that in this case you must still follow the configuration instructions in the previous section, ignoring any parts for thanos-rule and thanos-query . Enabling remote-write with thanos-receive The other optional component is thanos-receive, that provides a prometheus' remote-write endpoint. To deploy it, add the thanos-receiv","default_branch":null,"files":null,"tree":[],"storefront":"/r/utilitywarehouse","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/utilitywarehouse/thanos-manifests/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}