Kubernetes beginner example: Install WordPress with MySQL on Windows 10 (I)

Kubernetes beginner example: Install WordPress with MySQL on Windows 10 (I)

(Kubernetes on Windows: A WordPress with MySQL Example for Beginners)


A hypervisor, also known as a virtual machine monitor or VMM is computer software, firmware or hardware that creates and runs virtual machines. A hypervisor allows one host computer to support multiple guest VMs by virtually sharing its resources, such as memory and processing. Also, it essentially separates the operating system and applications in a computer from the underlying physical hardware. This is how it enables virtualization, by giving the physical host machine the ability to operate multiple VMs (Virtual Machines) on the same system. Having these multiple VMs as guests, a Hypervisor can be viewed as a managing tool of available resources. In other words, Hypervisors make it possible to use more of a system’s available resources (optimize the usage of computing resources) and provide greater IT mobility.


  • A new generation of virtual machine monitors
  • More efficient
  • More powerful
  • Greater availability
  • Better security
  • Prerequisite skills are required

Type 2 hypervisor (or hosted hypervisors)

Type 2 hypervisor is also called hosted hypervisors, which are typically installed on an existing Operating System (OS). This characteristic makes it rely on the host machine’s OS to undertake certain operations like managing network resources, memory and storage spaces. Also, this allows for Type 2 hypervisors to support a wide range of hardware. Examples of type 2 Hypervisors include VMware workstation, Oracle VirtualBox, Mac Parallels Desktop, and QEMU … etc.


  • Previous generation of virtual machine monitors
  • Not efficient
  • Prerequisite skills are not required.
  • Poor security
  • Cannot handle complex computation
  • Easy to install

 The following figure illustrates different types of hypervisors that we need when installing Kubernetes.


1.VT-x/VT-d (or AMD-V) BIOS setting is enabled

For example:

2.Microsoft Windows 10 Professional or Enterprise edition

3.Hypervisor: Type-I Hyper-V enabled or Type II VirtualBox enabled

4.Windows CMD (Run as Administrator) or Windows Powershell (Run as Administrator)

5.Install kubectl

6.Install minikube


Install kubectl on Windows

Install kubectl binary with curl on Windows

1.Download the latest version (v1.16.0 from this link.) 。

If curl has already been installed, use the command below:

curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.16.0/bin/windows/amd64/kubectl.exe

You can also find the latest and stable version at the following link.


2.Add PATH into environmental variables

Create a new path if the default path is not existed.
We use ‟%SystemRoot%\system32” as our example since this path is the default path when downloading kubectl.exe.

3.To ensure that kubectl was installed correctly, we can verify the installation by entering the following code in a different path:

kubectl version

If the installation is successful, the output should look like the above figure.

Please ignore the following message if it pops out:

Unable to connect to the server: dial tcp ….

The message is results from minukube. When minikube is installed successfully and initiated, the message will no longer show up (as shown in the following figure).

Install minikube on Windows

1.From the command line, type:


The output should be something similar to:

Hyper-V Requirements: VM Monitor Mode Extensions: Yes

Virtualization Enabled in Firmware: Yes

Second Level Address Translation: Yes

Data Execution Prevention Available: Yes

By: 賴欣宜 迎棧科技技術專欄作家


Select list(s)*