-
Notifications
You must be signed in to change notification settings - Fork 240
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
Add developer documentation for setting up Microk8s [skip ci] #3744
Conversation
Signed-off-by: Andy Grove <andygrove@nvidia.com>
build |
``` | ||
$SPARK_HOME/bin/spark-submit \ | ||
--master k8s://https://kubernetes.default.svc.cluster.local:16443 \ | ||
--deploy-mode cluster \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just curious did you try shell with this? any special requirements there if you did?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not. I haven't used spark-shell with k8s, although it is supported.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
spark-shell does not work with a remote driver (the cluster mode)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overall looks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add yaml frontmatter for Jekyll at the top of the md file as follows:
---
layout: page
title: Setting up a Microk8s Environment
nav_order: 5
parent: Developer Overview
---
build |
## Enable DNS and GPU support | ||
|
||
```bash | ||
microk8s.enable dns |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
without sudo I get
Insufficient permissions to access MicroK8s.
You can either try again with sudo or add the user gshegalov to the 'microk8s' group:
sudo usermod -a -G microk8s gshegalov
sudo chown -f -R gshegalov ~/.kube
The new group will be available on the user's next login.
maybe add / mention sudo for a simplified flow?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have added some notes about this
Co-authored-by: Gera Shegalov <gshegalov@nvidia.com>
Signed-off-by: Andy Grove <andygrove@nvidia.com>
build |
It took me quite a while to get Microk8s set up so I would like to add some notes to the developer documentation so that it doesn't take me so long next time I need to do this. Hopefully, it will save time for others as well.