Questions tagged [spring-cloud-kubernetes]
99 questions
0
votes
1 answer
Spring Cloud Kubernetes and ConfigMaps across multiple namespaces
Upon reading the Spring Cloud Kubernetes documentation, it appears as though Spring Cloud Kubernetes supports the loading of properties from ConfigMaps across multiple namespaces. Following is the example from the documentation:
spring:
…

Keith Bennett
- 733
- 11
- 25
0
votes
1 answer
Spring Cloud Data Flow: Error org.springframework.dao.InvalidDataAccessResourceUsageException
I am trying to run/configure a Spring Data Cloud Data Flow (SCDF) to schedule a task for a Spring Batch Job.
I am running in a minikube that connects to a local postgresql(localhost:5432). The minikube runs in a virtualbox where I assigned a vnet…

msuzuki
- 105
- 2
- 15
0
votes
1 answer
Filtering information in Google Cloud Traces from different gke clusters in same GCP project
I have one GCP project in which there are two GKE clusters, one for development and preproduction workloads and another one for production.
I am using Google Cloud Trace to correlate the information of the different Spring Boot microservice…

codependent
- 23,193
- 31
- 166
- 308
0
votes
1 answer
Do I require Spring Cloud Kubernetes for Spring boot cloud native application?
I am working on a Spring boot based cloud native application to be deployed on Kubernetes cluster. As Spring offers Spring Cloud Kubernetes for integration with Kubernetes deployments, do I really need to use it for cloud native app ?
Spring doc…

Omkar Shetkar
- 3,488
- 5
- 35
- 50
0
votes
1 answer
Spring Boot Log initialization with Spring Cloud Kubernetes
Spring Boot 2.2.6-RELEASE
In my application.yml, I have this line :
logging.config: classpath:my-logback-config.xml
This works well, spring get its config nicely
In my my-logback-config.xml I have this line :

Filip
- 906
- 3
- 11
- 33
0
votes
1 answer
Azure-app-config + spring-boot-kubernetes
I'm trying to use azure's spring-cloud-azure-appconfiguration-config-web with spring-cloud-kubernetes-config. The idea is to define
in kubernetes configmap application-kubernetes.yaml and also bootstrap-kubernetes.yaml. Inside…

bilak
- 4,526
- 3
- 35
- 75
0
votes
2 answers
Read secrets as files using spring.cloud.kubernetes.secrets.paths property
Is there an example of howto use spring.cloud.kubernetes.secrets.paths=/mnt/secrets-store property to read secrets as files (mounted as a volume)?
My Pod.yaml
kind: Pod
apiVersion: v1
metadata:
name: nginx-mounted-secrets
namespace: default
…

DarVar
- 16,882
- 29
- 97
- 146
0
votes
1 answer
Need clarification for usage of discovery client with native kubernetes discovery
I am a confused as to what is the proper setup for my spring-cloud-kubernetes project to use kubernetes native discovery and make use of the discoveryclient when the kuberbetes service fronts mult
I can get things working by using the…

nvp152
- 21
- 1
- 1
- 3
0
votes
2 answers
Detect liveness / readiness actuator endpoint execution and collect its result to send it to an endpoint
I have a Spring Boot 2.3.1 application with actuator deployed on Kubernetes with the corresponding K8s probes mapped against the actuator endpoints:
livenessProbe:
httpGet:
path: /actuator/health/liveness
...
readinessProbe:
httpGet:
…

codependent
- 23,193
- 31
- 166
- 308
0
votes
0 answers
KubernetesClientException - Operation Get failed
I am using Netflix Zuul for an edge service. Once in a while, the PollingServerListUpdater fails one update cycle with a timeout.
Otherwise it runs fine.
Could this be due to an unstable environment or what could be the likely…

Anders Lassen
- 69
- 8
0
votes
1 answer
How to connect to k8s mongodb endpoint from spring boot
I have a spring boot app which deployed in Kubernetes and need to connect to mongodb server hosted outside of the cluster. As per the Kubernetes specified in…

Viraj
- 5,083
- 6
- 35
- 76
0
votes
1 answer
How to communicate between two services in k8s using spring cloud
I have spring boot app which I use spring-cloud-kubernetes dependencies. This is deployed in K8s. I have implemented service discovery and I have @DiscoveryClient which gives me service ids k8s namespace.My Problem is I want to do a rest call to one…

Viraj
- 5,083
- 6
- 35
- 76
0
votes
1 answer
Problem with kubernetes dicovery client in gateway microservice
I'm working on a microservices architecture just on spring and kubernetes. Right now I'm working on the gateway microservice. During the startup of the microservice I have the following error at runtime:
Blockquote
2020-01-15 11:00:57.312 ERROR 1…

Liviu
- 23
- 6
0
votes
1 answer
spring cloud dataflow kubernetes deployment pass property
I have spring cloud dataflow app running in kubernetes . Now i need to pass new property like template metadata label enableIdentityHelper as part to stream deployment .Below is the deployment yaml which works standalone as below
DEPLOYMENT YAML
…

Ajith Kannan
- 812
- 1
- 8
- 30
0
votes
1 answer
TypeNotPresentExceptionProxy while upgrading spring boot starter parent from 2.1.8 to 2.2.1
I am trying to upgrade my spring-boot-starter-parent from 2.1.8.RELEASE to 2.2.1.RELEASE,
and, spring-cloud-dependencies from Hoxton.M2 to Hoxton.RC2
But it's giving me following exception at runtime:
2019-11-22 15:37:02 [main] INFO …

kleash
- 1,211
- 1
- 12
- 31