Skip to content

Commit

Permalink
Fixed k3d docs (flyteorg#2125)
Browse files Browse the repository at this point in the history
* Fixed k3d docs

Signed-off-by: Prafulla Mahindrakar <[email protected]>

* doc issue fixes

Signed-off-by: Prafulla Mahindrakar <[email protected]>
  • Loading branch information
pmahindrakar-oss authored Feb 4, 2022
1 parent 1825f83 commit 4f8f94e
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions rsts/deployment/sandbox.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,27 +83,30 @@ Ensure ``kubectl`` is installed. Follow `kubectl installation docs <https://kube

.. TODO::

These instructions currently still rely on the old kustomize setup, and will be moved over to the Helm chart soon.
Allow installing latest version of k3d once this `issue is fixed <https://github.com/rancher/k3d/issues/380>`__

#. Install k3d Using ``curl``::

curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash
curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | TAG=v4.2.0 bash

Or Using ``wget`` ::

wget -q -O - https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash
wget -q -O - https://raw.githubusercontent.com/rancher/k3d/main/install.sh | TAG=v4.2.0 bash


#. Start a new K3s cluster called Flyte:
#. Start a new K3s cluster called Flyte ::

k3d cluster create flyte -p 30081:30081 --no-lb --k3s-server-arg '–no-deploy=traefik' --k3s-server-arg '–no-deploy=servicelb'

k3d cluster create -p "30081:30081" --no-lb --k3s-server-arg '--no-deploy=traefik' --k3s-server-arg '--no-deploy=servicelb' flyte

#. Ensure the context is set to the new cluster::

kubectl config set-context flyte

#. Install Flyte::

kubectl create -f https://raw.githubusercontent.com/flyteorg/flyte/master/deployment/sandbox/flyte_generated.yaml
kubectl create ns flyte
kubectl create -f https://raw.githubusercontent.com/flyteorg/flyte/master/deployment/sandbox/flyte_helm_generated.yaml


#. Connect to `FlyteConsole <localhost:30081/console>`__
Expand Down

0 comments on commit 4f8f94e

Please sign in to comment.