• May 21, 2022

Creating Kubernetes Replication Controller in 5 Minutes

Let’s look at the following diagram to create Kubernetes Replication Controller: What to remember when creating ReplicationController apiVersion: v1 You can define number of replicas, selector and template under spec spec->template has its own spec section along side metadata You specify containers’ related attributes under template‘s spec Create ReplicationController YAML file example

Read More

Querying PostgreSQL with Docker client only

Recently I had to write a bash script to truncate all tables on a test database server. Using pgadmin is a real pain since I have a lot of tables and databases. In addition, I need to do this quite frequently. And I also didn’t want to install Postgres on my machine. The requirement is…

Read More

Install Kubernetes Cluster With Kubeadm On Ubuntu Step By Step

I’ve been trying installing a Kubernetes cluster for while following the official documentation without any success. It turned out the official documentation was missing some important steps (or they put the missing steps else where I couldn’t find). Anyways, if you are struggling to get a Kubernetes up and running, this step by step tutorial…

Read More