Dipesh Majumdar

Blog and Paintings

Blog posts

empower sed to to work on case insensitive strings

This is what you need to do in a macOS:

brew install gnu-sed

The end of the install…

Read more

Installing Terraform in macOS


First download the software (a zip file) from here -…

Read more

HTTP/1.1 413 Request Entity Too Large

Is that the error you see while uploading big packages?

Well the solution is simple - if…

Read more

variable substitution in for loop with curly brackets

Requirement - 

I want to calculate the no. of AEM_INSTANCES which I am passing as an …

Read more

Getting jq to work on Macbook

ruby -e "$(curl -fsSL"…

Read more

Lessons learnt from "mysql golang rest api project"

Recently I was working on a mysql golang rest api project and these are some of the issue…

Read more

activeDeadlineSeconds and backoffLimit

Lets create a job - 

apiVersion: batch/v1
kind: Job

Read more

Difference between service port and container port

service port is marked in yellow highlight below - 

k run  nginx --image nginx:1.7.7 …

Read more

To those who seek to be noticed...

Be so good in your craft that people are bound to notice you.  - Dipesh Majumdar

Read more

vi editor tips and tricks

  1. go to top of screen
  2. go to middle of file
  3. go to end of file
  4. start inserting just …

Read more

skeleton ingress to feed nginx ingress controller

The way it works is: 

nginx ingress controller has to be deployed in your nginx namespa…

Read more

Enabling K8s network policy during Cluster creation

While creating k8s cluster you need to enable this feature. 

Read more

Common Mistakes in declarative yaml manifests and imperative commands

Its a common mistake - you need to know yaml properly. so here i first did this


Read more

Sitting on a Jumpbox and testing with network policy

You want to sit on a jumpbox so you can wget to some clusterip:port for testing only....

Read more

Creating a pod and a matching service imperatively

[dipesh.majumdar@demo ~]$ k run nginx --restart=Never --image=nginx --dry-run --port=80  …

Read more

Volumes, Storageclasses, pvc

First of all, if you are creating a hostpath volume within a pod of type Dir and it looks…

Read more

Finding out Entrypoint, CMD, env of docker from the image

Million Dollar Question: You have an image - but you wan to find out the entry point from…

Read more

Monitoring K8s

- metrics server (heapster has been deprecated) - metrics server receives metrics from no…

Read more

Service Account Mystery

[dipesh.majumdar@demo ~]$ k -n mns get all
No resources found.

Though SA is present b…

Read more

Environment Variable in Docker

[dipesh.majumdar@demo ubunutu]$ cat Dockerfile
FROM ubuntu
#CMD sleep 5
#CMD ["sleep",…

Read more

20 Blog Posts