Questions tagged [spring-cloud-kubernetes]
99 questions
1
vote
1 answer
Exception on spring application startup with spring-cloud-kubernetes config maps dependencies present
I have a few spring services which has both Eureka-client and spring-cloud-starter-kubernetes-fabric8-all dependencies. By default, Eureka is enabled and Kubernetes is disabled.
management:
endpoints:
web:
exposure:
include:…

Dhananjay
- 1,140
- 1
- 12
- 28
1
vote
1 answer
Spring Cloud Kubernetes, Gateway Route Mapping
I am learning Spring boot kubernetes and trying to setup spring cloud gateway for my services. I believe with Spring cloud gateway we don;t have to use ribbon for load balancing any more. So If I don;t use ribbon then the configuration for routes…

James Stan
- 51
- 6
1
vote
1 answer
Taking SpringBoot Heapdumps & Threaddumps when running on Pod
Is there any recommended approach to taking Heapdumps & Threaddumps for a Spring Boot app running in a Pod on AKS?
And how to download the dump afterwards to my desktop?

DarVar
- 16,882
- 29
- 97
- 146
1
vote
0 answers
Spring Cloud Kubernetes reads other configuration files under the namespace
Spring Cloud Kubernetes reads other configuration files under the namespace
Version:
springboot:2.2.8.RELEASE
spring-cloud-kubernetes: 1.1.6.RELEASE
I would like to extract part of the public configuration files, such…

JasonX
- 33
- 4
1
vote
1 answer
Spring Cloud Kubernetes - User "system:serviceaccount:my-namespace:default" cannot list resource "services" in API group "" at the cluster scope
Question regarding the plugin Spring Cloud Kubernetes.
On a very simple main (where there is only one important class):
@EnableScheduling
@EnableAdminServer
@EnableConfigServer
@EnableDiscoveryClient
@SpringBootApplication
public class Application…

PatPanda
- 3,644
- 9
- 58
- 154
1
vote
1 answer
Spring cloud kubernetes with spring cloud loadbalancer
We recently moved from Spring Cloud Netflix Ribbon to Spring Cloud LoadBalancer and using spring-cloud-kubernetes as discovery client.
What is the equivalent property for spring.cloud.kubernetes.ribbon.mode…

Dhananjay
- 1,140
- 1
- 12
- 28
1
vote
0 answers
Multiple binders not working with Spring-Cloud-Stream and Spring-Kubernetes on Kubernetes
I have Spring-Cloud-Stream Azure Service-Bus Binder application with uses multiple binders:
spring:
application:
name: my-application
cloud:
azure:
servicebus:
connection-string: CON_STRING_1
stream:
binders:
…

apines
- 1,254
- 14
- 36
1
vote
0 answers
Spring-Cloud-Kubernetes propertySource order
I am trying to understand, where Spring-Cloud-Kubernetes propertySource will fit in the propertySource order. Will they have higher precedance that all other…

Filip
- 906
- 3
- 11
- 33
1
vote
0 answers
Unknown host excpetion with jwk-set-uri (oauth2) in Springboot application
I have a spring boot application and I have a oauth2 client registration for security.
I have this perfectly working when I run locally. I am able to generate token through my oauth2 provider and when I call the API with this token in Localhost, it…

Ashok Krishnamoorthy
- 853
- 2
- 14
- 24
1
vote
1 answer
spring boot cloud kubernetes config not working for multiple pods
I am using spring-cloud-starter-kubernetes-all dependency for reading config map from my spring boot microservices and its working fine.
After modifying the config map i am using refresh endpoint
minikube servie list # to get the servive url
curl…

Sandeep Bhardwaj
- 1,310
- 1
- 18
- 24
1
vote
2 answers
automate spring cloud dataflow stream creation and deployment in kubernetes
I have a sample SCDF dataflow stream application which am able to deploy and get it running in kubernetes.But i rely on the dataflow dashboard to create application which points to the docker images and then define stream and add properties and…

Ajith Kannan
- 812
- 1
- 8
- 30
1
vote
0 answers
io.fabric8.kubernetes.client.KubernetesClientException from IDE
I have the access to my kubernetes cluster (eks).
whey I use
kubectl get configmaps
I have all the grants to list all the pods.
When I try to run an app which is using https://github.com/fabric8io/fabric8 from my local ide (the seme host where I…

ozzem
- 294
- 1
- 3
- 16
1
vote
0 answers
spring cloud kubernetes ribbon mode
I am new to the Kubernetes world. I want to know which ribbon mode is best to use between the following :
spring.cloud.kubernetes.ribbon.mode supports POD and SERVICE modes.
The POD mode is to achieve load balancing by obtaining the Pod IP
address…

Chandresh Mishra
- 1,081
- 3
- 24
- 45
1
vote
1 answer
Spring Cloud kubernetes not loading config map
I have created the 2 config map named personservice and personservice-dev.
I am running spring boot application with profile dev but it is not loading the right config map. This is what I see in logs of the pod which gets crashed.
2019-11-05…

Chandresh Mishra
- 1,081
- 3
- 24
- 45
1
vote
1 answer
Spring Cloud Kubernetes: Can't read configMap with name
Does someone know how to solve this issue: WARN | main | o.s.c.k.c.ConfigMapPropertySource | Can't read configMap with name: [commons] in namespace:[dev]. Ignoring
I have this configuration in my bootstrap-prod.yml:
spring:
cloud:
kubernetes:
…

akuma8
- 4,160
- 5
- 46
- 82