Kubernetes for the Spring Developer - Meaghan Kjelland
Vložit
- čas přidán 27. 07. 2024
- This talk is aimed at people who are curious about using Kubernetes and want an overview of how it works. Kubernetes is an open source container orchestration system, developed by Google. It deploys, scales and manages containerized applications. We’ll talk about the fundamental building blocks of a Kubernetes cluster, the architecture of the system, and the problems that it can solve. Then we’ll deploy and scale a Spring Boot application using Kubernetes.
Meaghan Kjelland, Software Engineer, Google
Filmed at SpringOne Platform 2017 - Věda a technologie
FINALLY, a real-world Spring Boot on K8S demo :) Great talk, thank you.
yep - informative and with detailed demo examples covering all steps - thanks!
Short n sweet upto the mark ... unlike others vids where loads of theories and at times deviates from main topic ...
Great stuff. Thank you :-)
Short and nice tutorial
well done!
Awesome video.Could you please share github link.
Of course, here are the steps:
github.com/mkjelland/spring-boot-postgres-on-k8s-sample
cool
Thanks for the presentation!
Here's an idea. First you say, what you wanna say, and then you show the slide. You don't show a slide and start talking while people are trying to read from the slide.
k8s has service find. I don't want use like this ' kubectl create configmap hostname-config --from-literal=postgres_host=$(kubectl get svc postgres -o jsonpath="{.spec.clusterIP}")'. I expose a postgres service(name is POSTGRES). In my app config, I want use service variable like "${POSTGRES.HOST} or ${POSTGRES_HOST} lalala". How can i do it?
if the service name is "postgres-service" then you can have your connection string as "postgresql://postgres-service/mydb". Kubernetes DNS will automatically resolve this to the cluster ip.
@@RajaAnbazhagan Awesome tip.
Working at Google and don't know how to use secrets in Kubernates? Writing plain text "username" and "password" into a YAML file set a very bad example for a new learner.
disagree. in a beginner tutorial it's okay to write PW as long as it's a default password so beginners know where this is being used. as an engineer, you don't have to know it all. probably she works in different projects.