Google Kubernetes Engine Node Pools

In Google Kubernetes Engine, Nodes are Google Complete Engine (Virtual Machiens). Pods run inside Nodes. A Kubernetes cluster can contain multiple node pools. A node pool contain multiple nodes of same instance type. To create a Node Pool in Google Kubernetes Engine, run

To delete a node pool, run

To resize a node […]

Read More…

Google Kubernetes Engine get credentials

Before you can run kubectl commands on Google Kubernetes Engine, you need to get credentials, this is done with command

To use gcloud commands, you need to login to google cloud first using command

See Google Kubernetes Engine […]

Read More…

Install Minikube in Ubuntu

Minikube is an easy-to-use Kubernetes that run on one machine. It is used for testing purposes. Install Minikube with docker driver on Ubuntu To install minikube, run

Before you can start minikube, you need to install VirtualBox, this can be done with the command

To start minikube, run

To stop


Read More…

Deploy MySQL Server in Kubernetes using Helm

To install MySQL server in Kubernetes, run

Once install is completed, you will get something like

To connect to this MySQL, you need to create a temporary Ubuntu server in Kubernetes as MySQL is only available inside the cluster. To create a server, run

Install MySQL client inside this server with


Read More…

Install WordPress in Kubernetes

To install WordPress in Kubernetes, you need to install helm package manager. Now run

After the helm chart is run, you will get commands to get login for WordPress admin area. Here is services it create

List of all pods


To scale the deployment, run

See Helm Kubernetes Package […]

Read More…

Helm Kubernetes Package Manager

Helm is Package Manager for Kubernetes. Helm packages are called “Charts”. Charts allow you to deploy various software on Kubernetes cluster. To install helm, run

If you are on Ubuntu, you can install from snap

To update helm repos, run

To deploy MySQL chart to Kubernetes, run

Install WordPress in […]

Read More…

Google Kubernetes Engine

Create Kubernetes cluser using gcloud Google Kubernetes Engine get credentials Google Kubernetes Engine Node Pools To list all Kubernetes clusters, run

To create a Kubernetes cluster, run

Get credential for kubectl

List all nodes (GCP instances)


Read More…

Create Kubernetes cluser using gcloud

Login to gcloud with

Set default region

To create a cluser, run

To create a cluster with 2 nodes, run

To specify compute engine type during cluster creation, run

You can also specify scopes, this allow you to give the cluster permission to access other google cloud resources. For example […]

Read More…


Easy Kubernetes setup on Ubuntu with microk8s Kubeapps Install Minikube in Ubuntu kubectl kubectl Kubernetes scale a deployment Google Kubernetes Engine Create Kubernetes cluser using gcloud Google Kubernetes Engine Create Kubernetes cluser using gcloud Free Online Labs Learn Kubernetes using Interactive Browser-Based Scenarios […]

Read More…