How to deploy application to Azure Kubernetes | Azure Kubernetes tutorial for beginners | AKS
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
Nice info given on k8s thank you
Any time!
🎯 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
Thanks
Good Video. Thank you
Thank you too!
Hi Nirav, thanks for sharing the demo.
May I know what app did you use to record the screen?
Filmora
how to create new folder and copy the yaml files to new folder?
Nice video. What was the tool you used to visualize kubernetes deployments?
Thanks, Lens
Lens
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 ?
Lens is IDE. You can use the kubectl commands
After deploying the app to Kubernetes why is the url still localhost? Are you deploying to Azure Kubernetes or Docker kubernetes?
I did the port forward to check my website. that's why it's localhost.
Hello
at 4.27 you mentioned copied all yml files. What was target location and Steps please
you can decide your target location. not fix, i have copied in demoapplication folder /home/
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"
Hi
It's confusing
Which I choose
Azure SQL DBA or ETL developer ?
Which is easy?
Non tech background
It depends on your interest..go for data engineering
@@Niravgandhi you mean azure SQL DBA no scope and it's hard to learn?
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 ?
Let me check and confirm
did you get an answer for this ?@@Niravgandhi
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?
Yes. You can configure it manually or while creating aks..
@@Niravgandhi thanks.
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.
Try with east us
pleaaaaaaaaaaaaaase helpe i need to know how to connect lens with Azure Kubernetes ?
it will automatically detect the config file from your machine. Or go to lens settings and configure the kube config file.
how to monitor them without lense?
Prometheus and gafana
how to copy the yaml files to ubuntu folder? you did not tell it. 😒
Please verify if you can locate the Linux folder under the 'THIS PC' section in Windows.
The subject doesn`t seem to be related, you haven`t deployed it to AKS yet. This is demo for docker-compose
Please watch the previous video..it is a continuation video