How to deploy application to Azure Kubernetes | Azure Kubernetes tutorial for beginners | AKS

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ม.ค. 2023
  • Hello everyone, in this video I will show you how to deploy applications to Azure Kubernetes.
    To deploy an application to Azure Kubernetes, you will need to complete the following steps:
    Create a Kubernetes cluster in Azure using the Azure Kubernetes Service (AKS).
    Package your application into a container using a tool like Docker.
    Push the container image to a container registry, such as Azure Container Registry (ACR) or Docker Hub.
    Create a Kubernetes deployment and service resource configuration file (in YAML or JSON format) to define how your application will be deployed to the cluster.
    Use the kubectl command-line tool to deploy your application to the cluster by applying the resource configuration file.
    Once deployed, you can use kubectl to monitor and manage your application in the cluster.
    "Deploying Applications to Azure Kubernetes Service (AKS) - A Step-by-Step Guide"
    "Kubernetes on Azure: How to Deploy Your Application"
    "From Code to Cluster: Deploying on Azure Kubernetes Service (AKS)"
    "Kubernetes 101: Deploying Applications on Azure"
    "Deploying to Azure Kubernetes: A Hands-On Tutorial"
    Join the group: t.me/sqlbrainbox
    Book 1:1 Call: topmate.io/nirav_gandhi
    Follow me on LinkedIn: / niravgandhisql
    #kubernetes #aks #k8s
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 40

  • @tushank9
    @tushank9 ปีที่แล้ว +4

    🎯 Key Takeaways for quick navigation:
    03:32 🐳 Kubernetes allows deploying and managing containerized applications effectively. The video shows how to deploy a sample multi-container application on Azure Kubernetes Service (AKS).
    04:21 📦 YAML files are used to define Kubernetes objects. Developers can create these files and use `kubectl create` to deploy applications into AKS.
    07:12 🚀 In real-world scenarios, developers push code to a Git repository, which triggers build pipelines to create container images. These images are stored in container registries and then deployed to Kubernetes.
    08:49 🛠️ Kubernetes provides various object types like Deployment, DaemonSet, StatefulSet, and ReplicaSet to define and manage the desired state of applications.
    10:06 🌐 Services in Kubernetes are used to expose applications externally and allow communication between different components within the cluster. Three types of services are ClusterIP, NodePort, and LoadBalancer.
    Made with HARPA AI

  • @vk19
    @vk19 8 หลายเดือนก่อน +2

    Nice info given on k8s thank you

    • @Niravgandhi
      @Niravgandhi  8 หลายเดือนก่อน

      Any time!

  • @CodeYourBrain-md3jk
    @CodeYourBrain-md3jk 16 วันที่ผ่านมา

    how to create new folder and copy the yaml files to new folder?

  • @anandmani7115
    @anandmani7115 หลายเดือนก่อน +1

    Good Video. Thank you

    • @Niravgandhi
      @Niravgandhi  หลายเดือนก่อน

      Thank you too!

  • @nepsky
    @nepsky 8 หลายเดือนก่อน

    Hi Nirav, thanks for sharing the demo.
    May I know what app did you use to record the screen?

  • @amlandutta1770
    @amlandutta1770 10 หลายเดือนก่อน

    you have deployed a docker sample app, ideally people who does not have lens application installed they won't be able to browse the application like you did, it does not have a loadbalancer external ip, it only contains nodeport, and clusterip. is there any way to expose this app to internet ?

    • @Niravgandhi
      @Niravgandhi  10 หลายเดือนก่อน

      Lens is IDE. You can use the kubectl commands

  • @ananth_eswar
    @ananth_eswar ปีที่แล้ว +1

    Nice video. What was the tool you used to visualize kubernetes deployments?

  • @saurabhkhodake
    @saurabhkhodake ปีที่แล้ว +1

    After deploying the app to Kubernetes why is the url still localhost? Are you deploying to Azure Kubernetes or Docker kubernetes?

    • @Niravgandhi
      @Niravgandhi  ปีที่แล้ว

      I did the port forward to check my website. that's why it's localhost.

  • @TheRohitprakhar
    @TheRohitprakhar ปีที่แล้ว

    This is great and helped me to understand how I can deploy my app. One query that I have - while creating AKS - the container registry gets created automatically? Or we need to create it separately and connect that to the AKS?

    • @Niravgandhi
      @Niravgandhi  ปีที่แล้ว

      Yes. You can configure it manually or while creating aks..

    • @TheRohitprakhar
      @TheRohitprakhar ปีที่แล้ว

      @@Niravgandhi thanks.

  • @varunsharma1889
    @varunsharma1889 ปีที่แล้ว

    At the end of the video, when you browse the application, the URLs are localhost. If it's deployed in AKS in Cloud how come the URL is localhost ?

    • @Niravgandhi
      @Niravgandhi  ปีที่แล้ว

      Let me check and confirm

    • @amlandutta1770
      @amlandutta1770 10 หลายเดือนก่อน

      did you get an answer for this ?@@Niravgandhi

  • @madhurshukla23jan
    @madhurshukla23jan ปีที่แล้ว +1

    Hello
    at 4.27 you mentioned copied all yml files. What was target location and Steps please

    • @Niravgandhi
      @Niravgandhi  ปีที่แล้ว

      you can decide your target location. not fix, i have copied in demoapplication folder /home/

    • @ej2649
      @ej2649 7 หลายเดือนก่อน

      I figured it out by a Google search. The ubuntu folder can be found in Windows network path "\\wsl.localhost\Ubuntu-22.04\home\\demoapplication"

  • @PSPK_Sep2
    @PSPK_Sep2 ปีที่แล้ว

    Hi
    It's confusing
    Which I choose
    Azure SQL DBA or ETL developer ?
    Which is easy?
    Non tech background

    • @Niravgandhi
      @Niravgandhi  ปีที่แล้ว

      It depends on your interest..go for data engineering

    • @PSPK_Sep2
      @PSPK_Sep2 ปีที่แล้ว

      @@Niravgandhi you mean azure SQL DBA no scope and it's hard to learn?

  • @vijenderbishnoi3062
    @vijenderbishnoi3062 7 หลายเดือนก่อน

    Operation could not be completed as it results in exceeding approved Total Regional Cores quota. Additional details - Deployment Model: Resource Manager, Location: eastasia, Current Limit: 4, Current Usage: 0, Additional Required: 6, (Minimum) New Limit Required: 6.
    I am getting this error while creating cluster on east Asia region with free trial.
    Kindly advice the further steps to fix this.

    • @Niravgandhi
      @Niravgandhi  7 หลายเดือนก่อน

      Try with east us

  • @samyaelbarmile6215
    @samyaelbarmile6215 4 หลายเดือนก่อน

    pleaaaaaaaaaaaaaase helpe i need to know how to connect lens with Azure Kubernetes ?

    • @Niravgandhi
      @Niravgandhi  4 หลายเดือนก่อน

      it will automatically detect the config file from your machine. Or go to lens settings and configure the kube config file.

  • @tusharist3653
    @tusharist3653 3 หลายเดือนก่อน

    how to monitor them without lense?

    • @Niravgandhi
      @Niravgandhi  3 หลายเดือนก่อน

      Prometheus and gafana

  • @qtangb
    @qtangb 19 วันที่ผ่านมา

    The subject doesn`t seem to be related, you haven`t deployed it to AKS yet. This is demo for docker-compose

    • @Niravgandhi
      @Niravgandhi  19 วันที่ผ่านมา

      Please watch the previous video..it is a continuation video

  • @ej2649
    @ej2649 7 หลายเดือนก่อน

    how to copy the yaml files to ubuntu folder? you did not tell it. 😒

    • @Niravgandhi
      @Niravgandhi  7 หลายเดือนก่อน

      Please verify if you can locate the Linux folder under the 'THIS PC' section in Windows.