Joseph Fluckiger @josephflu on twitter and linkedin
Presented at Tableau Data Dev Days Nov, 2nd 2023
https://www.tableau.com/learn/webinars/datadev-day-2023-11-02
Note, for updated content please see this new repository: https://github.com/tab-se/bridgectl
This repo contains source code and example files for creating Tableau bridge Linux containers. These scripts may be useful but are unsupported. Please get help from other users on the Tableau Community Forums.
- Collect the required information: tableau cloud site_name, pool_id, PAT token
- Download Bridge Linux .rpm installer file
- Download Database drivers
- Create a Bridge container image
- Run the Bridge container
- Docker
- Bash shell
- For Database Drivers, you'll need a bash script to download and install them in the container.
Basic example of building a Tableau Bridge Linux container image and running a container.
- download.sh - bash script to download Tableau Bridge Linux .rpm installer file and database drivers.
- Dockerfile - Definition for creating Tableau Bridge Linux container.
- start-bridgeclient.sh - script copied into container and used to start the bridge client when the container starts.
- build_image.sh - bash script for executing docker build to create a container image.
- run_container.sh - bash script for executing docker run to run a container.
More advanced example of building a Tableau Bridge Linux container image.
- bridge_config.example.yml - example bridge on linux configuration (rename to bridge_config.yml and populate with your tableau site information)
- Dockerfile - Definition for creating Tableau Bridge Linux container.
- build_bridge_docker_image.sh - bash script for executing docker build to create a container image.
- run-bridge.sh - bash script for executing docker run to run a container.
- start-bridgeclient.sh - script copied into container and used to start the bridge client when the container starts.
This Google Chrome extension makes it easy to collect the settings as a yaml file needed to run Tableau Bridge on Linux containers. It allows the user to select the Pool, DB drivers, number of tokens to create, and Bridge agent name which is then downloaded as a yaml file to be used in automation scripts for creating and running Bridge on Linux containers. It also creates a number of PAT tokens, one for each bridge agent.
- bridge_status.zsh - Call Tableau Cloud APIS to get status of bridge clients.
- jobs_report.zsh - Call Tableau Cloud APIS to get jobs report.
See official Tableau documentation for creating bridge containers on Linux https://help.tableau.com/current/online/en-us/to_bridge_linux_install.htm