Spring Boot Request Header too large

How to solve IllegalArgumentException: Request header is too large in spring boot When migrating a spring boot application to cloud, multiple layers got added to serve traffic. On prem: nginx -> spring boot app (tomcat) Azure: nginx -> azure application gateway -> nginx ingress controller -> spring boot app(tomcat) In Azure, we noticed that some of http requests threw 400 http status code in our logs. While investigating further, we found the reason IllegalArgumentException: Request header is too large...

JedisDataException ERR unknown command CONFIG

Error While trying to setup Azure Cache for Redis as spring session store, I encountered following exception: .JedisDataException: ERR unknown command CONFIG, with args beginning with: get, notify-keyspace-events": 1, Fix Found the solution in spring-session-gh-issue Kotlin 1 2 3 4 5 6 7 8 9 10 @Configuration class HttpSessionConfig() { companion object { // another solution could be to enable notify-keyspace-events for redis @Bean fun configureRedisAction(): ConfigureRedisAction { return ConfigureRedisAction....

Kubernetes introduction

Kubernetes Introduction Build a docker image Dockerfile default filename FROM base image to be used for container ADD copies files/directories/remote file urls to container filesystem. Tarball and Remote URL (git, http) handling COPY same as ADD without tar and remote url handling CMD kubectl –namespace <DEV|STAGING|PROD> get deployments,pods,svc,ingress cd scripts/ ./createServicePrincipal.sh tti-maps-k8s-sp Module 1 creating a cluster 1 2 3 4 5 6 minikube start minikube dashboard kubectl version kubectl cluster-info kubectl get nodes,pods kubectl get nodes --help Module 2 deploy an app Create a deployment using kubectl create deployment...