ilum-marquez

by Ilum

Helm chartv6.7.0Verified publisher

Marquez packaged by Ilum, an open source metadata service for the collection, aggregation, and visualization of a data ecosystem's metadata.

About this chart

ilum-marquez packaged by ilum

TL;DR

$ helm repo add ilum https://charts.ilum.cloud
$ helm install ilum-marquez ilum/ilum-marquez

Installing the Chart

To install the chart with the release name ilum-marquez:

$ helm install ilum-marquez ilum/ilum-marquez --set postgresql.enabled=true

The command deploys ilum-marquez on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.

Uninstalling the Chart

To uninstall/delete the ilum-marquez deployment:

$ helm delete ilum-marquez

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

Parameters

Marquez parameters

ParameterDescriptionDefault
marquez.replicaCountNumber of desired replicas1
marquez.image.registryImage registrydocker.io
marquez.image.repositoryImage repositoryilum/marquez
marquez.image.tagImage tag0.53.1
marquez.image.pullPolicyImage pull policyIfNotPresent
marquez.existingSecretNameName of existing secret for DB credentials""
marquez.extraContainersSidecar containers to add to the Marquez pod[]
marquez.pdb.createCreate PodDisruptionBudgetfalse
marquez.podSecurityContextPod security context{}
marquez.securityContextContainer security context{}
marquez.db.hostPostgreSQL host (ignored if postgresql.enabled=true)ilum-postgresql-0.ilum-postgresql-hl
marquez.db.portPostgreSQL port5432
marquez.db.namePostgreSQL databasemarquez
marquez.db.userPostgreSQL userilum
marquez.db.passwordPostgreSQL passwordCHANGEMEPLEASE
marquez.dbRetention.enabledEnable DB retention policyfalse
marquez.migrateOnStartupExecute Flyway migrationtrue
marquez.resourcesResource limits/requests{}

Marquez service parameters

ParameterDescriptionDefault
marquez.service.typeMarquez service typeClusterIP
marquez.service.portMarquez service port9555
marquez.service.nodePortMarquez service nodePort""
marquez.service.loadBalancerIPMarquez service loadBalancerIP""
marquez.service.annotationsMarquez service annotations{}

Marquez Web UI parameters

ParameterDescriptionDefault
web.enabledEnables creation of Web UItrue
web.image.registryImage registrydocker.io
web.image.repositoryImage repositoryilum/marquez-web
web.image.tagImage tag0.53.1
web.podSecurityContextPod security context{}
web.securityContextContainer security context{}
web.pdb.createCreate PodDisruptionBudgetfalse
web.resourcesResource limits/requests{}

Marquez web service parameters

ParameterDescriptionDefault
web.service.typeMarquez service typeClusterIP
web.service.portMarquez service port9444
web.service.nodePortMarquez service nodePort""
web.service.loadBalancerIPMarquez service loadBalancerIP""
web.service.annotationsMarquez service annotations{}

PostgreSQL parameters

ParameterDescriptionDefault
postgresql.enabledDeploy PostgreSQL subchartfalse
postgresql.auth.usernamePostgreSQL usernameilum
postgresql.auth.passwordPostgreSQL passwordCHANGEMEPLEASE
postgresql.auth.databasePostgreSQL databasemarquez

Other parameters

ParameterDescriptionDefault
commonLabelsLabels to apply to all resources{}
commonAnnotationsAnnotations to apply to all resources{}
serviceAccount.createCreate ServiceAccounttrue
serviceAccount.nameServiceAccount name to use""
ingress.enabledEnable Ingressfalse

Local Installation Guide

Helm Managed Postgres

The quickest way to install Marquez via Kubernetes is to create a local Postgres instance.

helm install ilum-marquez . --dependency-update --set postgresql.enabled=true

Docker Postgres

A Postgres database is configured within the Marquez project that use Docker to launch, which provides the added benefit of test data seeding. You can run the following command to create this instance of Postgres via Docker. Contents of the ./../docker-compose-postgres..yml file can be customized to better represent your desired setup.

docker-compose -f ./../docker-compose.db.yml -p marquez-postgres up

Once the Postgres instance has been created, run the following command to locate the IP address of the database. Note you will need to un-escape the markdown.

marquez_db_ip=$(docker inspect marquez-postgres_db_1 -f '{{range.NetworkSettings.Networks}}{{.Gateway}}{{end}}')

Deploy via Helm and update database values as needed, either via the values.yaml file or within the Helm CLI command. Again, remove the pesky markdown escape character before running this command.

helm install ilum-marquez . --dependency-update --set marquez.db.host=$marquez_db_ip

Validation

Once the Kubernetes pods and services have been installed (usually within 5-10 seconds), connectivity tests can be executed by running the following Helm command. You should see a status message of Succeeded for each test if the HTTP endpoints were reachable.

helm test ilum-marquez

If you haven't configured ingress within the Helm chart values, then you can use the following port forwarding rules to support local development.

kubectl port-forward svc/ilum-marquez 5000:80
kubectl port-forward svc/ilum-marquez-web 3000:80

Once these rules are in place, you can view both the APIs and UI using the links below.

  • http://localhost:5000/api/v1/namespaces
  • http://localhost:3000

Troubleshooting

If things aren't working as expected, you can find out more by viewing the kubectl logs. First, get the name of the pod that was installed by the Helm chart.

kubectl get pods

Plug this pod name into the following command, and it will display logs related to the database migrations. This makes it simple to see errors dealing with networking issues, credentials, etc.

kubectl logs -p <podName>

Deploy ilum-marquez with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ilum-marquez 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 chartilum-marquez is pinned at v6.7.0 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