Windows Subsystem for Linux(WSL)Memory Issues - How to Limit

Posted on January 30, 2023 in OS • Tagged with WSL, Windows11, Memory, vmmemWSL, WSL2

Windows Subsystem for Linux (WSL2) Memory Usage - Limiting

According to Windows docs ,

The version of WSL that you are running will impact the configuration settings. WSL 2 runs as a lightweight virtual machine (VM), 
so uses virtualization settings that allow you to control the amount of memory or processors used …

Continue reading

Consul Quik Start on MiniKube using Helm Charts

Posted on January 22, 2023 in infra • Tagged with infrastructure, network, Consul, MiniKube, Helm Charts

Quik instrcution guide to install Consul with MiniKube , Helm Charts and docker on Linux

Pre-requisites

Make sure you have

2 CPUs or more 4GB of free memory 30GB of free disk space

Install MiniKube

minikube is local Kubernetes, focusing on making it easy to learn and develop for kubernetes.

curl …

Continue reading

e-com vs Retail

Posted on December 03, 2022 in SCM • Tagged with SCM, WMS, OMS, Supply Chain, e-com

E-Com vs Retail

E-commerce and retail are both methods of selling goods, but they differ in the way they deliver products to customers.

Retail involves selling goods directly to customers through physical storefronts, such as malls, department stores, or independent shops. In a retail store, customers can see, touch, and …


Continue reading

Docker automatically exits

Posted on October 19, 2022 in CI/CD , Docker • Tagged with GIT, Pipeline, CI/CD, Docker, Docker Compose

Curious why Docker container automatically exits

Are you curious why docker container exits automatically?

Docker Container needs some process running in the foreground (Please note , Not as a background process) to keep the container running.

Dont know how to make a container running with a simple process in the foreground …


Continue reading

Windows Subsystem for Linux(WSL) Reset password

Posted on October 06, 2022 in OS • Tagged with WSL, Windows11, Password, WSL2

Windows Subsystem for Linux (WSL2) Reset Password

  1. Open cmd.exe
  2. wsl -u root
  3. passwd root
  4. Enter New password
  5. Renter New password
  6. exit
  7. wsl
  8. Test using sudo echo "test" , you should see "test" message

Git checkout only specific sub folder or sub module

Posted on September 22, 2022 in git • Tagged with GIT

Git - How to checkout only specific subfolder from the github

Often we just need to clone/download a subfolder/submodule from a bit repo Example : https://github.com/eugenp/tutorials - This is very big repo with lot of subdirectories

This project has 100's of submodule , however if you are just …


Continue reading

About Me

Posted on June 05, 2022 in misc

Hi, I'm Sarath Dontireddy.

I design and troubleshoot enterprise supply-chain systems: WMS, OMS, MHE/ASRS integrations, APIs, cloud services, observability, and automation.

Recently, I have been building local AI and RAG tools and exploring how AI agents can improve warehouse, testing, and integration workflows.


Docker , Docker compose network isssues

Posted on March 25, 2022 in CI/CD , Docker • Tagged with GIT, Pipeline, CI/CD, Docker, Docker network

How i traiged issues with docker/docker compose while setting up CI/CD

Usecase : Setup a Docker compose file to bringup entire infrastructure required to to test a microservice(infact combination of couple of microservices as we wanted to run domain based integration tests) as part of the CICD pipelines …


Continue reading

Docker Windows Tips-Trics

Posted on February 20, 2022 in Docker • Tagged with GIT, Pipeline, Docker, Docker Compose

Docker Windows Tips-Trics

Struggling to mount a host directory on windows machine?

Tip : Use "%cd%" instead of Linux command $(pwd) in Windows

docker run --name compare -it --rm -v "%cd%/report":/usr/app/src/report -v "%cd%/data":/usr/app/src/data ito-compare-excel:latest

Override Default Entry point in docker …


Continue reading

Gitlab Scripts for automatic release notes(CHANGELOG.md) generation

Posted on February 12, 2022 in CI/CD • Tagged with GIT, Pipeline, CI/CD, Release Notes, Changelog.md

Gitlab Sample Script to generate Release Notes(CHANGELOG.md) autotmatically as part of the CI/CD pipeline

Very Common Usecase is genrate Release Notes(CHANGELOG.md) automatically. Below use case here has two jobs underr release-creation stage. One to generate CHANGELOG.md and other to generate release automatically. i.e …


Continue reading