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.
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.
FINALLY, a real-world Spring Boot on K8S demo :) Great talk, thank you.
Short n sweet upto the mark ... unlike others vids where loads of theories and at times deviates from main topic ...
yep - informative and with detailed demo examples covering all steps - thanks!
Great stuff. Thank you :-)
Short and nice tutorial
well done!
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.
cool
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.
Awesome video.Could you please share github link.
Of course, here are the steps:
github.com/mkjelland/spring-boot-postgres-on-k8s-sample
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.