How do I try out/install Flyte?

What is Flyte Sandbox?

Flyte can be run using a Kubernetes cluster only. This installs all the dependencies as kubernetes deployments. We call this a Sandbox deployment. Flyte sandbox can be deployed by simply applying a kubernetes YAML.

Note

  1. A Sandbox deployment takes over the entire cluster

  2. It needs special cluster roles that will need access to create namespaces, pods etc

  3. The sandbox deployment is not suitable for production environments. For an in-depth overview of how to productionize your flyte deployment, checkout the How do I productionize my Flyte cluster.

Architecture of Sandbox deployment of Flyte. Single K8s cluster

Deploy Flyte Sandbox environment locally - on your laptop

Ensure kubectl is installed. Follow kubectl installation docs. On Mac:

brew install kubectl

Refer to getting-started-firstrun

Deploy Flyte Sandbox environment to a Cloud Kubernetes cluster

Cluster Requirements

Ensure you have kubernetes up and running on your choice of cloud provider:

If you can access your cluster with kubectl cluster-info, you’re ready to deploy Flyte.

Deployment

We’ll proceed like with locally hosted flyte with deploying the sandbox Flyte configuration on your remote cluster.

Warning

The sandbox deployment is not suitable for production environments. For an in-depth overview of how to productionize your flyte deployment, checkout the How do I productionize my Flyte cluster.

  1. The Flyte sandbox can be deployed with a single command

    kubectl create -f https://raw.githubusercontent.com/flyteorg/flyte/master/deployment/sandbox/flyte_generated.yaml
    
  2. You can now port-forward (or if you have load-balancer enabled then get an LB) to connect to remote FlyteConsole, as follows:

    kubectl port-forward svc/envoy 30081:80
    
  3. Open console http://localhost:30081/console.

Deploy Flyte Sandbox environment to a shared kubernetes cluster

The goal here is to deploy to an existing Kubernetes cluster - within one namespace only. This would allow multiple Flyte clusters to run within one K8s cluster.

Caution

coming soon!