Skip to content

dharmeshkakadia/presto-kubernetes

Repository files navigation

Presto-Kubernetes

Run Presto cluster on Kubernetes.

  1. Clone this.

    git clone https://github.com/dharmeshkakadia/presto-kubernetes/ && cd presto-kubernetes

  2. Start Coordinator.

    kubectl create -f coordinator-deployment.yaml 
    kubectl create -f presto-service.yaml
    
  3. Start Workers

    kubectl create -f worker-deployment.yaml

  4. Start using Presto. You can find out the address to connect using service URL.

    kubectl get service presto
    
    NAME      TYPE       CLUSTER-IP   EXTERNAL-IP   PORT(S)          AGE
    presto    NodePort   10.0.0.251   <none>        8080:30126/TCP   20h
    

    If you are using minikube, you can find out the address as follows

    minikube service presto --url
    
    http://192.168.64.4:30126
    

    Here is how you can use presto-cli to connect and start running queries. The presto UI is also available at the above URI.

    presto-cli --server http://192.168.64.4:30126 --catalog tpch --schema sf1

Releases

No releases published

Packages

No packages published