docker

Lerna

May 4, 2020
nodejs, docker, expressjs, lerna, monorepo

Monorepo (all projects are stored in a single repository) is a relatively new concept (to me) and so I’ve provided more than usual hits/sample code in the kata. This is primarily to help me cement the core commands. The BACKGROUND to why I’ve created this is kata is this. I’ve recently needed to create several RabbitMQ consumers through a devised pattern, including additional common functionality. As there is common code, I did not want to violate the DRY principle so set about researching a way to do this, easily, with a nodejs repo. ...

.NET Core and Kubernetes

April 27, 2020
docker, .net core, deployment, kubectl, kubernetes, minikube, pod, redis

Create a Redis Caching layer for above net-core-web-app.NET Core random name web application. Have a TTL of 10 seconds. Host in Docker container. Create an Kubernetes deployment manifest. Refs: deployment example Requirements: Complete net-core-web-app Install Kubectl Install Minikube to work with hyper-v driver Set the docker environment to point the MiniKube local Kubernetes cluster TBC Tech: .NET Core 3. ...