JSON object argument to bash script

JSON object argument to bash script

Vikash Kumar

2 minute read

Recently, I was writing a Terraform deployment. I was supposed to pass a JSON object as input to my bash script. Usually, out-of-bound scipt is used when there is no appropriate provider with terraform. These scripts can be in any scripting language supported by terraform. For me, it was bash script. For more details, please read about Terraform External Data Source.

Python function parameters

Order of positional-or-keyword parameters, *args and **kwargs

Vikash Kumar

2 minute read

Recently I was reviewing a piece of code, where a developer wrote a function which has named parameters, default parameters, *args and **kwargs. In first glance, the code doesn’t look to have any issue but looking carefully to the function signature the issue revealed itself.

CISCO ACI integration with Docker UCP

Details of integration of Docker UCP and CISCO ACI

Vikash Kumar

5 minute read

Recently I got a chance to try out CISCO ACI (Application Centric Infrastructure) with Docker UCP (Universal Control Plane). Docker UCP is a centralized cluster management tool to manage docker swarm cluster. Post 3.x version, Docker UCP also installs kubernetes components by default. This looks to be a nice feature addition. A nice introduction can be found here docker-ucp. It gives user the ability to manage swarm cluster as well as kubernetes infrastructure seamlessly. Docker UCP comes with…