Kubernetes Deployment in Practice using Kubernetes Components. Kubernetes Example Deployment.
► Subscribe To Me On Youtube: https://bit.ly/2z5rvTV
Instead of creating each component separate without context, this video goes through a complete application setup using several Kubernetes components: pod, deployment, service, configmap and secret.
It’s a hands-on, practical tutorial of using the different Kubernetes Components together, which will give you a big picture.
Git repo link of the demo:
https://gitlab.com/nanuchi/kubernetes-tutorial-series-youtube/-/tree/master/demo-kubernetes-components
TIMESTAMPS
0:00 – Intro
0:25 – Overview Diagram of Kubernetes Components we create
1:42 – Browser Request Flow
2:17 – MongoDB Deployment
6:22 – Secret
12:34 – Internal Service for MongoDB
17:09 – MongoExpress Deployment
19:53 – ConfigMap
24:00 – MongoExpress External Service
29:27 – Setup finished – review
——————————————————————————————————-
Full Kubernetes and Docker tutorial ► https://bit.ly/2YGeRp9
DevOps Tools, like Ansible ► https://bit.ly/2W9UEq6
Kubernetes Volumes ► https://youtu.be/0swOh5C3OVM
Complete Jenkins Pipeline Tutorial ► https://youtu.be/7KCS70sCoK0
For any questions/issues/feedback, please leave me a comment and I will get back to you as soon as possible. Also please let me know what you want to learn about Docker & Kubernetes.
#kubernetes #kubernetestutorial #devops #techworldwithnana
——————————————————————————————————-
This video is the 20th of a complete series for beginners. At the end of this tutorial you will fully understand Docker and Kubernetes.
The complete step-by-step guide to Docker and Kubernetes will include the following topics:
🐳 DOCKER basics:
– Container concept
– Why docker? (image vs. traditional DevOps)
– Install docker on different operating systems
– 8 basic commands you need to know (2 parts)
– Docker vs. Virtual Machine
– Docker in Practice: Overview of whole development process with Docker (development, continuous delivery, deployment) Probably 3-5 videos including Docker-Compose, Dockerfile, Private Repository.
– Docker Volumes in theory and practice
✵ KUBERNETES basics:
– Main Kubernetes components (including Pod, Service, Ingress, Volumes, ConfigMap, Secrets, Deployment, StatefulSet)
– Kubernetes architecture for beginners (master, slave nodes & processes)
– How Kubernetes makes high availability, scalability and disaster recovery possible
– Minikube, Kubectl – set up the cluster
– Kubectl basic commands – Demo
– Configuration file (YAML) – syntax
– K8s Deployment in practice – example application deployment (pod + service + configmap + secret)
– Kubernetes Namespaces
– Kubernetes Volumes
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
Join private Facebook group ► https://bit.ly/32UVSZP
Don’t forget to subscribe ► https://bit.ly/3mO4jxT
DEV ► https://bit.ly/3h2fqiO
INSTAGRAM ► https://bit.ly/2F3LXYJ
TWITTER ► https://bit.ly/3i54PUB
LINKEDIN ► https://bit.ly/3hWOLVT
Legal Notice:
Kubernetes and the Kubernetes logo are trademarks or registered trademarks of The Linux Foundation in the United States and/or other countries. The Linux Foundation and other parties may also have trademark rights in other terms used herein. This video is not accredited, certified, affiliated with, nor endorsed by Kubernetes or The Linux Foundation.
source
0:25 – Overview Diagram of Kubernetes Components we create
1:42 – Browser Request Flow
2:17 – MongoDB Deployment
6:22 – Secret
12:34 – Internal Service for MongoDB
17:09 – MongoExpress Deployment
19:53 – ConfigMap
24:00 – MongoExpress External Service
29:27 – Setup finished – review
👉🏼 For any questions/issues/feedback, please leave me a comment and I will get back to you as soon as possible.
Please don't forget to subscribe and give me a thumbs up if you liked my video 😊
hello nana, i followed your tutorial and everything was fine. in my case am deploying laravel with postgres database. just modifed the yaml which you have shown as er my requirement. now my problem is external ip is not generating and when i give minkube service command it shows nothing. what i have to do. please guide me
best and easy way to gain knowledge on deploying the app, thanks for the video Nana
Very very nice.. However, I'm trying to deploy a simple python app with tornado . So I wanted to know how do I put my py scripts in the docker container?
This was awesome and very helpful! but where do you get the yaml config drafts for secrets, deployments or in this case mongo express? Thanks so much!
Anyone not getting EXTERNAL IP :
run following command and see the IP :
> minikube tunnel
PS: Excellent Tutorial (y)
Thanks
Fantastic!!!, Thank you Nana
You're amazing
Hey Nana, one question.
For mongodb why you created a deployment instead of Statefulset?
Hi Nana, I'm not seeing the expected behavior.
1. When I run "kubectl logs mongo-express-xx-xx", I do not see "Database connected" and "Admin Database connected". I also see a "Current Server Discovery and Monitoring engine" deprecated warning.
2. Most likely as a consequence, nothing happens when I run "minikube service mongo-express-service".
After looking this warning up, I believe the problem lies in the mongo-express image. Not sure if you have any advice for me. Regardless, love your videos! Rock on!
@TechWorld with Nana Very well structured best ever content available on internet so far (Better than paid courses Udemy, Safirbooks, LinkedIn , etc…)
Awesome work Nana. Keep it Up
Hi Nana I have been used your Ki8s manifest but unfortunately my pod is not running and getting error Imagepullbackoff & crashloopbackoff please suggest how to avoid this error
How do I verify that my created database is showing in MongoDB Database? How to actually connect to mongoDB and see the database that I created on Mongo Express. Please share relevant k8 mongodb commands.
Hi Nana… Excellent and detailed explanation. But what about the MongoDB Database storage? In the current setup, if the MongoDB pod dies, then we might lose all the data.
Thanks for the great explanation. If I want to publicly expose an application via a reverse proxy, what happen if the app gets re-created ? will it get a new ip ? This would be an issue since I have to declare the app IP in the reverse proxy ..I am not sure I understood everything here. Thanks
Woow is clearly explained. I have done this one time without any errors. thanks 😍
Hi Nana, if we can define everything in kubernetes deployment yaml then where will be the need for docker run image
Amazingly explained… thanks alot
Clearly explained! Thank you for taking the time for that video. Even people with 0 experience in K8s would understand what you did!