Skip to content

Instantly share code, notes, and snippets.

@sirredbeard
Created November 9, 2022 19:19
Show Gist options
  • Save sirredbeard/521f8406a982a3decf2236485dcc8d11 to your computer and use it in GitHub Desktop.
Save sirredbeard/521f8406a982a3decf2236485dcc8d11 to your computer and use it in GitHub Desktop.
Quick guide to getting Pachyderm running on WSL
#install k3s
curl -sfL https://get.k3s.io | sh -
sudo chmod 755 /etc/rancher/k3s/k3s.yaml
k3s kubectl get node
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
#install pachctl
curl -o /tmp/pachctl.tar.gz -L https://github.com/pachyderm/pachyderm/releases/download/v2.3.9/pachctl_2.3.9_linux_amd64.tar.gz && tar -xvf /tmp/pachctl.tar.gz -C /tmp && sudo cp /tmp/pachctl_2.3.9_linux_amd64/pachctl /usr/local/bin
pachctl version --client-only
#install helm
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
#add pachyderm repo to helm
helm repo add pach https://helm.pachyderm.com
helm repo update
helm install --wait --timeout 10m pachd pach/pachyderm --set deployTarget=LOCAL
#check status of k3s
k3s kubectl get pods
#configure pachyderm
pachctl config import-kube local --overwrite
pachctl config set active-context local
pachctl port-forward
#open https://localhost:4000 in a browser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment