sophora-metadata-supplier
Sophora Metadata Supplier (SMS)
About this chart
Sophora Metadata Supplier
Note: The Sophora Metadata Supplier ist not horizontally scalable and runs as a single pod deployed in a Kubernetes cluster.
Mappings
This Helm Chart supports the installation of additional mappings via s3 or container image (see metadataSupplier.mapping).
Alerts
To enable prometheus alerts, set prometheusRule.enabled: true in your values.
The default rules include an alert which is triggered if the job queue (priority: normal/high) of the Sophora Metadata Supplier is full over a period of time. It can be configured by setting the following values below prometheusRule.defaultRules.jobQueue:
maxQueueSize(default: 1000)maxQueueTime(default: 10m)maxQueueSeverity(default: high) To disable the default rules, setprometheusRule.defaultRules.enabled: false.
You can add custom alerts via prometheusRule.rules.
Extra Deploy
Sometimes you may want to deploy extra objects alongside your importer, such as a Secret containing basicAuth configuration for your ingress.
To cover these cases, the chart allows adding the full Kubernetes resource specification of other objects using the extraDeploy parameter.
Creating a Secret for the ingress with basic auth case is shown in this example.
extraDeploy:
- |
apiVersion: v1
data:
auth: Zm9vOiRhcHIxJE9GRzNYeWJwJGNrTDBGSERBa29YWUlsSDkuY3lzVDAK
kind: Secret
metadata:
name: basic-auth
namespace: default
type: Opaque
Deploy sophora-metadata-supplier with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has sophora-metadata-supplier on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartsophora-metadata-supplier is pinned at v1.9.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply