Difficulty: beginner
Estimated Time: 25 minutes

Welcome to PrimeHub CE v3 installation scenario.

The purpose of this scenario is to walk audience through PrimeHub CE v3.c easy installation on 2-Node Kubernetes cluster.

  • Step 1 to step 2: Set up an existing 2-Node Kubernetes cluster to become PrimeHub-ready cluster.
  • Step 3: Install PrimeHub CE.
  • Step 4: Launch a Jupyter Notebook in PrimeHub.

Grab a cup of coffee and start the scenario.

▶️ Visit PrimeHub CE GitHub repo and PrimeHub Documentationfor the detail.

Tips: Simply click the code-blocks in each step to execute the code without need to type anything.

Notice

  • The behaviour of PrimeHub can be affected by an unstable/resource-shortage Katacoda environment.
  • If your Katacoda environment times out or has connection problems during the scenario, just refresh the page to restart the scenario.
  • After you launch a notebook in PrimeHub, please try using PrimeHub CE with your own real-life scenario for some hands-on experience.

Congratulations! You've completed PrimeHub CE installation scenario provided by InfuseAI!

PrimeHub CE v3.x Easy Installation (2-Node)

Step 1 of 4

Set up StorageClass

Check status of two nodes

Check if controlplane(master) and node01 are in Ready; wait until two nodes are in Ready.

watch 'kubectl get nodes'

In this experimental scenario, we use storageclass, local-path; in a real circumstance, you may consider other provisioners.

Apply

kubectl apply -f https://raw.githubusercontent.com/rancher/local-path-provisioner/master/deploy/local-path-storage.yaml

kubectl apply -f https://raw.githubusercontent.com/rancher/local-path-provisioner/v0.0.17/deploy/local-path-storage.yaml

Patch

kubectl patch storageclass local-path -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'

Verify

kubectl get sc