dremio
Dremio is an open source platform providing the missing link in modern data.
About this chart
Installing Dremio on Kubernetes
You can follow these instructions to install Dremio in a Kubernetes cluster provisioned through a cloud provider or running in an on-premises environment. Supported cloud providers are Amazon Elastic Kubernetes Service (EKS), Google Kubernetes Engine (GKE), and Microsoft Azure Kubernetes Service (AKS).
If you are upgrading from the previous Helm chart for Dremio, please see the Migrating Helm Chart Versions documentation.
Prerequisites
- Ensure that you have an existing Kubernetes cluster.
- Ensure that Helm 3 is set up on a local machine.
- Ensure that a local kubectl is configured to access your Kubernetes cluster.
Procedure
-
Download the
dremio-cloud-toolsrepository. -
In a terminal window, change to the
dremio-cloud-tools/charts/dremio_v2/directory. -
Review the default values in the file
values.yaml, which configures the Dremio installation. If you want to override any of these values, create a file with the.yamlextension in this directory, copy into this file the keys for which you want to set non-default values, and then set the values in the file. Making changes in this file allows you to quickly update to the latest version of the chart by copying the file across Helm chart updates. Refer to "values.yamlReference" for details about the settings. -
Review the document "Important Setup Considerations" and make any of the listed changes to the values in your
values.local.yamlfile that you think are necessary for your environment. -
Install the Helm Chart by running one of these commands from the
chartsdirectory:-
If you are overriding any of the default values that are in the
values.yamlfile, run this command:$ helm install <release-name> dremio_v2 -f <file>where
<file>is the name of the file that you are using to override values. -
If you are not overriding any of the values in the
values.yamlfile, run this command:$ helm install <release-name> dremio_v2
If the installation takes longer than a few minutes to complete, you can check the status of the installation by using the following command:
$ kubectl get podsIf a pod remains in Pending state for more than a few minutes, run the following command to view its status to check for issues, such as insufficient resources for scheduling:
$ kubectl describe pods <pod-name>If the events at the bottom of the output mention insufficient CPU or memory, either adjust the values in your
values.local.yamland restart the process or add more resources to your Kubernetes cluster.When all of the pods are in the Ready state, the installation is complete.
-
What to do next
Now that you've installed the Dremio Helm chart, you can get the HTTP addresses for connecting to Dremio's UI, connecting to Dremio from BI tools via JDBC/ODBC, and for connecting to Dremio from BI tools via Apache Arrow Flight.
Getting the HTTP address for connecting to the Dremio UI
Run the following command to use the service dremio-client in Kubernetes to find the host for the Dremio UI:
$ kubectl get services dremio-client
-
If the value in the
TYPEcolumn of the output isLoadBalancer, access the Dremio UI through the address in theEXTERNAL_IPcolumn and port 9047. For example, in the output below, the value under theEXTERNAL-IPcolumn is 8.8.8.8. Therefore, you can get to the Dremio UI via port 9047 on that address: http://8.8.8.8:9047$ kubectl get services dremio-client NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE dremio-client LoadBalancer 10.99.227.180 8.8.8.8 31010:32260/TCP,9047:30620/TCP 2dIf you want to change the expose port on the load balancer, change the value of the setting
coordinator.web.portin the filevalues.local.yaml. -
If the value in the TYPE column of the output is
NodePort, access the Dremio UI through http://localhost:30670.
Getting the HTTP address for using ODBC or JDBC to connect from BI tools to Dremio
Run the following command to use the service dremio-client in Kubernetes to find the host for JDBC/ODBC connections by using the following command:
$ kubectl get services dremio-client
-
If the value in the TYPE column of the output is
LoadBalancer, access Dremio using JDBC/ODBC through the address in theEXTERNAL_IPcolumn and port 31010. For example, in the output below, the value under theEXTERNAL-IPcolumn is 8.8.8.8. Therefore, you can get to the Dremio UI via port 9047 on that address: http://8.8.8.8:9047$ kubectl get services dremio-client NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE dremio-client LoadBalancer 10.99.227.180 8.8.8.8 31010:32260/TCP,9047:30620/TCP 2dIf you want to change the expose port on the load balancer, change the value of the setting
coordinator.client.portin the filevalues.local.yaml. -
If the value in the TYPE column of the output is
NodePort, access Dremio using JDBC/ODBC through http://localhost:32390.
Getting the HTTP address for using Apache Arrow Flight to connect from BI tools to Dremio
Run the following command to use the service dremio-client in Kubernetes to find the host for Apache Arrow Flight connections by using the following command:
$ kubectl get services dremio-client
-
If the value in the TYPE column of the output is
LoadBalancer, access Dremio using Flight through the address in theEXTERNAL_IPcolumn and port 32010.For example, in the output below, the value under the
EXTERNAL-IPcolumn is 8.8.8.8. Therefore, you can get to the Dremio UI via port 9047 on that address: http://8.8.8.8:9047$ kubectl get services dremio-client NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE dremio-client LoadBalancer 10.99.227.180 8.8.8.8 31010:32260/TCP,9047:30620/TCP 2dIf you want to change the expose port on the load balancer, change the value of the setting
coordinator.flight.portin the filevalues.local.yaml. -
If the value in the TYPE column of the output is
NodePort, access Dremio using Flight through http://localhost:31357.
Deploy dremio with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has dremio 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 chartdremio is pinned at v2.0.2 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