similarweb / statusbay-helm

Helm Chart for Statusbay
https://statusbay.io
Apache License 2.0
22 stars 5 forks source link

request: allow for more configurations #34

Open vmarchaud opened 4 years ago

vmarchaud commented 4 years ago

Hi,

I'm deploying statusbay on GKE with the following setup:

Every cluster is using a different GCP account to i must expose the db to internet so i can monitor the deployments on all cluster (would better to use the api instead of the database in the future).

However i had some issues with the chart as it is today:

I've had other issue because of the database need to be exposed to internet but that's not really whats the chart is about. However you could rely on the official stable mysql chart to ease that part

Thanks for statusbay by the way, cool software !

kaplanelad commented 4 years ago

Hey, @vmarchaud I'm happy that you like our tool and using it :)

To improve our chart, can you please share with us the values.yaml file configuration? I want to understand better what we need to add to improve the deployment flow.

vmarchaud commented 4 years ago
service:
  api:
    type: NodePort
  ui:
    type: NodePort
    annotations:
      "beta.cloud.google.com/backend-config": '{"default": "komiser-default-config"}'
ingress:
  api:
    host: ${local.statusbay_api_endpoint}
    annotations:
      "external-dns.alpha.kubernetes.io/hostname": "${local.statusbay_api_endpoint}."
      "cert-manager.io/cluster-issuer": "ssl-cert-issuer"
    tls:
    - hosts:
      - ${local.statusbay_api_endpoint}
      secretName: statusbay-api-tls
  ui:
    host: ${local.statusbay_ui_endpoint}
    annotations:
      "external-dns.alpha.kubernetes.io/hostname": "${local.statusbay_ui_endpoint}."
      "cert-manager.io/cluster-issuer": "ssl-cert-issuer"
    tls:
    - hosts:
      - ${local.statusbay_ui_endpoint}
      secretName: statusbay-ui-tls
ui:
  replicas: 2
watcher:
  kubernetes:
    application:
      cluster_name: ${var.environment}
      slack:
        default_channels:
          - "#releases"
database:
  host: 172.16.0.1
  service:
    exposeToInternet: "true"
    annotations:
      "external-dns.alpha.kubernetes.io/hostname": "${local.statusbay_database_endpoint}."

Apparently i messed up and you actually allow configuring the service type so you can ignore 1).

kaplanelad commented 4 years ago

Thanks @vmarchaud for sharing your (GKE) configuration. I'll go over the configuration and improve our chart.