-
Notifications
You must be signed in to change notification settings - Fork 786
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
config set-context is not working #304
Comments
You trying to add a context on a file ( If you want to manage multiple contexts, you should do the opposite: extract the context of microk8s, add it to your main context file (~/.kube/config ) and use a standard kubectl |
@GregoireW thanks for the insights, let me try this one. |
@GregoireW I tried steps you mentioned, and this is what I have; I am thinking following kubectl installed by conjure-up/microk8s wizard:
Following does not pick up my
|
Do you have an alias on kubectl ? Else... hum... I've no clue. |
@GregoireW let me try those as well, thanks for the walkthrough :) |
Hi @reyou, Here is what I tried. First I moved the kubeconfig file that you need to access MicroK8s in the default location that is also read/write:
Then I made sure I have a
At this point you should be able to access the MicroK8s cluster with
Adding the context with
|
If you always specify You could try use an alias, shell script or shell function to replace |
Hello @ktsakalozos, Thanks for your help.
I am getting following error as mentioned here #20 (comment)
Is there any easy way to fix this? |
OK, I had to follow below; https://blog.ubuntu.com/2017/01/28/ubuntu-core-how-to-enable-aliases-for-your-snaps-commands
|
inspection-report-20190204_171917.tar.gz
Please run
microk8s.inspect
and attach the generated tarball to this issue.When I run following command
and running following does not list created context:
Am I missing something here, or is it a known issue?
The text was updated successfully, but these errors were encountered: