Spring Cloud Kubernetes | ConfigMaps | Config Server in Kubernetes | Tech Primers

  Рет қаралды 23,196

Tech Primers

Tech Primers

Күн бұрын

This video covers how to use Spring Cloud Kubernetes config with hands-on example
🔗Code in Github: github.com/Tec...
🔗Spring Documentation: cloud.spring.i...
📌 Related Playlist
================
🔗Kubernetes Primer - • Kubernetes Primer
🔗Spring Boot Primer - • Spring Boot Primer
🔗Spring Cloud Primer - • Spring Cloud Primer
🔗Spring Microservices Primer - • Spring Microservices P...
🔗Spring JPA Primer - • Spring JPA Primer
🔗Java 8 Streams - • Java 8 Streams
🔗Spring Security Primer - • Spring Security Primer
🔗Containers Primer - • Containers Primer
🔗AWS Primer - • AWS Primer
💥Join TechPrimers Slack Community: bit.ly/JoinTec...
💥Telegram: t.me/TechPrimers
💥TechPrimer HindSight (Blog): / techprimers
💥Website: techprimers.com
💥Slack Community: techprimers.sl...
💥Twitter: / techprimers
💥Facebook: TechPrimers
💥GitHub: github.com/Tec... or techprimers.gi...
🎬Video Editing: iMovie
🎼Background Music:
Dyalla
Joakin Karud
---------------------------------------------------------------
🔥 Disclaimer/Policy:
The content/views/opinions posted here are solely mine and the code samples created by me are open sourced.
You are free to use the code samples in Github after forking and you can modify it for your own use.
All the videos posted here are copyrighted. You cannot re-distribute videos on this channel in other channels or platforms.#K8sPrimer #SpringCloudKubernetes #TechPrimers

Пікірлер: 40
@TheAmit4sun
@TheAmit4sun 3 жыл бұрын
This example stands ok for scenario of post init but what about the situation of bootstrap like initializing the DB connection during container start, that config probably has to stay outside the code and has to be managed with kube deployments?
@DeepakPandey-ij3bz
@DeepakPandey-ij3bz 3 жыл бұрын
Thanks for the tutorial. When we will deploy this setup on gcp or aws the refresh will update the messages on all the nodes?
@PavanKumar-yj8fu
@PavanKumar-yj8fu 3 жыл бұрын
Very good video, thank you. Your videos on Spring cloud Kubernetes are very helpful. Can you please do a video on Kubernetes cron job which runs a component in the Spring boot application?
@amitpadgaonkar8830
@amitpadgaonkar8830 5 жыл бұрын
Which IntelliJ plugin(s) did you use to autocomplete 1) @RestController 2) Maven Dependencies 3) Dockerfile?
@TechPrimers
@TechPrimers 4 жыл бұрын
It’s an inbuilt plug-in - Live Template.
@ricardotrejoruiz5776
@ricardotrejoruiz5776 2 жыл бұрын
a really Value Video. Thank you man :) I will do the same with helm charts
@ayanbanerjee6137
@ayanbanerjee6137 3 жыл бұрын
Superlike to this video.... wonderful crisp to the point video ...
@TechPrimers
@TechPrimers 3 жыл бұрын
Thank you Ayan. Glad it's useful
@makless
@makless 4 жыл бұрын
Thanks for this video. Have 1 question...since you are calling the refresh URL using service and if you have multiple pods the request will hit only one pod (if I am not wrong). How would you make sure that refresh is called in all pods ? Do we have to implement another solution for that like a fanout exchange which will trigger a programmatic refresh on all pods?
@asimarunava
@asimarunava 3 жыл бұрын
i created one for above example.checkout main branch github.com/asimarunava/spring-kube-usermicro.git
@aparnapericherla3961
@aparnapericherla3961 2 жыл бұрын
Hi Mahesh do you have any solution found for the multiple PODS refresh If so please let me know
@makless
@makless 2 жыл бұрын
@@aparnapericherla3961 No. But you can use reloadable properties for this purpose.
@vishaladepu8405
@vishaladepu8405 3 жыл бұрын
is there a way to auto refresh the spring boot application instead of manually hitting the /actuator/refresh endpoint??
@dagimgetachew841
@dagimgetachew841 2 жыл бұрын
spring cloud config server can be used with spring cloud bus to auto refresh changes whenever you commit in to git
@devcast_
@devcast_ 3 жыл бұрын
Wouldn't the refresh just hit any one of the pods ?
@susantpadhi26
@susantpadhi26 3 жыл бұрын
We have dev and qa pods in the same namespace and the configurations are different from environment to environment do i have to create 2 configmap and update bootstrap.yml accordingly? or any other solution
@TechPrimers
@TechPrimers 3 жыл бұрын
Ideally, thats not a good practice to have dev and qa in same namespace. If thats not possible to move out of a namespace, use different configmaps for each of your env. control the usage of the configmap via runtime arguments in ur deployment.yml while provisioning ur pod.
@MrKiraBR
@MrKiraBR 4 жыл бұрын
Hi, first of all thank you very much for the video!! One question, 16:03 I tried to run the skaffold but it said command not found. How can I configure it?
@TechPrimers
@TechPrimers 4 жыл бұрын
You can take a look at Skaffold video. You need to install that CLI
@MrKiraBR
@MrKiraBR 4 жыл бұрын
@@TechPrimers Cool! I'm taking a look at it, thanks!!!!
@MrKiraBR
@MrKiraBR 4 жыл бұрын
How can we use multiple configmaps for multiple environments? Let's say I have the develop and production environments. How could I set different properties to each?
@asimarunava
@asimarunava 3 жыл бұрын
i created one for above example.checkout main branch github.com/asimarunava/spring-kube-usermicro.git
@c4pramod
@c4pramod 3 жыл бұрын
If we don’t keep the local application.yml file the how do we do local development?
@TechPrimers
@TechPrimers 3 жыл бұрын
You can keep them in a separate config repo
@genuine.identity
@genuine.identity 3 жыл бұрын
Thanks
@somewhere8
@somewhere8 3 жыл бұрын
Is this one still working? It always returns default message to me.
@somewhere8
@somewhere8 3 жыл бұрын
make sure a pod that runs with spring-cloud-kubernetes has access to the Kubernetes API. github.com/spring-cloud/spring-cloud-kubernetes/blob/master/docs/src/main/asciidoc/security-service-accounts.adoc
@neoqing3888
@neoqing3888 4 жыл бұрын
In my case, I have to add @RefreshScope in the test controller, I'm using spring boot 2.2.6.RELEASE
@hskoder
@hskoder 5 жыл бұрын
how to access to your slack channel?
@TechPrimers
@TechPrimers 5 жыл бұрын
Sign up at bit.ly/JoinTechPrimers
@amitpadgaonkar8830
@amitpadgaonkar8830 5 жыл бұрын
I had emailed you to join your slack channel, however I didn't receive any reply
@TechPrimers
@TechPrimers 5 жыл бұрын
Is it. You can join directly using this link - bit.ly/JoinTechPrimers
@vishaladepu8405
@vishaladepu8405 3 жыл бұрын
@@TechPrimers this is not working
Serverless in 2020 | Architectural Use cases | Tech Primers
20:25
Tech Primers
Рет қаралды 19 М.
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 20 МЛН
😜 #aminkavitaminka #aminokka #аминкавитаминка
00:14
Аминка Витаминка
Рет қаралды 2,7 МЛН
the balloon deflated while it was flying #tiktok
00:19
Анастасия Тарасова
Рет қаралды 35 МЛН
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 61 МЛН
Spring Cloud | What is Spring Cloud Really All About?
10:33
Java Guides
Рет қаралды 28 М.
Spring Cloud Gateway with Hystrix example | Tech Primers
30:39
Tech Primers
Рет қаралды 39 М.
Hot Reloading of  ConfigMaps Spring Cloud Kubernetes Demo
21:51
Richard Chesterwood
Рет қаралды 8 М.
Should We Run Databases In Kubernetes? CloudNativePG (CNPG) PostgreSQL
19:10
Skaffold | Kubernetes Development made easy | Tech Primers
17:54
Tech Primers
Рет қаралды 15 М.
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 20 МЛН