loculus-project / loculus

An open-source software package to power microbial genomic databases
https://loculus.org
GNU Affero General Public License v3.0
37 stars 2 forks source link

Expose grafana on grafana.loculus.org #2954

Open corneliusroemer opened 1 month ago

corneliusroemer commented 1 month ago

Done:

apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: grafana
  namespace: monitoring
spec:
  entryPoints:
    - websecure  # If you're using a secure entry point like websecure for ArgoCD, keep this, otherwise use "web".
  routes:
    - kind: Rule
      match: Host(`grafana.loculus.org`)
      priority: 10
      services:
        - name: grafana
          port: 80
  tls:
    certResolver: myresolver
corneliusroemer commented 1 month ago

FYI @theosanderson

theosanderson commented 1 month ago

Please do this in https://github.com/loculus-project/loculus_toplevel_gitops if you want to do it?

corneliusroemer commented 1 month ago

ah I didn't know about that repo. Is it automatically applied or does it still require manual applying ? it's already been applied so I guess you're asking me to add the ingress route there to the right file?

theosanderson commented 1 month ago

Apologies that you weren't aware. It is deployed via ArgoCD (you'll see the application). I can't recall for sure if one needs to hit "sync" in ArgoCD for it to take effect or not.

corneliusroemer commented 1 month ago

I'll reopen this to migrate from manual application to argocd-managed.

Do we have the same kind of top-level for Pathoplexus? I also did it manually there, so might need the same migration.

theosanderson commented 1 month ago

Yes - you have reviewed quite a few PRs for https://github.com/pathoplexus/toplevel_gitops :)