All Questions
Tagged with kubernetes spring-boot
1,011
questions
0
votes
1
answer
31
views
Proper way to shut down a Spring Boot application after a specific unit of work is completed
I have a number of Spring Boot services that are always running that perform several different kinds of tasks. For example I have one service that is reading from an Azure Service Bus queue using ...
-1
votes
0
answers
24
views
Validate protected resource by spring security behind ingress auth-url
I have a node.js app auth-svc. it has authenticate page and validateToken Endpoint.
I have spring boot service it has ingress resource "nginx.ingress.kubernetes.io/auth-url" so ı want to ...
0
votes
0
answers
57
views
+50
Spring Cloud Gateway with Kubernetes discovery client for http and grpc requests
I'm trying to implement gateway service using Spring Cloud Gateway with k8s client dicovery that will redirect both http/1.1 and http/2(GRPC) requests
I set the following configurations:
server:
...
0
votes
0
answers
13
views
Using Fully Qualified Domain Names (FQDNs) for Service IDs in Kubernetes with Spring Cloud Kubernetes
I'm currently working on a project where I need to interact with services that have the same name but exist across different namespaces in Kubernetes. Each namespace hosts a service with a unique REST ...
1
vote
0
answers
16
views
Why environment variable value is changed implicitly from N to false during kubernetes deployment?
I introduced a environment variable called mongo_switch: N(Not mongo_switch: "N",no double quote around N ) in local application.yml in springboot 3.1.5. In program, I use the variable like ...
1
vote
0
answers
23
views
spring boot app cannot connect mysql database between kubernetes pods/services in minikube
I got a web server in spring boot tries to connect to mysql database, both of which is running in minikube local machine. The application and database configuration should be alright, because it is ...
0
votes
1
answer
57
views
Ingress controller in AKS not routing properly
I have an aks cluster, where i have a spring boot REST API deployed, connected to a psql service.
apiVersion: apps/v1
kind: Deployment
metadata:
name: springboot-app
spec:
replicas: 1
selector:
...
0
votes
2
answers
42
views
Is possible to prevent a pod being stopped/deleted while it's app is doing a certain task?
I'm working on an Spring application with a scheduled job which is called some times during the day, and has a variable duration. This job is also locked for one pod only - using shedlock.
The problem ...
0
votes
0
answers
38
views
How to Scale Spring Boot Application in GKE Based on Current HTTP Requests
I have deployed a Spring Boot JAR application in Google Kubernetes Engine (GKE). I need to scale it based on the number of HTTP requests. Here are my constraints and requirements:
Constraints:
I ...
0
votes
0
answers
26
views
Issue in starting Git based Spring Cloud Config Server deployed within AWS EKS cluster
Context:
We have developed Spring Cloud Config Server with Git backend, which works fine locally.
Problem:
When we deploy that within the AWS EKS cluster, the config server starts fine, but when the ...
0
votes
1
answer
62
views
How can I read/inject environment variables out of Kubernetes from Spring-Boot at runtime?
My program should test internal applications which are using Basic Authentication and OAuth2 and call them with different REST Calls.
First the user enters the address of the deployed application, the ...
1
vote
0
answers
127
views
Spring Data Redis used as message broker for websocket with Angular client
Hello and thanks in advance if you'll have time to read and maybe answer to my question.
I have an already working SpringBoot 3.2.4 app that is communicating with an Angular client via websocket ...
0
votes
1
answer
27
views
Cannot connect to the minikube backend service
So, i have spent fine amount of time could not find the solution.
Scenario: I was playing around with minikube. I have 3 services. One is mysql, another frontend and then another is springboot backend....
0
votes
0
answers
37
views
Kafka Consumer Detaching from Topic Randomly in Spring Boot Service
I'm experiencing an issue with a Kafka consumer detaching randomly from a specific topic in my Spring Boot service. Here are the details:
Environment:
Kafka Cluster: 3 Brokers (on-prem), Kafka ...
0
votes
0
answers
27
views
Why the unknown cookie directs the requests to the same kubernetes pod in the user session
I have the Http web application which has the following architecture
Browser -> Classic Load Balancer aws -> Kubernetes Pods (3 pods spanned for Http application) -> In each pod the ...