How to deploy a 3 tier Application on Kubernetes Cluster | Live Project | Kubeadm Cluster setup
HTML-код
- Опубликовано: 15 сен 2024
- #docker #kubernetes #ansible #git #linux #jenkins #dockerfile #k8 's #nexus
Join this channel to get access to perks:
/ @mrdevops
📠📱You can book a paid call for mock interview , career suggestion and Devops suggestion with me then you can refer below form 📃📑.
forms.gle/cuSH...
Code used in this Lab:
--------------------------------------------------------------------------------
github.com/vik...
github.com/vik...
▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬
Full Terraform course
► • Terraform explained - ...
Complete Real-time Docker Project
► • End to End DevOps Proj...
Complete Real-time Kubernetes project
► • Complete Real-time Dep...
Complete DevOps Project
► • Complete CI/CD Project...
▬▬▬▬▬▬ Connect with me ▬▬▬▬▬▬
INSTAGRAM
► bit.ly/3fPHLuz
LINKEDIN
► bit.ly/3FSLQbZ
FB
► bit.ly/3nRKYOB
Hey guys,
One of the more awaited video is here, the deployment of a three tier application on k8s cluster.
Check the description for the more highlights and code repo:
Switch to 1.5x for better experience !!
But I thought the video will take like 2hours... I'm not convinced until I watch it...
By the way thanks in advance...
I've been thinking it'll be like a 2-3hours video.. lol
@@cloudnimbus- yet to come, the advance version.
@@MrDevOps okay... I was wondering... I'm currently watching the last video before this... I'm having tough time with the sonar test... it loads forever... I had to stop the instance and start again because I felt it's the Processing power problem.. it works for static analysis and now again stuck with the quality and I don't want to restart the instance... any suggestions please?
Oh, brother, This video will be a gold. Thanks a million for this effort and help. Can't wait to watch this video.
My pleasure! Thanks for your support
My first comment ever on a RUclips video.
Sincerely, you are doing a great job here. I really appreciate it. All latest topics and updates.!!. Please don't stop the good work. I'll be back here when I get a job.
I really appreciate your contribution. All your videos have a great information.
Glad you like them!
Extremely mind-blowing content. Do video's more like this
Sure many more are already on channel and many are in queue.
Please Do support us by sharing our projects on LinkedIn, you can tag me as well.
Dear Sir,
Thank you once again for your assistance. if your planning to make project on deploying industrial application on Kubernetes, I suggest that the prerequisites should include knowledge of DevOps, even if there's no hands-on experience. This would eliminate the need for covering basic topics extensively. Instead, a brief explanation would suffice, and more focus can be given to practical hands-on exercises.
I hope this application will be a complete three-tier web solution that includes frontend, backend, and database components. It would be beneficial to create an end-to-end solution. If possible, consider incorporating Redis as a database and Kafka for messaging. This would result in a comprehensive course design that, to my knowledge, is currently unavailable on RUclips.
Noted !! I’ll try to cover these aspects in any upcoming projects.
Great Video Brother. I would suggest to add the persistent volume for the database pods and all the apps should deploy via deployment.yaml not as run pod. Thanks
Sure, noted !!
Awesome dude. I really appriciate your efforts. One question. You preferred the imperative approach for creating config map and secrets in this lecture. Could you please tell me is it a good practice to follow this approach in the real-case scenario? Or you just explained it for education purpose. Do we need to prepare yaml file (declarative approach) for CM and secrets too?
Thanks Naveen,
Main goal was to show the 3 tier architecture deployments.
In real time you’ll be writing k8s menifests(yaml) or preparing helmCharts for each and every k8s object.
But yeah for development you’re open to go with any way based on requirements.
really appreciate your effort bro , thank u so much
Glad you find it helpful,
please do support us by sharing the same on LinkedIn and you can tag me as well, would be greatly appreciated.
You didn't provide the shell script file link. in the description box..
Please Upload sir🙏
It will be very helpful for us.
Thankful For your efforts ❤️❤️
Given, thanks for pointing.
Hi Vikash Thanks for this Project 😀
Thanks for the demo project
Pls provide the shell script. Thank you for this wonderful project.
Given !! 🙂
Wow!! 🔥
Thankyou bro very much information.
Bro infact of creating the yaml file command line is better? Or in profisional we us command line or yaml
The main focus was to explain the 3 tier architecture development. In realtime you’ll be writing yaml, helms.
But for dev environment you’re open to do anything.
Hello this a great video, but when i try to run the shell script, kubectl, kubeadm are not getting installed i think the commands are not appropriate for the current version of the kubernetes, kindly update the file it will be really helpful.
Yes its not working 😥
Nice
Glad you liked it !!
Its was awesome if you would have deployed any industrial application on Kubernetes
Working on it..
@@MrDevOps Thank you once again for your assistance. As you develop an industrial application on Kubernetes, I suggest that the prerequisites should include knowledge of DevOps, even if there's no hands-on experience. This would eliminate the need for covering basic topics extensively. Instead, a brief explanation would suffice, and more focus can be given to practical hands-on exercises.
I hope this application will be a complete three-tier web solution that includes frontend, backend, and database components. It would be beneficial to create an end-to-end solution. If possible, consider incorporating Redis for database and Kafka for messaging. This would result in a comprehensive course design that, to my knowledge, is currently unavailable on RUclips.
Thanks for this video, I have a one question though what if i don't to directly provide "hostname", "username" and "password" in index.php file. how i can achieve this ?
You can use environment variables and configmap then.
Instead of using clusterip to connect with database and with frontnend also , its better to use service name , its not good practice to relay on ip 🙄🙄🙄🙄 am i right??
This is right.
i want to acess that tod app sunding url then where i will mentions
Thank you for this sir. Is there any active devops community I can join. Where I can be exposed to more project. Been in Devops for 6 months and I am loving the learning process. Also earned a devops certification but I am looking for more hands-on projects to build my portfolio and show prospective empolyers
Glad you liked it, Explore the same channel it contains 70+ DevOps projects. Till 10+ YOE .
Hi, thanks for the video, could you please tell, how are you pulling image from dockerhub and running it in k8s
It may be a silly question but its something I dont know, could you please tell in detail
First the image name is mentioned into the manifest file or yaml. Or while running command line you need to pass the name of image.
So when u directly pass the name of image like mysql. Hub.docker.com is hidden behind so it would be hub.docker.com/mysql completely. So it pulls from dockerHub.
If the image is store on ECR then you have to mention the RepoUri then tags.
Thanks for this project please can you provide us with the shell script.
Check description please.
Sir if i delete a deployment lets say of app a will the pods be automatically be created again or i need to make the deployment manually?
I am not getting scripts from the github repos provided. Pls share a dedicated link for the scripts you mentioned
github.com/vikash-kumar01/installation_scripts/blob/master/kubeadm_master_install.sh
Hi Anna ,
Meeru Devops interview questions and answers for all Devops tools like git, GitHub, Jenkins,maven,ansible, docker,kubernetes,terraform for experienced candidates ki use ayya tattu pdf pettandi.
Hey Bhavani,
Sure, it’ll be shared as a part of “ 60 Days of DevOps with Vikash “ Series. Stay tuned 🙂
Sir when i opend php admin page i show the error connect invalid setting... Please tell me sir
What’s the actual error ?
I truly appreciate it, bro, and I thank you. A million users will benefit from our work.
Thanks 😊
can make this procedure to install drupal? 3 tier
sir, can you describe generic webhook trigger plugin, how to setup and use
Sure, noted !!
Can you please put/share the installation script used in this project ..
Its already in video description.
Thanks bro, but can you pls make ya installation script for this video available in the link?
Could you please elaborate more ?
@@MrDevOps like the script u used for this particular video, the documentation for the installation is well arranged in the video, we wont have to suffer
I wanted to try out the tutorial yesterday but I couldn't install it correctly like u did regardless of using ya GitHub installation script repository
Please can u make available the documentation for installation of this particular video so we can easily follow ya steps
@MrDevOps please I'm still yet to get a reply brother
Please provide the shell script file link
Please check the description..
Hello iam getting this error when i run kubectl get nodes can please let me know how to fix it
W0424 17:55:36.629050 6876 loader.go:221] Config not found: /root/admin.conf
The connection to the server localhost:8080 was refused - did you specify the right host or port?
Check if your cluster is running/ kubectl command working.
kubeadm init --kubernetes-version=${KUBE_VERSION}
I0413 07:33:26.164361 30432 version.go:255] remote version is much newer: v1.27.0; falling back to: stable-1.23
[init] Using Kubernetes version: v1.23.17
[preflight] Running pre-flight checks
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR IsPrivilegedUser]: user is not running as root
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
To see the stack trace of this error execute with --v=5 or higher