Comments on: Spring Cloud Kubernetes with Spring Boot 3 https://piotrminkowski.com/2023/06/08/spring-cloud-kubernetes-with-spring-boot-3/ Java, Spring, Kotlin, microservices, Kubernetes, containers Wed, 21 Feb 2024 21:05:58 +0000 hourly 1 https://wordpress.org/?v=6.9.1 By: piotr.minkowski https://piotrminkowski.com/2023/06/08/spring-cloud-kubernetes-with-spring-boot-3/#comment-2310 Wed, 21 Feb 2024 21:05:58 +0000 https://piotrminkowski.com/?p=14232#comment-2310 In reply to Damian Szuta.

Thanks! No I didn’t have such problems… Testcontainers handles it – I’m just getting kubeconfig: k3s.getKubeConfigYaml()

]]>
By: arnelyutiga https://piotrminkowski.com/2023/06/08/spring-cloud-kubernetes-with-spring-boot-3/#comment-2296 Fri, 16 Feb 2024 04:43:59 +0000 https://piotrminkowski.com/?p=14232#comment-2296 In reply to piotr.minkowski.

Okay, thank you.

]]>
By: piotr.minkowski https://piotrminkowski.com/2023/06/08/spring-cloud-kubernetes-with-spring-boot-3/#comment-2289 Tue, 13 Feb 2024 07:58:47 +0000 https://piotrminkowski.com/?p=14232#comment-2289 In reply to Manu Onda.

Smth wrong with your YAML. Verify if don’t have additional string or smth like that there.

]]>
By: piotr.minkowski https://piotrminkowski.com/2023/06/08/spring-cloud-kubernetes-with-spring-boot-3/#comment-2288 Tue, 13 Feb 2024 07:56:58 +0000 https://piotrminkowski.com/?p=14232#comment-2288 In reply to Manu Onda.

You’re welcome

]]>
By: piotr.minkowski https://piotrminkowski.com/2023/06/08/spring-cloud-kubernetes-with-spring-boot-3/#comment-2287 Tue, 13 Feb 2024 07:56:37 +0000 https://piotrminkowski.com/?p=14232#comment-2287 In reply to arnelyutiga.

Because I need to approve it 🙂

]]>
By: piotr.minkowski https://piotrminkowski.com/2023/06/08/spring-cloud-kubernetes-with-spring-boot-3/#comment-2286 Tue, 13 Feb 2024 07:56:22 +0000 https://piotrminkowski.com/?p=14232#comment-2286 In reply to arnelyutiga.

No, I don’t have such a post for now. I’ve got just an article about Reloader – a special tool restarting the pod on configmap/secret change: https://piotrminkowski.com/2022/12/02/renew-certificates-on-kubernetes-with-cert-manager-and-reloader/. Probably, you should not use a deprecated version, since it can be removed soon.

]]>
By: arnelyutiga https://piotrminkowski.com/2023/06/08/spring-cloud-kubernetes-with-spring-boot-3/#comment-2284 Mon, 12 Feb 2024 09:00:09 +0000 https://piotrminkowski.com/?p=14232#comment-2284 Oh I can’t see my comments in this page.

]]>
By: arnelyutiga https://piotrminkowski.com/2023/06/08/spring-cloud-kubernetes-with-spring-boot-3/#comment-2283 Mon, 12 Feb 2024 08:59:22 +0000 https://piotrminkowski.com/?p=14232#comment-2283 Hi, thank you so much and I was able to use Spring Cloud Kubernetes correctly.
But I think I still need more like hot reloading of configmap/propertysource.

Do you have a content about PropertySource Reload (https://docs.spring.io/spring-cloud-kubernetes/docs/current/reference/html/#propertysource-reload) or Spring Cloud Kubernetes Configuration Watcher (https://docs.spring.io/spring-cloud-kubernetes/docs/current/reference/html/#spring-cloud-kubernetes-configuration-watcher) ?

I’m confused which is best between the two because the docs said the ProperSource Reload is deprecated but I like it because I don’t need to run another pod for Spring Cloud Kubernetes Config Server.

Which is best between the two in your opinion?

]]>
By: Manu Onda https://piotrminkowski.com/2023/06/08/spring-cloud-kubernetes-with-spring-boot-3/#comment-2281 Sun, 11 Feb 2024 02:11:47 +0000 https://piotrminkowski.com/?p=14232#comment-2281 Thanks for the article. I try to practice in my work. Greetings from Argentina.

]]>
By: Manu Onda https://piotrminkowski.com/2023/06/08/spring-cloud-kubernetes-with-spring-boot-3/#comment-2274 Wed, 31 Jan 2024 19:27:10 +0000 https://piotrminkowski.com/?p=14232#comment-2274 Good afternoon.First of all, thank you for the article. I have un problem with my application yaml. Add the line config: import: kubernetes: but is wrong . I use Spring Boot 3 . The error is org.yaml.snakeyaml.scanner.ScannerException: mapping values are not allowed here
in ‘reader’, line 17, column 23:
import: kubernetes:

]]>