Page MenuHomeSoftware Heritage

thanos: Declare archive-production thanos for live data querying
AbandonedPublic

Authored by vsellier on Oct 4 2022, 6:45 PM.

Details

Summary

Related to T4385

Test Plan
  • pergamon:
diff origin/production/pergamon.softwareheritage.org current/pergamon.softwareheritage.org
*******************************************
+ Resource_record[k8s-archive-production-thanos/CNAME] =>
   parameters =>
     "data": "k8s-archive-production.internal.softwareheritage.org.",
     "keyfile": "/etc/bind/keys/local-update",
     "record": "k8s-archive-production-thanos.internal.softwareheritage.org",
     "type": "CNAME"
*******************************************
*** End octocatalog-diff on pergamon.softwareheritage.org
  • thanos:
diff origin/production/thanos.internal.admin.swh.network current/thanos.internal.admin.swh.network
*******************************************
+ Concat::Fragment[k8s-archive-production-thanos.internal.softwareheritage.org:443] =>
   parameters =>
     "content": "  - k8s-archive-production-thanos.internal.softwareheritage.org:...
     "order": 1,
     "tag": "thanos",
     "target": "/etc/thanos/query-sd.yaml"
*******************************************
+ Concat_fragment[k8s-archive-production-thanos.internal.softwareheritage.org:443] =>
   parameters =>
     "content": "  - k8s-archive-production-thanos.internal.softwareheritage.org:...
     "order": 1,
     "tag": "_etc_thanos_query-sd.yaml",
     "target": "/etc/thanos/query-sd.yaml"
*******************************************
*** End octocatalog-diff on thanos.internal.admin.swh.network

Diff Detail

Repository
rSPSITE puppet-swh-site
Branch
staging
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 32087
Build 50238: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Oct 5 2022, 10:31 AM

unfortunately it can't work without T4604 as the store is configured to use the letencrypt certificate:

ExecStart=/opt/thanos/current/thanos store \
  --data-dir $CACHE_DIRECTORY \
  --objstore.config-file <%= @config_dir %>/objstore-%i.yml \
  --http-address $HTTP_ADDRESS \
  --grpc-server-tls-cert=<%= @cert_paths['fullchain'] %> --grpc-server-tls-key=<%= @cert_paths['privkey'] %> \   <---- this
  --grpc-address $GRPC_ADDRESS