Search This Blog

Powered by Blogger.

Pages

Kubernetes, Vagrant on Mac OSX

By TY Monday, June 8, 2015


I was having a bit of trouble building kubernetes based on Vagrant on Mac OSX.

Seems like the issue is mainly due to wget complains about HTTPS certificates. So tweaked the scripts a bit to fix the error to successfully load the Kubernetes example.

export KUBERNETES_PROVIDER=vagrant 
curl -sS https://raw.githubusercontent.com/tykoh/kubernetes/master/k8s.sh | bash

Use the above instead of the example from Kubernetes' documents.
export KUBERNETES_PROVIDER=vagrant
curl -sS https://get.k8s.io | bash

You can check out the tweaked to the script at GitHub. Basically, just add a flag to wget command so as not to check cert.

Post Tags:

No Comment to " Kubernetes, Vagrant on Mac OSX "