Giter Club home page Giter Club logo

monk-trino's Introduction

Trino & Monk

This repository contains Monk.io template to deploy Trino & Monk either locally or on cloud of your choice (AWS, GCP, Azure, Digital Ocean).

Prerequisites

Make sure monkd is running

foo@bar:~$ monk status
daemon: ready
auth: logged in
not connected to cluster

Clone Repository

git clone https://github.com/monk-io/trino

Load Template

cd trino
monk load MANIFEST

Let's take a look at the themes I have installed

foo@bar:~$ monk list trino
✔ Got the list
Type      Template          Repository  Version  Tags
group     trino/stack  local       -        -
runnable  trino/trino  local       -        -

Deploy Stack

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!

Check admin gui

http://<ip>:8084/

Variables

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

Stop, remove and clean up workloads and templates

monk purge trino

monk-trino's People

Contributors

burakhan avatar

Watchers

mg avatar  avatar Artem Teleshev avatar  avatar Sergey Nelepa avatar Ivan Manachyn avatar v.nyzhehorodov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.