Questions tagged [spring-cloud-kubernetes]
99 questions
2
votes
2 answers
Spring Boot Admin does not detect service after restarting
I have an environment with different services. They all are deployed and managed by Docker images and Kubernetes. I also use spring-boot-admin in order to monitor them all and spring-cloud-kubernetes to discover all the services automatically.
This…

NeoChiri
- 296
- 4
- 18
2
votes
0 answers
Does Spring Cloud Config Client support using Kubernetes as a discovery client?
I am running a Spring Cloud Config Client on Kubernetes. It uses spring-cloud-kubernetes and spring-cloud-kubernetes-ribbon dependencies for service discovery, and I am expecting it to be able to discover the Spring Cloud Config Server by setting…

santankrish
- 21
- 3
1
vote
1 answer
How to use multiple secrets sources in Spring Cloud Kubernetes
I have multiple Secret resources in my Kubernetes cluster and I would like to have my Spring Boot application, which uses Spring Cloud Kubernetes, use them.
I have read the docs on it, but I still cannot wrap my head around it.
My Secret resource…

Igor
- 1,582
- 6
- 19
- 49
1
vote
0 answers
Problem with HTTP Proxy settings and Spring Cloud Kubernetes
I am passing the http.proxyHost, http.proxyPort, https.proxyHost, https.proxyPort,and http.nonProxyHosts properties as Java arguments when I start my Spring Cloud Kubernetes container, but upon container startup I encounter the stack trace below. In…

Keith Bennett
- 733
- 11
- 25
1
vote
0 answers
Spring Cloud Kubernetes Service registry - Feign client - java.net.NoRouteToHostException
There are two microservices (microservice-A & microservice-B), written in Spring boot, are talking to each other through the Feign Client and the services are registered in K8S Native service registry
Whenever a fresh deployment of a microservice-A…

Arun
- 3,440
- 11
- 60
- 108
1
vote
0 answers
Multiple version of spring-cloud-kubernetes jar
I am really confused in jars present in spring-cloud-kubernetes landscape.
This page mentions 2 flavours of each jar, when to use which
https://github.com/spring-cloud/spring-cloud-kubernetes#2-starters
…

SauriBabu
- 414
- 6
- 15
1
vote
2 answers
Load balancing problems with Spring Cloud Kubernetes
We have Spring Boot services running in Kubernetes and are using the Spring Cloud Kubernetes Load Balancer functionality with RestTemplate to make calls to other Spring Boot services. One of the main reasons we have this in place is historical - in…

David Geary
- 1,756
- 2
- 14
- 23
1
vote
0 answers
How to debug Spring Cloud Kubernetes Configuration Watcher when it is not working as expectted
There are two components in my k8s namespace.
The first component is a simple Spring Boot Web Service with actuator/refresh endpoint exposed. I have mannualy make post request to the endpoint and it will trigger a configuration context refresh…

Json
- 133
- 7
1
vote
0 answers
Can Spring Cloud Stream work with Spring Cloud Kubernetes?
I haven't seen any example of combining the two, even though it makes sense they'll work together (because of being both subprojects of Spring Cloud). I want to use Spring Cloud Stream (Reactive Processing) for reading from Kafka and writing to…

ropes-nopes
- 135
- 1
- 7
1
vote
1 answer
spring.cloud.kubernetes.config.sources disables resolution of profile-specific ConfigMap
I'm trying to adapt my Spring boot application to k8s environment and want to use ConfigMaps as property sources.
I faced that if I'm using
kubernetes:
config:
sources:
- name: application-config
for application…

Владимир Сухарев
- 41
- 6
1
vote
2 answers
Using Spring Cloud Kubernetes, how do I get the instanceId of the running instance
I have a microservice written in Spring Boot and leveraging Spring Cloud Kubernetes that runs in Kubernetes as follows:
a Kubernetes service (foo-service)
two instances of foo-service (pods) sitting behind the service, each running the Spring Boot…

Mark
- 4,970
- 5
- 42
- 66
1
vote
0 answers
How to properly setup a spring application using Spring Cloud K8s to work with k8s secrets using helm?
I have a Spring Boot application where I have the k8s files for deployment, configmaps and secrets. Their values are being updated using helm.
I want to have a secrets.yaml where I put the values there and it replaces the values inside my…

Leonardo Chassot
- 21
- 3
1
vote
0 answers
Integration Testing with Spring Cloud Kubernetes
We are in the process of evaluating Spring Cloud Kubernetes. Our projects are using Spring Cloud 2020.0.3 and Spring Boot 2.4.9. We have been deploying our microservices up to this point to Docker Swarm, and as a result we have been using Spring…

Keith Bennett
- 733
- 11
- 25
1
vote
0 answers
Spring cloud kubernetes load balancer upgrade issue with HTTP2 jetty client
We have a spring boot application with HTTP2 jetty client which we have annotated with @LoadBalanced with springboot version 2.3.x and spring-cloud-kubernetes-loadbalancer version 1.1.6.RELEASE.
On sending traffic, HTTP2 persistent connections were…

Aakanksha Dixit
- 11
- 3
1
vote
0 answers
Spring Cloud ZUUL not proxying call to newly added kubernetes service
We've set of microservices built using Spring Cloud stack, I was using Eureka service as service discovery while developing it but when it comes to moving it to Kubenretes we had two option
Keep using Eureka as discovery service
Start using native…

Akhil
- 1,184
- 1
- 18
- 42