This repository contains Monk.io template to deploy Trino & Monk either locally or on cloud of your choice (AWS, GCP, Azure, Digital Ocean).
foo@bar:~$ monk status
daemon: ready
auth: logged in
not connected to cluster
git clone https://github.com/monk-io/trino
cd trino
monk load MANIFEST
foo@bar:~$ monk list trino
✔ Got the list
Type Template Repository Version Tags
group trino/stack local - -
runnable trino/trino local - -
foo@bar:~$ monk run trino/stack
? Select tag to run [local/trino/stack] on: mnk
✔ Starting the job: local/trino/stack... DONE
✔ Preparing nodes DONE
✔ Checking/pulling images...
✔ [================================================] 100% trinodb/trino:latest mnk
✔ Checking/pulling images DONE
✔ Started local/trino/stack
🔩 templates/local/trino/stack
└─🧊 Peer mnk
└─🔩 templates/local/trino/trino
└─📦 019faad75e1cf1237bc5f81384a51073-al-trino-trino-trino
├─🧩 trinodb/trino:latest
└─🔌 open <ip>:8086 (0.0.0.0:8086) -> 8080
💡 You can inspect and manage your above stack with these commands:
monk logs (-f) local/trino/stack - Inspect logs
monk shell local/trino/stack - Connect to the container's shell
monk do local/trino/stack/action_name - Run defined action (if exists)
💡 Check monk help for more!
http://<ip>:8084/
The variables are in stack.yml
file. You can quickly setup by editing the values here.
Variable | Description | Defaults |
---|---|---|
trino_port | Trino web port | 8086 |
monk purge trino