Docker for mac kubernetes pki (missing)

broken image

Once you have this configured, let’s create some VMs. You can now disable DHCP inside of the settings and also set IPv4 address to 192.168.99.1.

broken image

If there is nothing configured yet, add new Host Only network(if you already have something configured, you need to either change IP as in this tutorial or make note what IPs to use later). Open VirtualBox, go to File -> Preferences -> Network -> Host-only Network. Now we are going to configure our host-only network, which will be used inside of VirtualBox environment. On Ubuntu it’s a simple sudo apt install virtualbox command. Our goal is to setup following infrastructure: Machine nameįirst we need to install VirtualBox. Installing and configuring Virtual Box VMs If you are new to VirtualBox I suggest to visit official documentation as well as CentOS 7 specific tutorial: I will also show you how to configure your virtual machines and their network in order to work well with k8s cluster. Most of knowledge used here can be found in official kubernetes documentation. This article should summarize all of the problems and give you solution. There were a few places where I was a bit stuck and spent some times googling.

broken image

So I decided to first give it a shot using Virtual Box machines.

Recently I needed to setup k8s cluster on my local machine in order to see if I’m able to do it on bare-metal servers lately.