Cool GitHub Project: Kubernetes and Nutanix | Nutanix Community
Skip to main content
Solved

Cool GitHub Project: Kubernetes and Nutanix


aluciani
Forum|alt.badge.img+34
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

Best answer by RedDevil

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.
View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

17 replies

Forum|alt.badge.img+5
  • Adventurer
  • 4 replies
  • December 13, 2017
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?

Forum|alt.badge.img+3
  • Adventurer
  • 5 replies
  • Answer
  • December 14, 2017
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.

Forum|alt.badge.img+5
  • Adventurer
  • 4 replies
  • December 14, 2017
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!

Forum|alt.badge.img+1
  • Adventurer
  • 3 replies
  • December 14, 2017
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.

Forum|alt.badge.img+5
  • Adventurer
  • 4 replies
  • December 14, 2017
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

Forum|alt.badge.img+3
  • Adventurer
  • 5 replies
  • December 15, 2017
TehKernel I'm glad that everything is working properly.Keep an eye on this project, soon we will introduce new functionality.

Forum|alt.badge.img
  • Voyager
  • 1 reply
  • December 16, 2017
Hey, How did you solve the problem of overlay networking in Nutanix to deploy Kubernetes?

Forum|alt.badge.img+5
  • Adventurer
  • 4 replies
  • December 16, 2017
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.

Forum|alt.badge.img+1
  • Adventurer
  • 3 replies
  • December 18, 2017
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

Forum|alt.badge.img+1
  • Adventurer
  • 3 replies
  • December 18, 2017
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.

Forum|alt.badge.img+3
  • Adventurer
  • 5 replies
  • December 18, 2017
@mesumanth Installer by default is using flannel to setup overlay network

Forum|alt.badge.img
  • Adventurer
  • 6 replies
  • June 12, 2018
It looks like the repository was pulled offline. Is this project still alive anywhere?

aluciani
Forum|alt.badge.img+34
  • Author
  • Chevalier
  • 348 replies
  • June 12, 2018
Thanks for pointing that out @smoodo

Do you have an alternative link @RedDevil

Forum|alt.badge.img+3
  • Adventurer
  • 5 replies
  • June 13, 2018
Repository was pulled down and we do not have alternative.

aluciani
Forum|alt.badge.img+34
  • Author
  • Chevalier
  • 348 replies
  • June 13, 2018
Hi @smoodo The repository was pulled down - stay tuned for some interesting updates.

seaton
Forum|alt.badge.img+13
  • Trailblazer
  • 15 replies
  • October 12, 2018
Looking for this myself is there any updates for this?

Thanks

Forum|alt.badge.img+3
  • Adventurer
  • 5 replies
  • October 12, 2018
@seaton sorry, no new update