Can not think of a better explanation. Great job @Java Techie. Learning a lot from your videos. Truly amazing (y). Thank you so much for putting such efforts to share such detailed videos.
Thanks for this.. We have another option as well too. Using kubectl create secret command , create secret on cluster/pod. Then use direct in deployment. Yml and in application. Yml use placeholder using ${host} and create configmap create configamp direct on cluster. So we no need to maintain 2 yml file in project. In bootstrap. Yml - define configmap name Its another way. But i learnt new way from tutorial. Thank you so much again
Thank you Java techie, learnt a lot from this channel. Suggestion : Please keep the terminal font size bigger, it reduces the strain on the eyes of binge watchers (like me)
Hi sir , Each and every time wen I see the videos I fall in love with code ..and the way of explaining is really good ...will you please make a video on Nexus repository building?
Very helpful to understand K8s features. My request, can we have a video on how Springboot is interacting with Consul and Vault together for configurations and secrets. I am trying to implement in my local system but facing some configuration issues.
great explanation , i have one question though, you encrypted the username and password using kubectl encryption, and after that you are adding that encrypted text in corresponding yaml files. so isn't there a decryption command in kubectl using which if we provide them encrypted text cant they see decrypted value ? i believe deployments file will be pushed to git and then those properties would be visible to others , so my concern is wont that be easy to decrypty ? coz i didn't see you used any private key or anything like that to encrypt your sensitive information please correct me, i have just started learning kubernetes
Hi JavaTechie, amazing videos you make, I follow them all. I have few question. All this you are doing on terminal, in real world it will be done by Jenkins job. I can see you are applying the YAML files one by one so you can wait for one file to be succeed before the next one. But Jenkins pipeline will have all these apply commands mentioned one after another so how Jenkins will stop a pod to run before the another pod is executed successfully. e.g. My web app pod uses MySql then how the web app pod will wait for MySql pod to run first and then start its own execution.
Hi, i cloned this repo i applied the same steps as you do but for me it creates mysql container but it gives crashloopBackOff error when i try to run the yaml file for application. can you check it plz ?
@@Javatechie no just apply the leave and approved by manger by using spring boot jpa without hmtl css how many tables required ? How to apply leave from employee side? Plz help me
nice detailed video. but i am facing one problem :( my rest endpoint is not calling even i check all logs , everything is up with 3 replicas ,mysql is running
please i tried with same solution as you are teaching but the springboot application gives service not found spring.datasource.url= jdbc:mysql://${MYSQL_HOST}/kubernetes?useSSL=false spring.datasource.username = ${MYSQL_USER} spring.datasource.password= = ${MYSQL_PASSWORD}
Please first give the mvn build with your local data sources configuration then change data sources value and configure AWS specific data sources then create docker image
@@Javatechie kindly elaborate this step clearly since I've done below steps but my app pod are failing to bootup due to jdbc connection issue : step 1 -> changed db properties in application.yml file to point to local mysql db so that mvn clean insteall runs successfully . step 2 -> executed docker build -t springboot-crud-k8s:1.0 . step 3 -> changed db properties in application.yml file to refer from configMap & secrets step 4-> applied configMap.yml, secrets.yml, db-deployment.yml & app-deployment.yml files one by one step 5-> checked springboot service pod log in which it is showing jdbc connection error
You always keep us updated with your updated videos on updated technologies. Thankyou for such beautiful videos buddy.
Thanks, Basant, for your wonderful efforts.
Can not think of a better explanation. Great job @Java Techie. Learning a lot from your videos. Truly amazing (y). Thank you so much for putting such efforts to share such detailed videos.
Cool buddy 🙂. keep learning 😊
wow, man! This is really clearly explained. No nonsense. Loved the video.
pretty useful content as per industry standard 😍😍😍😍😍🙌🙌🙌🙌🙌
Thanks for your course :) Very helpful for my new job
Thanks for this..
We have another option as well too. Using kubectl create secret command , create secret on cluster/pod. Then use direct in deployment. Yml and in application. Yml use placeholder using ${host} and create configmap create configamp direct on cluster. So we no need to maintain 2 yml file in project.
In bootstrap. Yml - define configmap name
Its another way. But i learnt new way from tutorial. Thank you so much again
Thanks buddy for update definitely i will check other one
ತುಂಬಾ ಚೆನ್ನಾಗಿದೆ ಸರ್ 😀
My fav ❤️ teacher. Thank you 👍
Great explanation. Thank you!
Awesome tutorial. You are the best sir.
Amazing sessions,Thank you.
Awesome content sir
Thank u so much sir ❤️
Brilliant video, thank you Sir 🔥🙂💯
Thank you so much for your truly amazing content ! Keep up the great work 👍🏻
nice video
found informative
Thank you Java techie, learnt a lot from this channel.
Suggestion :
Please keep the terminal font size bigger, it reduces the strain on the eyes of binge watchers (like me)
Thanks Mukesh . Going forward i will look into it
Thank you
Nice content
Hi sir , Each and every time wen I see the videos I fall in love with code ..and the way of explaining is really good ...will you please make a video on Nexus repository building?
Sure will do harish
THank you sir
Very helpful to understand K8s features.
My request, can we have a video on how Springboot is interacting with Consul and Vault together for configurations and secrets. I am trying to implement in my local system but facing some configuration issues.
In k8s or plain application what's your question ❓
@@Javatechie In k8s. Actually, I am using openshift.
I will check and update
great explanation , i have one question though, you encrypted the username and password using kubectl encryption, and after that you are adding that encrypted text in corresponding yaml files. so isn't there a decryption command in kubectl using which if we provide them encrypted text cant they see decrypted value ? i believe deployments file will be pushed to git and then those properties would be visible to others , so my concern is wont that be easy to decrypty ? coz i didn't see you used any private key or anything like that to encrypt your sensitive information
please correct me, i have just started learning kubernetes
You are correct there is a way to encrypt and decrypt at runtime
@@Javatechie can you please add a video for the same , i guess it would be great to learn that as well
Thanks for making videos with latest versions... If possible can you make video to deploy into AWS EKS
Yes I will upload that in next weekend
Hi JavaTechie, amazing videos you make, I follow them all.
I have few question.
All this you are doing on terminal, in real world it will be done by Jenkins job.
I can see you are applying the YAML files one by one so you can wait for one file to be succeed before the next one.
But Jenkins pipeline will have all these apply commands mentioned one after another so how Jenkins will stop a pod to run before the another pod is executed successfully.
e.g. My web app pod uses MySql then how the web app pod will wait for MySql pod to run first and then start its own execution.
Please checkout my latest devops video on automating this process
@@Javatechie The exercise does not work for MySql 8 or latest versions.
can we create replicas for mysql? if yes then how do we maintain db transaction ..
Hi, i cloned this repo i applied the same steps as you do but for me it creates mysql container but it gives crashloopBackOff error when i try to run the yaml file for application. can you check it plz ?
How to encryption and decryption in windows as echo -n 'root' | base64 is not supported in windows command line tool
We don't want to commit any passwords to our git repo. Could I use a Spring Config Server that uses Vault?
Yes
Thanks buddy...
How to maintain diff screts for diff environments?
Approach will be the same only you need to configure the value specific to the environment .
Bro how to apply leave from employee and approved by manger using spring jpa and show leaves balance total 10 employee without hmtl css
You want complete application ? It seems it required a full stack development
@@Javatechie no just apply the leave and approved by manger by using spring boot jpa without hmtl css how many tables required ? How to apply leave from employee side? Plz help me
nice detailed video.
but i am facing one problem :( my rest endpoint is not calling
even i check all logs , everything is up with 3 replicas ,mysql is running
Any error?
Same issue I'm facing.. No error but app not accessible.
Try using this command :- minikube service --url
instead of node port and node host
Can i download and install intellij trial version without having to renew the license after every 1 month.
Yes for that you need to add new email
@@Javatechie Thanks you 👌
Bro, Can you please put video for Kubernetes cluster with CRI-O container runtime ?
I am not aware about this will check and try
But Base64 is not encrption
You can use other algorithms
cannot pull the image 🙃
Make sure your docker and kubernetes both are in sync. Run $eval command
push to docker hub with your accountname/imagename
any one can decrypt the password right?
Yes this is just demo tutorial buddy . You need to use strong algorithm for encryption
please i tried with same solution as you are teaching but the springboot application gives service not found
spring.datasource.url= jdbc:mysql://${MYSQL_HOST}/kubernetes?useSSL=false
spring.datasource.username = ${MYSQL_USER}
spring.datasource.password= = ${MYSQL_PASSWORD}
apiVersion: apps/v1
kind: Deployment
metadata:
name: springboot-application
spec:
selector:
matchLabels:
app: springboot-application
template:
metadata:
labels:
app: springboot-application
spec:
containers:
- name: spring-application
image: spring:latest
imagePullPolicy: Never
env:
- name: MYSQL_USER
value: root
- name: MYSQL_HOST
value: mysql
- name: MYSQL_PASSWORD
value: root
resources:
limits:
memory: "128Mi"
cpu: "500m"
ports:
- containerPort: 8081
Please first give the mvn build with your local data sources configuration then change data sources value and configure AWS specific data sources then create docker image
@@Javatechie kindly elaborate this step clearly since I've done below steps but my app pod are failing to bootup due to jdbc connection issue : step 1 -> changed db properties in application.yml file to point to local mysql db so that mvn clean insteall runs successfully . step 2 -> executed docker build -t springboot-crud-k8s:1.0 . step 3 -> changed db properties in application.yml file to refer from configMap & secrets step 4-> applied configMap.yml, secrets.yml, db-deployment.yml & app-deployment.yml files one by one step 5-> checked springboot service pod log in which it is showing jdbc connection error