datahub-ingestion-cron

by vitaliy.konchyts

Helm chartv0.2.2App 0.3.2Verified publisher

A Helm chart for Kubernetes

About this chart

datahub-ingestion-cron

A Helm chart for datahub's metadata-ingestion framework with kerberos authentication.

Chart Values

KeyTypeDefaultDescription
image.pullPolicystring"Always"Image pull policy
image.repositorystring"linkedin/datahub-ingestion"DataHub Ingestion image repository
image.tagstring"head"DataHub Ingestion image tag
imagePullSecretsarray[] (does not add image pull secrets to deployed pods)Docker registry secret names as an array
labelsstring{}Metadata labels to be added to each crawling cron job
cronstype{}A map of crawling parameters per different technology being crawler, the key in the object will be used as the name for the new cron job
crons.schedulestring"0 0 * * *"Cron expression (default is daily at midnight) for crawler jobs
crons.recipeobject{}Recipe configuration to be executed (required)
crons.recipe.configmapNamestring""Name of configmap to be mounted containing recipe to be executed
crons.recipe.fileNamestring""Name of property within configMap referenced by recipe.configName with the concrete recipe definition
crons.commandarray["/bin/sh", "-c", "datahub ingest -c /etc/recipe/<crons.recipe.fileName>"]Array of strings denoting the crawling command to be invoked in the cron job. By default it will execute the recipe defined in the crons.recipe object. Cron crawling customization is possible by having extra volumes with custom logic to be executed.
crons.hostAliasesarray[]host aliases
crons.envobject{}Environment variables to add to the cronjob container
crons.envFromSecretsobject{}Environment variables from secrets to the cronjob container
crons.envFromSecrets*.secretstringsecretKeyRef.name used for environment variable
crons.envFromSecrets*.keystringsecretKeyRef.key used for environment variable
crons.extraVolumesarray[]Additional volumes to add to the pods
crons.extraVolumeMountsarray[]Additional volume mounts to add to the pods
crons.extraInitContainersobject{}Init containers to add to the cronjob container
crons.serviceAccountNamestringService account name used for the cronjob container

Deploy datahub-ingestion-cron with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has datahub-ingestion-cron 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 chartdatahub-ingestion-cron is pinned at v0.2.2 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