Cool GitHub project - Kubernetes installation tools for Nutanix. Give it a try and add your comments in this forum. I'm sure RedDevil would like to hear your feedback.
Download here: https://github.com/nutanix/k8s
Page 1 / 1
First off, thanks for posting this to make people aware RedDevil !
I was able to run through the deployment steps, but after the ansible playbook completes and I attempt to access the dashboard, I recieve the following error in my browser:
{ "kind": "Status", "apiVersion": "v1", "metadata": { }, "status": "Failure", "message": "forbidden: User "kube" cannot get path "/ui"", "reason": "Forbidden", "details": { }, "code": 403}I am using the username and password listed in the instructions. Attempting to use any other combination just continues to prompt me for authentication. Any ideas what I may be doing wrong?
I was able to run through the deployment steps, but after the ansible playbook completes and I attempt to access the dashboard, I recieve the following error in my browser:
{ "kind": "Status", "apiVersion": "v1", "metadata": { }, "status": "Failure", "message": "forbidden: User "kube" cannot get path "/ui"", "reason": "Forbidden", "details": { }, "code": 403}I am using the username and password listed in the instructions. Attempting to use any other combination just continues to prompt me for authentication. Any ideas what I may be doing wrong?
TehKernelthx for feedback. It looks like You deployed k8s on Nutanix cluster and I presume that You can connect to it with kubectl.
The issue is with the web dashboard and is related with the certification management a part of the kubernetes dashboard.
You can find more about that here
https://github.com/kubernetes/dashboard/wiki/Certificate-management
We will explain that in the documentation as well.
The issue is with the web dashboard and is related with the certification management a part of the kubernetes dashboard.
You can find more about that here
https://github.com/kubernetes/dashboard/wiki/Certificate-management
We will explain that in the documentation as well.
RedDevil Thanks for the follow-up. I was indeed able to connect using kubectl, and it appears the initial deployment went well.
I'll read up on the certificate piece. Thanks!
I'll read up on the certificate piece. Thanks!
TehKernel in .kubespray/artifacts where admin.conf is placed run:
cat admin.conf | grep certificate-authority-data | awk '{print $2}' | base64 --decode > ca.pemcat admin.conf | grep client-certificate-data | awk '{print $2}' | base64 --decode > k8s_crt.pemcat admin.conf | grep client-key-data | awk '{print $2}' | base64 --decode > k8s_key.pemopenssl pkcs12 -export -out k8s_crt.pfx -inkey k8s_key.pem -in k8s_crt.pem -certfile ca.pem
and then import k8s_crt.pfx in your browser.
cat admin.conf | grep certificate-authority-data | awk '{print $2}' | base64 --decode > ca.pemcat admin.conf | grep client-certificate-data | awk '{print $2}' | base64 --decode > k8s_crt.pemcat admin.conf | grep client-key-data | awk '{print $2}' | base64 --decode > k8s_key.pemopenssl pkcs12 -export -out k8s_crt.pfx -inkey k8s_key.pem -in k8s_crt.pem -certfile ca.pem
and then import k8s_crt.pfx in your browser.
That's perfect. I was able to get the dashboard to load after running those commands and importing the cert. I would have never figured that out on my own. :)
Thanks RedDevil
Thanks RedDevil
TehKernel I'm glad that everything is working properly.Keep an eye on this project, soon we will introduce new functionality.
Hey, How did you solve the problem of overlay networking in Nutanix to deploy Kubernetes?
I haven't had time to get into networking or anything just yet. I was having issues with just getting the installer to run and be able to access the dashboard. I've only had time to try some basic provisioning, which was giving me some fits, but I haven't had the time to look into what is happening or why. Sorry.
mesumanth Installer by default is using flannel to setup overlay network
For kubernetes services it will use
10.233.0.0/18and for pods
10.233.64.0/18
For kubernetes services it will use
10.233.0.0/18and for pods
10.233.64.0/18
mesumanth Installer by default is installing flannel to create overlay network.
For kubernetes services it will use 10.233.0.0/18 and for pods 10.233.64.0/18.
For kubernetes services it will use 10.233.0.0/18 and for pods 10.233.64.0/18.
@mesumanth Installer by default is using flannel to setup overlay network
It looks like the repository was pulled offline. Is this project still alive anywhere?
Thanks for pointing that out @smoodo
Do you have an alternative link@RedDevil
Do you have an alternative link
Repository was pulled down and we do not have alternative.
Hi @smoodo The repository was pulled down - stay tuned for some interesting updates.
Looking for this myself is there any updates for this?
Thanks
Thanks
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.