Vagrant/Ansible/VirtualBox Cluster on Mac

28 views
Skip to first unread message

mattma...@gmail.com

unread,
Dec 13, 2017, 9:44:59 PM12/13/17
to Kubernetes user discussion and Q&A
Hello all,
I have been struggling to get a Kubernetes Cluster on my Mac OsX the past 3 weeks! No luck. Does any one have a clean solution? There are so many GitHub solutions but none of them work. I swear to god!

Feel like going back to CF!

Granted I a'int no DevOps guy,but have been an IT Application Architect for over 15 years and I am really smart and have offered multiple IT solutions successfully! And I am strugling!

Can some one point me to the right direction? I have access to both Mac and Ubuntu.

Some straight forward process, with Vagrant, Ansible. Looks like Kubeadnin is still in flux. Things must not be this complicated! Any help will be appreciated.

Thanks in advance!

Matt

Rohit Agarwal

unread,
Dec 14, 2017, 3:46:54 AM12/14/17
to kubernet...@googlegroups.com


--
You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Jay Vyas

unread,
Dec 14, 2017, 6:38:32 AM12/14/17
to kubernet...@googlegroups.com
Minikube is easy.
GKE is easy and free to start out.
For a real install you can try kubicorn, kubeadm, kops.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-use...@googlegroups.com.
To post to this group, send email to kubernet...@googlegroups.com.

Kris Dockery

unread,
Dec 14, 2017, 10:58:11 AM12/14/17
to kubernet...@googlegroups.com
Hi Matt,

I installed my cluster on my Mac using kubeadm. My nodes are Virtualbox VMs running CentOS 7.4. It was simple and straightforward.


Kris

On Thu, Dec 14, 2017 at 5:38 AM, Jay Vyas <jayunit1...@gmail.com> wrote:
Minikube is easy.
GKE is easy and free to start out.
For a real install you can try kubicorn, kubeadm, kops.

Matt Madhavan

unread,
Dec 14, 2017, 11:27:35 AM12/14/17
to kubernet...@googlegroups.com
Hi Kris,
Thanks for the reply. Do you mind sharing the instructions please?

Thanks
Matt

You received this message because you are subscribed to a topic in the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kubernetes-users/IgQbtI70VhE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kubernetes-users+unsubscribe@googlegroups.com.

Kris Dockery

unread,
Dec 14, 2017, 11:40:47 AM12/14/17
to kubernet...@googlegroups.com
Matt,

I'm running three VirtualBox VMs:

Master: 1 vCPU, 4 GB RAM, 20 GB HDD
Workers: 1 vCPU, 2 GB RAM, 20 GB HDD

This should be plenty of CPU, RAM, and HDD space for a test cluster. You can adjust accordingly if you plan on testing any significant workloads.

All are running CentOS 7.4 with static IP addresses in the same subnet, and swap disabled. From this point, I recommend reading the instructions at https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/ very carefully before actually proceeding step by step. When you get to the point of choosing a Pod Network Plugin, I use and recommend Calico.


Kris Dockery
Support Engineer
Heptio

Brandon Philips

unread,
Dec 14, 2017, 4:17:14 PM12/14/17
to kubernet...@googlegroups.com
FWIW, the Tectonic Sandbox is also using VirtualBox + Vagrant. Just download and `vagrant up`.

Brandon


Kris

To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-use...@googlegroups.com.
To post to this group, send email to kubernet...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-use...@googlegroups.com.
To post to this group, send email to kubernet...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-use...@googlegroups.com.
To post to this group, send email to kubernet...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kubernetes-users/IgQbtI70VhE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kubernetes-use...@googlegroups.com.
To post to this group, send email to kubernet...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-use...@googlegroups.com.
To post to this group, send email to kubernet...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-use...@googlegroups.com.
To post to this group, send email to kubernet...@googlegroups.com.
--
CTO, CoreOS, Inc
Tectonic is enterprise Kubernetes
Reply all
Reply to author
Forward
0 new messages