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

Sdílet
Vložit
  • čas přidán 18. 01. 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
  • Věda a technologie

Komentáře • 40

  • @vk19
    @vk19 Před 8 měsíci +2

    Nice info given on k8s thank you

  • @tushank9
    @tushank9 Před rokem +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

  • @anandmani7115
    @anandmani7115 Před měsícem +1

    Good Video. Thank you

  • @nepsky
    @nepsky Před 8 měsíci

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

  • @CodeYourBrain-md3jk
    @CodeYourBrain-md3jk Před 12 dny

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

  • @ananth_eswar
    @ananth_eswar Před rokem +1

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

  • @amlandutta1770
    @amlandutta1770 Před 10 měsíci

    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  Před 10 měsíci

      Lens is IDE. You can use the kubectl commands

  • @saurabhkhodake
    @saurabhkhodake Před rokem +1

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

    • @Niravgandhi
      @Niravgandhi  Před rokem

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

  • @madhurshukla23jan
    @madhurshukla23jan Před rokem +1

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

    • @Niravgandhi
      @Niravgandhi  Před rokem

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

    • @ej2649
      @ej2649 Před 7 měsíci

      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 Před rokem

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

    • @Niravgandhi
      @Niravgandhi  Před rokem

      It depends on your interest..go for data engineering

    • @PSPK_Sep2
      @PSPK_Sep2 Před rokem

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

  • @varunsharma1889
    @varunsharma1889 Před rokem

    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 ?

  • @TheRohitprakhar
    @TheRohitprakhar Před rokem

    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?

  • @vijenderbishnoi3062
    @vijenderbishnoi3062 Před 7 měsíci

    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.

  • @samyaelbarmile6215
    @samyaelbarmile6215 Před 4 měsíci

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

    • @Niravgandhi
      @Niravgandhi  Před 4 měsíci

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

  • @tusharist3653
    @tusharist3653 Před 3 měsíci

    how to monitor them without lense?

  • @ej2649
    @ej2649 Před 7 měsíci

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

    • @Niravgandhi
      @Niravgandhi  Před 7 měsíci

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

  • @qtangb
    @qtangb Před 15 dny

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

    • @Niravgandhi
      @Niravgandhi  Před 15 dny

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