{"action":"created","issue":{"url":"https://api.github.com/repos/improbable-eng/thanos/issues/454","repository_url":"https://api.github.com/repos/improbable-eng/thanos","labels_url":"https://api.github.com/repos/improbable-eng/thanos/issues/454/labels{/name}","comments_url":"https://api.github.com/repos/improbable-eng/thanos/issues/454/comments","events_url":"https://api.github.com/repos/improbable-eng/thanos/issues/454/events","html_url":"https://github.com/improbable-eng/thanos/issues/454","id":346393873,"node_id":"MDU6SXNzdWUzNDYzOTM4NzM=","number":454,"title":"Is there a way I can do a Global Scale Thanos Deployment?","user":{"login":"astub","id":4090014,"node_id":"MDQ6VXNlcjQwOTAwMTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/4090014?v=4","gravatar_id":"","url":"https://api.github.com/users/astub","html_url":"https://github.com/astub","followers_url":"https://api.github.com/users/astub/followers","following_url":"https://api.github.com/users/astub/following{/other_user}","gists_url":"https://api.github.com/users/astub/gists{/gist_id}","starred_url":"https://api.github.com/users/astub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astub/subscriptions","organizations_url":"https://api.github.com/users/astub/orgs","repos_url":"https://api.github.com/users/astub/repos","events_url":"https://api.github.com/users/astub/events{/privacy}","received_events_url":"https://api.github.com/users/astub/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-31T23:25:26Z","updated_at":"2018-08-02T17:08:58Z","closed_at":null,"author_association":"NONE","body":"I want to be able to use an ingress as in `--cluster.peers` to discover all peers inside another cluster. Is this possible? Or do I need to create and ingress for each prometheus and thanos store in my cluster?\r\n\r\nI know I can use the service like `--cluster.peers=thanos-peers.monitoring.svc.cluster.local:10900`\r\n\r\nI'm referencing your [slide 80 on slideshare](https://www.slideshare.net/BartomiejPotka/thanos-global-durable-prometheus-monitoring)\r\n\r\nAlso an example how you do this would be sweet!!!"},"comment":{"url":"https://api.github.com/repos/improbable-eng/thanos/issues/comments/409999904","html_url":"https://github.com/improbable-eng/thanos/issues/454#issuecomment-409999904","issue_url":"https://api.github.com/repos/improbable-eng/thanos/issues/454","id":409999904,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTk5OTkwNA==","user":{"login":"Bplotka","id":6950331,"node_id":"MDQ6VXNlcjY5NTAzMzE=","avatar_url":"https://avatars2.githubusercontent.com/u/6950331?v=4","gravatar_id":"","url":"https://api.github.com/users/Bplotka","html_url":"https://github.com/Bplotka","followers_url":"https://api.github.com/users/Bplotka/followers","following_url":"https://api.github.com/users/Bplotka/following{/other_user}","gists_url":"https://api.github.com/users/Bplotka/gists{/gist_id}","starred_url":"https://api.github.com/users/Bplotka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bplotka/subscriptions","organizations_url":"https://api.github.com/users/Bplotka/orgs","repos_url":"https://api.github.com/users/Bplotka/repos","events_url":"https://api.github.com/users/Bplotka/events{/privacy}","received_events_url":"https://api.github.com/users/Bplotka/received_events","type":"User","site_admin":false},"created_at":"2018-08-02T17:08:58Z","updated_at":"2018-08-02T17:08:58Z","author_association":"COLLABORATOR","body":"Sure, we can try to explain that (:\r\n\r\nGlobal gossip:\r\n- You need direct access to the pods on IP level, so it is hard without VPC peering or VPN.\r\n\r\nUsing static `--store` option:\r\n- You can use some proxy (we are doing this via envoy) to set up the connection between query and sidecars\r\n\r\nUsing static `--store` + gossip option:\r\n- You can use some proxy to set up the connection between query and **another** query in separate, isolated cluster that uses gossip to connect to local sidecars.\r\n\r\nSo the answer to your title is: **yes** and we are doing that right now.\r\n\r\n```\r\n[Thanos query -> (static) -> Thanos query per each environment] -> (static + proxy) -> [ Thanos-query -> (gossip) local Thanos sidecars] \r\n```\r\nWhere things inside `[ ]` are in the same network."}}
{"actor":{"display_login":"Bplotka"}}