Raghav Dua
Raghav Dua
  • Видео 35
  • Просмотров 77 600
Troubleshooting Kubernetes using AI | CrashloopBackoff, Node Affinity, Taints & Tolerations
Check out HolmesGPT 👉 github.com/robusta-dev/holmesgpt
Learn how to troubleshoot commonly occurring errors in Kubernetes:
- CrashLoopBackoff
- ImagePullBackoff & ErrImagePull
- Node selector, Node affinity & anti-affinity
- Taints and Tolerations
The most likely reasons your Pods are failing!
I will teach you the concepts behind these errors, why they occur and then show you how to debug them 10X faster with the help of AI.
Watch my complete Kubernetes Zero to Hero Series for FREE 👉 ruclips.net/p/PLRe2b2lXY6rzkHPM0dYgQWROvOq58epsn
TIMESTAMPS ⏰
================================
00:00 Intro
01:02 ErrImagePull & ImagePullBackoff
04:33 HolmesGPT
13:01 Node Selector, Affinity, Taints & Tolerations
26:48 Crash...
Просмотров: 793

Видео

Forward Proxy vs Reverse Proxy | Differences explained with examples
Просмотров 61521 день назад
Learn what are Network proxies and what are the differences between forward and reverse proxy. In this video, I'll give you a concept overview and also explain when to use which. We'll also discuss some examples of each of the proxies. As a DevOps engineer, you will definitely work with both of them at some point in your career. As a person, you use them in your daily life without even knowing!...
COMPLETE DevOps Roadmap 2024: How I would learn DevOps if I could start over
Просмотров 2,3 тыс.28 дней назад
Learn how to become a DevOps Engineer in 2024! In this video, I will show you the complete roadmap on how to become a world-class DevOps engineer. I'll discuss the technical and non-technical aspects that you need to learn to become successful in this industry. Roadmap graphic is available at 👉 github.com/duaraghav8/complete-devops-roadmap/ My FREE course on Docker 👉 ruclips.net/video/BOLU6JsfD...
Unix Cron format explained with examples // All about cron expressions
Просмотров 289Месяц назад
Learn how to read and write unix CRON expressions with examples Every automation system in the world relies on Cron expressions to set the exact schedule for Job runs. In this video, I'll explain the cron format and show you plenty of complex examples which will help you understand how to write cron expressions for automation. TIMESTAMPS ⏰ 00:00 Intro 00:41 CRON expression structure explained 0...
The story of how I built my first successful open source project
Просмотров 441Месяц назад
Today I want to share with you guys the first "success" story of my life as an engineer. How I built an Open Source tool that went on to become wildly popular in the blockchain community and was used by 2000 projects developed by open source enthusiasts and enterprises. And yes, I made some $$ doing it too 😎 👉 REFERENCES 1. Ethlint (my project) github.com/duaraghav8/ethlint 2. Solidity programm...
Using local docker images in Minikube
Просмотров 528Месяц назад
Learn how to force minikube to use Docker images from your local machine. To run your applications in Minikube, you have to publish your containers to a remote registry and the configure Minikube to be able to pull it upon every deployment. This leads to a much longer cycle where even the smallest code change needs to be published to the registry before you can test it on Minikube. But there's ...
3 ways to reduce the size of your docker images
Просмотров 20 тыс.Месяц назад
Learn the 3 most powerful ways to reduce the size of your Docker images. If you're reading this, chances are you have felt the pain of massively bloated Docker images which take up several GBs worth of space on disk and over Network bandwidth. They slow down deployments, increase costs and make the whole development process much slower and frustrating! In this video, I'll discuss powerful image...
Develop applications faster with Kubernetes and mirrord
Просмотров 5832 месяца назад
Try out mirrord 🔗 mirrord.dev/ Developing & Testing your applications on Kubernetes can quickly get slow and painful. You have to keep pushing your changes to git, pass them through CI/CD so they can land into a shared test environment. It may be broken or occupied so even the smallest of code changes take the longest of time to test. In this video, I will show you a better workflow in which yo...
The RIGHT way to ask strangers for a Job Referral
Просмотров 6793 месяца назад
Messaging people for a Job referral ≠ Casually texting your friends Sometimes, when you approach a stranger on platforms like Linkedin for a Job referral, you don't pay attention to what you're writing. Often, your message will come across as rude or unprofessional, which is the reason most people ignore your request or worse, just remove you from their connections. Write better messages, leave...
MLOps and the Future of AI
Просмотров 8844 месяца назад
Welcome to the 6th episode of SRE101 - A Podcast where I bring the brightest minds in the world of DevOps & Reliability to share their insights with you! Kashif is a Sr. Staff Software Engineer focusing on AI Infrastructure at Meta. In today’s Episode, we discuss the Infrastructure that powers the next generation of AI Models, trends in MLOps and how we can adapt to a world that will be dominat...
Day 5 | Monitoring Kubernetes Applications
Просмотров 3,2 тыс.4 месяца назад
Try Application Performance Monitoring with Site24x7 www.site24x7.com/kubernetes-monitoring.html#RaghavDua&RUclips&K8sapp Learn how to monitor your Kubernetes applications in production Understand the concept of Application Performance monitoring, the 4 golden signals that one must absolutely monitor and the basics of alerting on the right things. TIMESTAMPS ⏰ 01:05 Topics Covered 01:56 Sample ...
Day 4 | Deploy your first application to Kubernetes
Просмотров 3 тыс.6 месяцев назад
Learn how to deploy your very first Application to Kubernetes! Understand how Deployments, ReplicaSets & Services work in Kubernetes. Deploy your first Pod, scale out your application, roll out updates to it, explore objects using Kubectl and K8s Dashboard UI and finally learn how to properly delete your app from Kubernetes. TIMESTAMPS ⏰ 00:00 Intro 00:45 Code walk-through 03:39 Prepare the Con...
Day 3 | Install Kubernetes on your Laptop using Minikube
Просмотров 1,1 тыс.6 месяцев назад
Learn how to setup a local development environment for Kubernetes using Minikube Understand how to install and run Minikube, how it works under the hood, how to run and manage Kubernetes clusters using it and how to get all the information you need about your clusters using Minikube. TIMESTAMPS ⏰ 00:00 Intro 01:58 Install & Run 02:36 Internals 04:21 Usage 07:22 Drivers 👉 REFERENCES 1. Kubernete...
Day 2 | Kubernetes Architecture explained
Просмотров 5 тыс.7 месяцев назад
Learn the Architecture and main components of a Kubernetes Cluster Understand how Kubernetes operates at large scale, how it is deployed, how the different components interact with each other to run your containerized applications and finally how a request flows through the system. TIMESTAMPS ⏰ 00:00 Intro 00:39 What is a Cluster? 00:55 Node & Control Plane 01:58 Inside a Worker node 03:53 Insi...
Day 1 | Introduction to Kubernetes
Просмотров 4,1 тыс.7 месяцев назад
Learn what is Kubernetes. Understand the problem of Container orchestration, how Kubernetes solves it and whether you should adopt Kubernetes or not. TIMESTAMPS ⏰ 00:00 Intro 00:31 The Problem of Container Orchestration 01:48 What is Kubernetes 01:56 How Kubernetes works 02:32 Where did Kubernetes come from? 03:03 Why is Kubernetes a big deal? 03:33 Do I need Kubernetes? 05:04 Use cases 05:27 W...
Lesson 8 | Docker Networking explained
Просмотров 1,3 тыс.8 месяцев назад
Lesson 8 | Docker Networking explained
Lesson 7 | Storage in Docker using Volumes
Просмотров 5939 месяцев назад
Lesson 7 | Storage in Docker using Volumes
Lesson 6 | Docker vs Kubernetes - Key Differences and Use Cases
Просмотров 6589 месяцев назад
Lesson 6 | Docker vs Kubernetes - Key Differences and Use Cases
Lesson 5 | Complete Docker Tutorial | How to use Docker
Просмотров 3,3 тыс.10 месяцев назад
Lesson 5 | Complete Docker Tutorial | How to use Docker
Lesson 4 | How to Install Docker on Ubuntu and Windows 11
Просмотров 1,3 тыс.10 месяцев назад
Lesson 4 | How to Install Docker on Ubuntu and Windows 11
Lesson 3 | Docker Architecture - How docker works
Просмотров 1,3 тыс.11 месяцев назад
Lesson 3 | Docker Architecture - How docker works
Lesson 2 | Container vs Virtual Machine: What's the difference?
Просмотров 1,1 тыс.11 месяцев назад
Lesson 2 | Container vs Virtual Machine: What's the difference?
DORA Metrics, DevOps Productivity & Micromanagement
Просмотров 63211 месяцев назад
DORA Metrics, DevOps Productivity & Micromanagement
Lesson 1 | What is Docker?
Просмотров 2,9 тыс.Год назад
Lesson 1 | What is Docker?
How to reduce Docker Image size using Multistage build
Просмотров 3,4 тыс.Год назад
How to reduce Docker Image size using Multistage build
Kubernetes anti-patterns with Suman Chakraborty
Просмотров 642Год назад
Kubernetes anti-patterns with Suman Chakraborty
Learning about Observability with Pranay Prateek
Просмотров 781Год назад
Learning about Observability with Pranay Prateek
Reliability in Web3 with Karthik Kalyanaraman
Просмотров 209Год назад
Reliability in Web3 with Karthik Kalyanaraman
Kubernetes Package Management using Helm
Просмотров 1 тыс.Год назад
Kubernetes Package Management using Helm
Deploy a production Database in Kubernetes
Просмотров 9 тыс.Год назад
Deploy a production Database in Kubernetes

Комментарии

  • @fghvbbde6683
    @fghvbbde6683 10 часов назад

    Hi Raghav can we have such more real world work and problems, as Internet is full of theoretical videos but practical and actual real work are very less, would love to see these kind of videos which will help more in interviews

  • @devangsanghani6765
    @devangsanghani6765 День назад

    Very well explained. Thanks

  • @nikhilmadaan29
    @nikhilmadaan29 2 дня назад

    Hey man, Great content. To the point We are from the same batch .. UPES '18. Cheers!!👍

    • @sre101
      @sre101 2 дня назад

      Thanks Nikhil! Yeah I've met (or at least seen) you in UPES because I remember your face :) Cheers!

  • @atiqbepari7155
    @atiqbepari7155 4 дня назад

    i need to have high availability and auto failover for master. What needs to be done here?

  • @suhasadduri1691
    @suhasadduri1691 5 дней назад

    You are Best Raghav !!

    • @sre101
      @sre101 5 дней назад

      Thank you Suhas!

  • @BeingNormal-x8v
    @BeingNormal-x8v 5 дней назад

    Hi Iam unable to use a python(pytest) based script using python-alpine image , any idea

  • @rankmirror
    @rankmirror 6 дней назад

    Brother please upload more videos like this in linux playlist. Awsome video. 🙌

  • @Devops_learner_K8s
    @Devops_learner_K8s 6 дней назад

    Great Content.👍

  • @samsulhaque8064
    @samsulhaque8064 7 дней назад

    nice explanation,, lets say i have 5 worker node and my writer pod scheduled at worker 3 with persistence volume dynamically ,, if that worker node goes down what will happen ..

  • @sre101
    @sre101 9 дней назад

    Hope you guys found the video useful! What are the top pain points when you're running applications in Kubernetes? I've dealt with quite a few myself and am thinking of making a Part 2 of this video

    • @nitinkushwah346
      @nitinkushwah346 8 дней назад

      I really liked video, would love to see more of such troubleshooting videos.

    • @sre101
      @sre101 8 дней назад

      @@nitinkushwah346 Thanks Nitin!

  • @sidharthshukla447
    @sidharthshukla447 12 дней назад

    thanx

  • @huseyinnas6992
    @huseyinnas6992 12 дней назад

    Hi raghav, thanks for sharing your experince

    • @sre101
      @sre101 8 дней назад

      Glad you found it valuable!

  • @fahadhussain783
    @fahadhussain783 17 дней назад

    Hi all, this is the best advice and roadmap Radhav mentioned in his video. After watching hundreds of devops videos and wasting whole year, devops is not something tou learn im 2,3 months.

    • @sre101
      @sre101 8 дней назад

      Glad you found it valuable! And yes, it takes time to become good at it so hard work and patience are absolutely necessary! :)

  • @vishalsharma-nx2fq
    @vishalsharma-nx2fq 18 дней назад

    Please make video on what happens in background when u type a website or any address of a website in a browser. It will explain all concepts in detail

    • @sre101
      @sre101 8 дней назад

      Excellent suggestion! I'm thinking about the classic "What happens when you enter google.com in your browser?" Video now :)

  • @manishadhikari7387
    @manishadhikari7387 19 дней назад

    Please make the video about Api vs. Load balanace also

    • @sre101
      @sre101 18 дней назад

      great point, I'll look into it!

  • @girupashankari4375
    @girupashankari4375 19 дней назад

    Good learnings, thanks for the wonderful video 😊

    • @sre101
      @sre101 19 дней назад

      🙌

  • @Neelesh_C
    @Neelesh_C 21 день назад

    all in one . summerized to the pin point. Marvelous !!!

    • @sre101
      @sre101 21 день назад

      🙌

  • @Bhavishya_est
    @Bhavishya_est 22 дня назад

    I am a second year student , should I start directly with devops or should I explore full stack development and then move on to devops directly ? genuine question ..

    • @sre101
      @sre101 22 дня назад

      Don't go into devops directly, you need web development experience. So I'd say go for fullstack development first and get some good experience in it (internships, 1-2 years job experience). I personally only did backend engineering before moving into devops and it worked out really well for me, so IMO fullstack is not mandatory but backend definitely is.

    • @Bhavishya_est
      @Bhavishya_est 22 дня назад

      @@sre101 Thanks for replying , noted

  • @okexporer
    @okexporer 22 дня назад

    Deleting resources without going through CAB, that's why organizations need good project managers 😊

    • @sre101
      @sre101 22 дня назад

      aha yes

  • @shaikhrahil6880
    @shaikhrahil6880 22 дня назад

    Simple and clear, thanks Raghav

    • @sre101
      @sre101 22 дня назад

      glad you liked it!

  • @BinPham-x1k
    @BinPham-x1k 24 дня назад

    i did exactly the steps like you did, but i don’t get the image inside the minikube vm. Can you tell me what can be the possible reasons for this ?

    • @sre101
      @sre101 24 дня назад

      check the output of "minikube docker-env" command. It should show you a bunch of environment variables. Then set them Also this strategy works for single-node cluster, for multinode, you need a driver (I've mentioned it in the video). Hope this helps!

  • @abhinavjain8672
    @abhinavjain8672 24 дня назад

    This covers almost everything which I am going through as a fresher in the SRE space right now and my journey through this, The biggest emphasis I would put on is NETWORKING as I have found it to be the most crucial stuff that freshers can miss out on.

  • @BapuGariBomma
    @BapuGariBomma 27 дней назад

    Thanks man you are the real saver , a true hero ❤

    • @sre101
      @sre101 27 дней назад

      wow Thank you for your kind words!

  • @sre101
    @sre101 27 дней назад

    I got some great feedback on this video, thank you guys! Here are some of the popular DevOps tools which are worth learning IMO and in high demand. 1. Programming languages - Python, Bash scripting, Golang 2. Infra as code: Terraform, Ansible 3. CI/CD: Jenkins, Argo 4. Containers: Docker, Kubernetes 5. Databases: MySQL/PostgreSQL, MongoDB 6. Observability: Garafana, Prometheus, Loki OR the ELK stack 7. AI: ChatGPT, Google Gemini 8. Cloud: AWS 9. Streaming/Async communication: Apache Kafka, RabbitMQ 10. Code & Version control: Git, Github 11. Load balanacer: Nginx 12: Security & Encryption: Vault 13. Service Mesh: Istio, Envoy

  • @raja6848
    @raja6848 27 дней назад

    Hi Rahul, Your roadmap is seriously impressive - so detailed and comprehensive! As a DevOps Engineer with just 2 years under my belt, I've realized that system design isn't something you can learn overnight. It takes hands-on experience with different projects, and I've been lucky to have had some great opportunities so far. I started with a 2-month internship where I learned the fundamentals, then moved on to working with blockchain languages like Solidity, which taught me how to design systems for various applications. Now, I'm at my third organization - a startup, which is a whole new ball game! - where I'm responsible for designing systems for chatbots that incorporate AI and ML. It's a challenge, but I'm enjoying the freedom of being the only DevOps person here (although it means I have to make decisions without much oversight - except when I need to check in with the CFO, that is!). Thanks for the video - it was really helpful. I know I still have a long way to go, but I'm excited to keep learning and growing.

    • @sre101
      @sre101 27 дней назад

      Wow thanks for sharing your journey, you're on the right track! I must say you've positioned yourself well - AI & ML will lead the tech industry and this is where I believe most money will be made, so great going 👏

  • @vivekteega
    @vivekteega 28 дней назад

    Thank you!

  • @gordonwho
    @gordonwho 29 дней назад

    What software did you use to make the diagrams?

    • @favehil1754
      @favehil1754 28 дней назад

      Hi, looks like Excalidraw.

    • @sre101
      @sre101 27 дней назад

      Excalidraw. I also occasionally use draw.io for flow animations

    • @sre101
      @sre101 27 дней назад

      @@favehil1754ep! I also occasionally use draw.io

  • @osama-ki_masi-ki_pota7677
    @osama-ki_masi-ki_pota7677 29 дней назад

    Also plz gives the resources

    • @sre101
      @sre101 27 дней назад

      Great suggestion, I will add some in the comments 👍

    • @osama-ki_masi-ki_pota7677
      @osama-ki_masi-ki_pota7677 27 дней назад

      But sir i have seen in many raodmaps about tools and stacks to learn in devops where will you start learning all these i mean after your roadmaps fundamentals about computer system??

    • @sre101
      @sre101 27 дней назад

      @@osama-ki_masi-ki_pota7677 I think you should only learn the tools if your Job demands it. Otherwise, a good practice is: - Learn CS fundamentals - Learn DevOps fundamental - Then learn the tools and the problems they solve. I've mentioned the tools in a separate comment on this video

    • @osama-ki_masi-ki_pota7677
      @osama-ki_masi-ki_pota7677 27 дней назад

      Ok sir 🙏 already some tools and stacks learned 😀

    • @sre101
      @sre101 27 дней назад

      @@osama-ki_masi-ki_pota7677 nice! :)

  • @RavikFic
    @RavikFic 29 дней назад

    Bro you dropped a bomb! to the Tech influencers who sell their courses with tag ''any one can become Devops' and the people who jump into this Ocean believing that they can become devops in 3 months. After watching this 90% of Non-IT people will drop the plan to learn Devops and 60% of IT people will look into their respective fields. Why? because its the reality that you explained it deeply what is needed to start with. and Im a Non-IT guy learning Devops process. I've seen many youtubers claiming to teach devops in 3 months and selling paid courses. and the catch are Non-It guys and freshers. I've read some articles and posts online and I agree with your roadmap. Feedback: You could have mentioned some leading tool names on each topics. as we can connect to those terms.

    • @sre101
      @sre101 27 дней назад

      Thanks for your kind words! Yeah, its sad that so many people are falling for that crap and spending their money, "Learn X in 3 months" is a complete scam, it takes years of practice. The sooner people understand realty the better. But its great to see that you're on your DevOps journey and I wish you all the best! Also great suggestion, I should've mentioned tools as well. I'll still add them to the comments now.

  • @shubhampatil5935
    @shubhampatil5935 29 дней назад

    🫡

  • @avinash0072355
    @avinash0072355 29 дней назад

    Hey Raghav- Excellent Video. Thanks.

    • @sre101
      @sre101 27 дней назад

      Thank you Avinash!

  • @snsbdccRJccb-yk3yw
    @snsbdccRJccb-yk3yw 29 дней назад

    Your videos are super interesting, please make a detailed hand on video about Observabality /monitoring an existing application . I'm watching for that kind of video from you.... Like logging metrics and monitoring kind of things❤❤❤

    • @sre101
      @sre101 27 дней назад

      Thanks, great suggestion! I have 1 video on monitoring K8s applications (ruclips.net/video/XK7CJlOLuic/видео.html) but it only focuses on metrics. Planning more videos on observability though

  • @erangrimberg
    @erangrimberg 29 дней назад

    Super 🎉🎉

  • @azeemlogonkibatein6779
    @azeemlogonkibatein6779 29 дней назад

    Finally someone give best road map. Really appreciated. You’re true gem ❤

    • @sre101
      @sre101 27 дней назад

      Thank you very much 🙌

  • @masudhan308
    @masudhan308 29 дней назад

    Wow this is real! I saw most of the youtuber's roadmap doesn't fit in real world.. This is perfect man!! Are you planning to create videos on top of this roadmap?

    • @sre101
      @sre101 27 дней назад

      Thanks! Yes, that was my goal with this video - to capture what it actually takes rather than showing something unrealistic. Yup! I already have playlists on Docker & Kubernetes. What else would you like to see first?

    • @masudhan308
      @masudhan308 27 дней назад

      @@sre101 I would like to explore more on Networking, Monitoring, Observability, DSA and MLOps

  • @akhileshchoure9330
    @akhileshchoure9330 Месяц назад

    Raghav, such a quality content this is. Thank you

    • @sre101
      @sre101 27 дней назад

      Thanks a lot Akhilesh!

  • @ravikiran03
    @ravikiran03 Месяц назад

    This is a unique roadmap Unlike other channels telling to learn git, git hub Jenkins (while they are also part of DevOps) the core of this devops engineer role is this Now I know how important it is to Understand system design and databases Thanks for the video and suggestions Looking forward to be a RUclipsr in future😅

    • @sre101
      @sre101 27 дней назад

      haha! Thanks a lot for your kind words!

  • @sre101
    @sre101 Месяц назад

    Hey guys 👋I hope this video provides you the guidance you're looking for! Feel free to drop any questions you have here in the comment box and I'd be happy to answer.

  • @M48soup
    @M48soup Месяц назад

    Insightful, I received a follow up message saying they won’t write one until they know me better. I understand but that will change the way I see them in the future.

    • @sre101
      @sre101 27 дней назад

      That's good. I encourage you to reach out to a few more, I always get a few people who are happy to refer me. And once I get a referral in my target company - well that's all that matters! :)

  • @iamsmitthakkar
    @iamsmitthakkar Месяц назад

    0 12 * * 1,3,5 - Every Mon, Wed and Fri at 12:00 pm 0 18 15-20 * * - Every 15th to 20th day of every month at 6:00 pm */5 9-17 * * 1-5 - Every 5 mins (starting at 0) from 9 am to 5 pm on weekday(Monday-Friday)

    • @sre101
      @sre101 Месяц назад

      @@iamsmitthakkar that’s correct!

  • @iamsmitthakkar
    @iamsmitthakkar Месяц назад

    It should only run once

  • @sre101
    @sre101 Месяц назад

    Here are the cron expressions I want you to solve! "0 12 * * 1,3,5" "0 18 15-20 * *" "*/5 9-17 * * 1-5" Comment your answers below 👇 Feel free to share any feedback you have for me or if there's anything specific you'd like to learn.

    • @anil-kumar75
      @anil-kumar75 Месяц назад

      1. Runs at 12 PM on Evry Monday, Wednesday and Friday 2. Runs at 6 PM on 15-20 of every month 3. Runs on Weekdays from 9AM to 5PM every 5 minutes

    • @sre101
      @sre101 Месяц назад

      @@anil-kumar75 👏

  • @kanishkar3148
    @kanishkar3148 Месяц назад

    Valuable 10 mins ❤️❤️💟 Quick question ! So we have lots of master node and worker node I understand if we have 100 worker node , in all 100 worker nodes we have all 3 components ( kubelet, kubeproxy ,container run time ) but my question if we have 10 master node in all 10 master nodes do we have ( api server , etcd , scheduler , CM , CCM ) , !?

    • @sre101
      @sre101 Месяц назад

      Thank you! And great question. The answer is no - all of these components need not be on all the master nodes. In fact, each of these components is designed to be independently scalable. If you look at the K8s installation page (kubernetes.io/releases/download/), each of these components is available as a separate binary/docker image. So you can deploy them on the same set of servers or their own servers - however you like. Pratically, in large production clusters, each component is deployed on its own dedicated server cluster to handle the load. eg- the apiserver can be deployed on 5 nodes and etcd can be deployed on 2 totally different nodes. This way, they're independently scalable

    • @kanishkar3148
      @kanishkar3148 Месяц назад

      @@sre101 Thanks Man ! and follow up question if I have installed api server on 3 individual nodes, which one it takes the cmd ( kubectl apply or any other cmd ) or if I have etcd in 3 nodes my api will send the details to all 3 independent etcd installed nodes !!!?

    • @sre101
      @sre101 Месяц назад

      @@kanishkar3148 One way is to put the api servers behind a load balancer and use the load balancer URL, it will distribute the requests. If your kubectl is already connected to a cluster, check your .kube/clusters file, you'll probably see the ip/url of the api server.

    • @kanishkar3148
      @kanishkar3148 Месяц назад

      @@sre101 yeah okay , Thanks Man !!

  • @dkr1998
    @dkr1998 Месяц назад

    Liked the clarity of explanation.

  • @rusliabdulgani9920
    @rusliabdulgani9920 Месяц назад

    how about node js? what we all know, node js is interpreter language, than means we still need all node modules, different from golang, we can remove all pre build file, cause we just need executable file

    • @sre101
      @sre101 Месяц назад

      You're right, size becomes a much bigger challenge in case of interpreted languages. Then we need to explore other techniques such as compression or, if possible, compile the application into an executable (eg- py2exe does this for python programs). I'm actually trying to research more ways to reduce the size for interpeted languages.

  • @gangadharmatta131
    @gangadharmatta131 Месяц назад

    Which tool do you use for creating these flow diagrams ??

    • @sre101
      @sre101 Месяц назад

      this one is with excalidraw. I also use draw.io a lot and sometimes Canva

  • @sanjaydns
    @sanjaydns Месяц назад

    It's work well for compile languages like go lang, java, but what about nodejs ? Alpine also having its own limitations for http protocol which is dependent upon c++ package less performance

    • @Forseti2
      @Forseti2 Месяц назад

      Exactly my thoughts - I'm working with python, but it's the same (interpreted language - you need all that code and the complete python environment including dependencies)

    • @sre101
      @sre101 Месяц назад

      You're right, size becomes a much bigger challenge in case of interpreted languages. Then we need to explore other techniques such as compression or, if possible, compile the application into an executable (eg- py2exe does this for python programs). I'm actually trying to research more ways to reduce the size for interpeted languages.

  • @relaxspacee
    @relaxspacee Месяц назад

    How it should work with runtime dependency

    • @sre101
      @sre101 Месяц назад

      If your runtime dependency is a binary file (eg- DLLs in windows), you can simply include that in the image as well. If you're talking about interpreted languages, then sadly we do need to include their dependencies in the image, which bloats the size.

  • @vasudevmenon2496
    @vasudevmenon2496 Месяц назад

    apt-get is the legacy way. Just using apt update and upgrade will fetch latest repo metadata and upgrades. You can use docker init to create multistage and multilayer builds with caching. Another alternative is to use distroless images from Google container or passenger if you want very minimal Ubuntu base image of 8MB.

    • @sre101
      @sre101 Месяц назад

      Agreed. I almost always prefer using Distroless over scratch - its very little overhead

  • @luismex5575
    @luismex5575 Месяц назад

    How it would be for a Django project or Fastapi project?

    • @sre101
      @sre101 Месяц назад

      The problem with interpreted languages is that you need to include all their dependencies. Multistage & scratch method are more effective with compiled languages. So probably compression strategies work better when working with Python