6.2. Deploy Presto on Kubernetes from DockerHub

Starburst Presto on Kuberentes can be deployed from DockerHub.

Create service account for Presto K8s operator

kubectl apply -f https://starburstdata.s3.us-east-2.amazonaws.com/k8s/312-e.4-k8s-0.10/service_account.yaml

Create role and role binding for Presto K8s operator

kubectl apply -f https://starburstdata.s3.us-east-2.amazonaws.com/k8s/312-e.4-k8s-0.10/role.yaml
kubectl apply -f https://starburstdata.s3.us-east-2.amazonaws.com/k8s/312-e.4-k8s-0.10/role_binding.yaml

Create Presto K8s custom resource definition

kubectl apply -f https://starburstdata.s3.us-east-2.amazonaws.com/k8s/312-e.4-k8s-0.10/presto_v1_crd.yaml

Start Presto K8s operator

kubectl apply -f https://starburstdata.s3.us-east-2.amazonaws.com/k8s/312-e.4-k8s-0.10/operator.yaml

Starting Presto

Presto can be started by creating K8s Presto resources, for example:

kubectl apply -f https://starburstdata.s3.us-east-2.amazonaws.com/k8s/312-e.4-k8s-0.10/example_presto_v1_cr.yaml