tracker

by deps.cloud

Helm chartv0.3.5App 0.3.5Verified publisherOfficial

A Helm chart for running the deps.cloud tracker process

About this chart

Tracker

Tracker is the primary API service in the deps.cloud ecosystem. It manages the dependency graph stored in various relational databases.

Introduction

This chart bootstraps a tracker deployment on a Kubernetes cluster using the Helm package manager.

Current chart version is 0.3.5

Source Code

Prerequisites

  • Kubernetes 1.15+
  • Helm 3.0+

Installing the Chart

To install the chart with the release name tracker:

$ helm repo add depscloud https://depscloud.github.io/deploy/charts
$ helm install tracker depscloud/tracker

The command deploys tracker on the Kubernetes cluster using the default configuration. The Parameters section lists the parameters that can be configured during installation.

Tip: List all releases using helm search repo --versions

Uninstalling the Chart

To uninstall/delete the tracker deployment:

$ helm delete tracker

The command removes all the Kubernetes components associated with the chart and deletes the release.

Parameters

The following table lists the configurable parameters of the tracker chart and their default values.

KeyTypeDefaultDescription
affinityobject{}
autoscaling.enabledboolfalseEnable autoscaling.
autoscaling.maxReplicasint5The maximum number of replicas allowed.
autoscaling.minReplicasint1The minimum number of replicas to maintain.
autoscaling.targetCPUUtilizationPercentageint80The target CPU utilization threshold when autoscaling is triggered.
externalStorage.configMapRef.namestring""The name of the config map containing the storage connection information.
externalStorage.secretRef.namestring""The name of the secret containing the storage connection information.
fullnameOverridestring""
global.labelsobject{}Common labels added to all resources.
global.metrics.serviceMonitor.enabledboolfalseCreate a Prometheus ServiceMonitor.
global.metrics.serviceMonitor.intervalstring"10s"Configure the scrape interval used by the monitor.
global.service.topologylist[]Configure the routing topology. Requires ServiceTopology feature gate and ClusterIP.
image.pullPolicystring"IfNotPresent"
image.repositorystring"ocr.sh/depscloud/tracker"
image.tagstring""
imagePullSecretslist[]
labelsobject{}Labels added to all resources. These are joined with the global configuration for the deployment.
metrics.dashboard.enabledboolfalseEnables the creation of the dashboard config map.
metrics.dashboard.namespacestring""Specify what namespace the config map should be deployed to. This may differ from your application configuration. Defaults to the namespace of the release.
metrics.dashboard.sidecar.labelstring"grafana_dashboard"The label used by the sidecar to select the dashboard.
metrics.serviceMonitor.enabledboolfalseCreate a Prometheus ServiceMonitor.
metrics.serviceMonitor.intervalstring"10s"Configure the scrape interval used by the monitor.
nameOverridestring""
nodeSelectorobject{}
podAnnotationsobject{}Annotations for the pod.
podSecurityContextobject{}
replicaCountint1The number of instances to run.
resourcesobject{}Configure the resources allocated to the process.
securityContextobject{}
service.annotationsobject{}Specify any annotations to add to the service.
service.topologylist[]Configure the routing topology. Requires ServiceTopology feature gate and ClusterIP.
service.typestring"Headless"Configure the service type to use.
serviceAccount.automountTokenboolfalseDetermine pods should automount the token.
serviceAccount.createbooltrueSpecifies whether a service account should be created.
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template
storage.addressstring"file::memory:?cache=shared"The read-write connection string.
storage.driverstring"sqlite"The driver to use. (Available: sqlite, mysql, postgresql)
storage.readOnlyAddressstringnilThe read-only connection string.
tls.secretNamestring""Configure mTLS for the gateway. The secret needs 3 keys: tls.crt, tls.key, and ca.crt.
tolerationslist[]

Deploy tracker with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has tracker 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the charttracker is pinned at v0.3.5 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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