0:27 - 3 parts of a Kubernetes configuration file 0:45 - metadata and specification 1:54 - status 3:35 - format of configuration file 4:46 - blueprint for pods (template) 5:59 - connecting services to deployments and pods (label & selector & port) 6:18 - connecting deployment to pods 6:59 - connecting services to deployments 7:37 - ports 8:50 - demo 👉🏼 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 😊
TechWorld with Nana -Really simply awesome thank you so much for you ...will you able to help how to start working Kubernetes where I need install easy way will you please help me any doc or video
it's kind of ridiculous how good this series is. Amazingly good. If this had been my first step towards Kubernetes, I would have saved quite a lot of time. Nana has a video on why she chose devops as her career, which I have not yet watched, but if she is better at devops than she is at teaching, she must be off the charts good at devops. I suppose she really likes devops and is motivated to make this astoundingly good material to encourage others to follow her. Thank you so much for this.
OMG!!! Your explanation on "label & selector & port" , @6:00, helps me understand the relationship in Home Assistants' YAML files and the components with in them. These points are greatly missing from their docs. THANK YOU!!! From ALL the reading and research, I finally found the answer. Please keep up the great work. I'll look for your courses in udemy for sure.
I downloaded a paid course but since i found your videos i've been following them instead. Thank you for making this publicly available on the youtubes. Done thanks, notes copied to onenote
Re: 6:59 - connecting services to deployments Small correction - I think it is important to note. Service manifest in service.spec.selector is using labels of pods, not deployment. So frames at 7:12 -7:36 should not have arrow pointing to deployment (upper arrow)
What about the deployment label app:ngin-x: is it used anywhere? It is said in the video that everything starts with deployment label. It is related first to pods label and then pods to matchLabels. Is that true?
Yes, here would have liked to see the mandatory naming. If everything is name nginx its everything else but clear which nginx was ment. It would have been helpfull to use as many different names as possible to see what matches to what.
I reviewed a project for kubernetes at my company last week. I was overwhelmed with yaml files. I was confused about the pattern of attributes. This video helped me understand the inner details tremendously. Thank you.
You are a fantastic instructor. Your explanation videos are direct and clear. You describe things clearly and provide context while keeping the primary focus of the lesson in mind.
Hi Nana, you are such a good trainer. Thanks a lot for the session. The way u r teaching it's really good nd concepts r crystal clear. May God bless u with happiness nd success.
Thanks for this. I was so confused when I came across a YAML file with "spec: template: spec". I really wish the documentation explained it more simply. This video clears things up nicely
Wow what a greate explanation, Thanks for the nice and perfect video. so i understoond clearly *)what is Label & selector *)connection B/W Deployment and Pods connection *)connection B/W Deployment and services Please keep posting this usefull videos.
Hey ..I am new to k8s.. I feel like I should pay for watching Nana's videos.. Excellent teaching skill. Not too depth nor too high level.. Just as much as it required the core concepts. Undoubtedly much better than so called paid courses..
Thanks for this amazing video! I watched quite a few videos about k8s, helm, etc, but always got lost with the different keywords, what's required/optional. It's actually logical and simple thanks to your explanation. Subscribed, keep sharing! :)
Your Videos are really nice i have learned so many things about kubernetes . And if you know about terraform please make some videos for that and also GCP IaaS - Governance, Network, Security, Identity, Compute, Storage, Backup & DR, Monitoring and Automation
6:58.. That was confusing,, Why does the deployment need selector to identify its pods?! Why doesn’t the deployment automatically match the pod it’s deploying?
Amazing content, no longer need to memorise k8s yaml as I understand them. Thanks for the video The question I have is, service selectors must match deployment label so both can be connected, but why should deployment selector also match POD label?
Very helpful tutorial. The term "service" is really confusing in terms of Kubernetes. I wonder why they chose that term in defining permanent connection between replicas.
It's just more convenient, especially if you have multiple components inside 1 file, you can delete all with one command. But deleting with "kubectl delete deployment {name}" and "kubectl delete service {name} will do the same. So not much difference there.
Thanks a lot Mahesh! I don't have any recommendation for Python. But I want to mention that I will actually also do a tutorial for Python, when I finished with the first K8s series ;)
Super helpful. Why can't you make one yaml to do both the service and the deployment? Seems strange to have two files for what I think of as a single thing. Great video though, thanks for sharing.
Thanks Jason. You CAN make one yaml for both. In fact it is a good practice, which I also explain in one of my other videos, because they always go together, meaning you almost always need a service for your deployment.
Hello Nana, Thank you so much for making such wonderful,precise and very informative video... Totally loved it !! Subscribed and Notification set immediately after watching your amazing videos . Keep up the good work (y) (y) Kindly request, if possible, please make one video on docker file as well . As the real show runner(heavy lifter) of application deployment is the docker image itself. Definitely will be glad to help in case you need any :)
Hi, very happy you loved my content so much that you subscribed 👍🙂Did you already see my video on Dockerfile: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-WmcdMiyqfZs.html Or do you have something specific in mind? Thanks for your feedback :)
Thank you so much for your detailed and well-organized tutorial. I have a question on how to specify backend / service in the Ingress yaml file. We plan to use a LoadBalancer service to allow internet access to our deployed application. Can we specify the LoadBalancer service directly in Ingress yaml file backend service and skip the ClusterIP service? Or should the backend service points to the auto-generated ClusterIP service (generated by K8S)? Or should we create a new ClusterIP service first, use it as backend service in Ingress yaml, then create a LoadBalancer service to access that created ClusterIP service? Sorry for so many questions. I am confused by whether should use auto-generated ClusterIP or create our own. Also if need the auto-generated one, how we should get its details. Many thanks.
Hello @TechWorl with Nana, Can you please make a video explaining the various attributes of Prometheus.yaml. Like various scrape_config field section which includes various attributes. This will help to understand how those file were developed a snippet code of that I am attaching here - job_name: 'k8services' kubernetes_sd_configs: - role: endpoints relabel_configs: - source_labels: - __meta_kubernetes_namespace - __meta_kubernetes_service_name action: drop regex: default;kubernetes - source_labels: - __meta_kubernetes_namespace regex: default action: keep - source_labels: [__meta_kubernetes_service_name] target_label: job
Thank you Nana, your tutorials are awesome. I'm learning a lot from your videos. I wanted to ask if deleting service and deployment .yaml files, will delete the pods and services too?
It is really good video... I just wanna to know.. is Kube linter validates the yaml files for service and deployment as well .....????? Please reply anyone
Hello it would be great if you could make video on how to deploy API gateway application(ZULL/Spring Cloud Gateway) which acts as reverse proxy for all the micro services deployed in kubernetes cluster
thank you for the help, but my question why do I need deployment if I have services? or why do I need service if I already have deployment? do I need to apply them both in my Kubernetes cluster?
Hi, as you probably already watched (ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-qmDzcu5uY1I.html), I explain shortly about its role in k8s. However I didn't go much into detail, because you will rarely have to do anything directly with that component. Also it will soon get deprecated as I've read. In which context would you wanna know more about ReplicaSet? Maybe I can help you in that.
Thank you Nana, this is a big help for beginners to understand 🙏. One question, on K8s official documentation page, all the options of spec are not mentioned. Where to find all the attributes of spec for say deployment or service ? For Terraform or Cloudformation documents contains the all list of values.
Hi Nana, really enjoy your videos - have watched just about every single one of them! However, I still don't quite understand what the purpose of matchLabels is :/
Nana - I have a single master and single worker node cluster I deployed additional node today in cluster - 2nd worker node i stopped the 1st worker node what I noticed is the pods are getting created on 2nd worker node after significant amount of time after shutting down 1st worker node what settings do we need to put in deployment / else where, so that within few seconds of the node/pod unavailability, K8s starts deploying pods to other nodes?