Install Minikube with docker driver on Ubuntu

minikube docker provider

Minikube is a Kubernetes implementation for development and testing. By default, it uses Virtualbox. The newer version support docker driver, this allows you to use docker to run your minikube Kubernetes cluster. You can find documentation for minikube at https://minikube.sigs.k8s.io/docs/start/ First of all, we need to install Docker, for this, run the command. You must […]

Read More…

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…

Install Minikube in Ubuntu

Minikube is an easy-to-use Kubernetes that run on one machine. It is used for testing purposes. https://github.com/kubernetes/minikube 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

Deployments

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. https://helm.sh/ 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…