Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix shared folder on Canonical k8s #196

Merged

Conversation

misohu
Copy link
Member

@misohu misohu commented Jan 22, 2025

Closes: #194

This PR is merged against dev branch for Canonical k8s integration. There are some other tasks which needs to be finished before merging to main.

This change could be only tested manually. Tests are supposed to fail.

  1. Deploy caonical k8s
sudo snap install k8s --classic
  1. Bootstrap
sudo k8s bootstrap
  1. According to documentation they recommend to enable local storage
sudo k8s enable local-storage
  1. Go to this repo and pack the snap
snapcraft
  1. You should be prompted with the snap file which we will now deploy to your computer.
sudo snap install data-science-stack_0.1-<hash>_amd64.snap --dangerous
  1. Initialise the DSS
data-science-stack.dss initialize --kubeconfig="$(echo "$(sudo k8s config)")"
  1. Now create an example notebook
data-science-stack.dss create my-notebook-scipy --image=kubeflownotebookswg/jupyter-scipy:v1.8.0
  1. Connect to notebook. Now you should be able to create notebook file under shared folder.

Copy link
Contributor

@mvlassis mvlassis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as intended, nice work!

@misohu misohu merged commit 5f130a3 into KF-6606-canonical-k8s-integration Jan 24, 2025
8 of 9 checks passed
@misohu misohu deleted the KF-6776-fix-shared-on-canonical-k8s branch January 24, 2025 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants