Menu

Dipesh Majumdar

Blog and Paintings

Blog posts March 2019

How to rollback a deployment in Kubernetes

$ kubectl -n mynamespace describe deploy nginx |grep -i image
    Image:        nginx:2.…

Read more

Classless Interdomain Routing (CIDR)

192.168.7.0/24 means the last bit can range from 0 to 2 (32-24) which is 2 = 256

S…

Read more

Define environment variable in a pod manifest

In the below example i am defining an environment variable "envVar1" and then checking it…

Read more

Difference between awk and cut

$ docker images |grep simplev01
dipeshm77-ubuntu                                        …

Read more

Push the docker images correctly

$ docker push dipeshm77-ubuntu:simplev01
The push refers to repository [docker.io/librar…

Read more

escape single quote and forward slash in sed command

Requirement is pretty simple - 

In my .gitlab-ci.yml file i need  this line - 

k…

Read more

6 Blog Posts