Azure DevOps Pipeline for Container Deployment to AKS Cluster | Deploy Docker images to AKS Cluster

  Рет қаралды 36,974

DevOps Coach

DevOps Coach

2 жыл бұрын

You can deploy Docker containers into AKS cluster by creating Azure pipelines.
www.coachdevops.com/2021/09/h...
Look below for the steps:
1. AKS cluster needs to be up running. You can create AKS cluster using one of the below options:
Create AKS cluster in Azure portal directly
Create AKS cluster using Azure CLI
Create AKS cluster using Terraform
2. ACR is also setup in Azure cloud.
3. Already created Azure DevOps dashboard in
dev.azure.com/
4. Dockerfile created along with the application source code
5. Make sure AKS has pull access from ACR

Пікірлер: 51
@datawise3929
@datawise3929 2 жыл бұрын
Thank you so much sir😊, super content and explanation on both youtube and on website.
@DevOpsCoach
@DevOpsCoach 2 жыл бұрын
Glad you liked it
@nealpan
@nealpan 10 ай бұрын
Great! Keep up the good work!!
@DevOpsCoach
@DevOpsCoach 10 ай бұрын
Thank you! Will do!
@sirishagandla
@sirishagandla Жыл бұрын
great. Its a very good explanation
@DevOpsCoach
@DevOpsCoach Жыл бұрын
Glad you liked it
@mfasil6187
@mfasil6187 Жыл бұрын
Nice video its really help alot Keep it up
@DevOpsCoach
@DevOpsCoach Жыл бұрын
Glad to hear that
@bapirajumadarapu4050
@bapirajumadarapu4050 Жыл бұрын
wonderful videos bro thank you so much
@DevOpsCoach
@DevOpsCoach Жыл бұрын
Glad you like them!
@isaargentina4495
@isaargentina4495 2 жыл бұрын
Excellent. Thanks.
@DevOpsCoach
@DevOpsCoach 2 жыл бұрын
You are welcome!
@kbv3853
@kbv3853 Жыл бұрын
Very nice. Thank you.
@DevOpsCoach
@DevOpsCoach Жыл бұрын
Thank you too!
@mahuapal6691
@mahuapal6691 2 жыл бұрын
build and deploy in CI/CD is working fine, but in ACR-> Repository I am unable to see the container name which I am passing from azure-aks.yml file, from where do we need to pass the name which gets created in ACR which help
@rambevara5702
@rambevara5702 Жыл бұрын
sir wonderfull..clarity. please do the video on docker compose deployment by az devops
@callsfromthebeyond6237
@callsfromthebeyond6237 2 жыл бұрын
Awesome video! this really helped. Can we get more of these videos in the future, but using YAML instead of the classic editor? Thanks!
@DevOpsCoach
@DevOpsCoach 2 жыл бұрын
Yes of course! Will be publishing soon in our channel.
@sunandanrawat8019
@sunandanrawat8019 2 жыл бұрын
Thank you so much
@DevOpsCoach
@DevOpsCoach 2 жыл бұрын
You're most welcome
@shaik.abdulrehamanshaik.ab3398
@shaik.abdulrehamanshaik.ab3398 Жыл бұрын
Excellent
@DevOpsCoach
@DevOpsCoach Жыл бұрын
thank you!
@ananthmaddur1200
@ananthmaddur1200 Жыл бұрын
Superb.
@DevOpsCoach
@DevOpsCoach Жыл бұрын
Thanks a lot
@harikakiran18
@harikakiran18 Жыл бұрын
Great explanation, learnt a lot from this video! thanks for sharing. One quick question if possible to answer, assume the pods are already created and now I want to update the pods with latest code, is it possible only code to these pods without having to create the image again and again during build process? Or are there any kubectl commands available to directly push the code to the pods without having to have images?
@DevOpsCoach
@DevOpsCoach Жыл бұрын
You need to re-build your image with new tag
@CristyXTfis
@CristyXTfis Жыл бұрын
but how you do it if you have a private aks cluster? how you create the service connection?
@medarisaikiran6557
@medarisaikiran6557 2 ай бұрын
If the cluster is private, is it possible to deploy the aks cluster with devops? We unable to select namespace when we select private cluster.
@raghur5678
@raghur5678 Жыл бұрын
hi thanks for the video.. I have a question in the Kubernetes manifest file i want to use the Latest Image tag version from the ACR everytime i run the Deployment manifest file. how can i achieve this?
@PAWANKUMAR-kj8xr
@PAWANKUMAR-kj8xr Жыл бұрын
Hi did you resolved this issue
@varickjohnson4335
@varickjohnson4335 2 жыл бұрын
Hi bro I tried deployment succeed but pods not pulling the image from acr in azure invalid image error found I followed the same yaml code u used i changed the image name alone ,how to fix this error?
@DevOpsCoach
@DevOpsCoach 2 жыл бұрын
Review the steps again. you need to make sure you are using the right image to pull from ACR
@arnavranjan5606
@arnavranjan5606 Жыл бұрын
just getting an image pull error, anyone has a solution to that? or is the docker file invalid? If there is anything that can be done please let me know
@DevOpsCoach
@DevOpsCoach Жыл бұрын
check the image name in your yaml file
@manavkumar1071
@manavkumar1071 26 күн бұрын
I am trying your code but during creation of pipeline it is showng error in build. Any idea how to mitigate that?
@DevOpsCoach
@DevOpsCoach 20 күн бұрын
what error? can you post the error message here?
@ItsmeRajivS
@ItsmeRajivS Жыл бұрын
what about using yaml instead of classic editor.. all will suggest yaml only not classic right
@DevOpsCoach
@DevOpsCoach Жыл бұрын
Yes, I also have video using YAML as well
@ItsmeRajivS
@ItsmeRajivS Жыл бұрын
@@DevOpsCoach please share the link
@ItsmeRajivS
@ItsmeRajivS Жыл бұрын
please share the video link bro.. i want to check that
@harinathreddy5365
@harinathreddy5365 Жыл бұрын
Hi Sir, I have 2 doubts. We didn't mention acr repository name, then how the acr has taken its own repository name ? *Is it happens because of cloning the repositoy from github. Because, The repository name is similar to the github username and repository name. *We can also create our own acr repo name and can make changes in yaml file. ----> Am i correct sir ?
@DevOpsCoach
@DevOpsCoach Жыл бұрын
Yes, that’s right. You can modify Yaml based on acr and image names
@harinathreddy5365
@harinathreddy5365 Жыл бұрын
@@DevOpsCoach Thank you sir♥ for your valuable information
@muralimohanreddysykam9642
@muralimohanreddysykam9642 2 жыл бұрын
I'm getting this error please help on that sir ##[error]The process 'C:\Program Files\Docker\docker.exe' failed with exit code 1
@DevOpsCoach
@DevOpsCoach 2 жыл бұрын
did you install docker ? where are you building?
@DevOpsCoach
@DevOpsCoach 2 жыл бұрын
@@ballaprasannakumar6470 did you install kubectl on your machine?
@DevOpsCoach
@DevOpsCoach 2 жыл бұрын
Please browse through my channel. I have two videos on creating AKS cluster. kzbin.info/www/bejne/kJXGo6loaLybjac
@DevOpsCoach
@DevOpsCoach 2 жыл бұрын
@@ballaprasannakumar6470 yes
@DevOpsCoach
@DevOpsCoach 2 жыл бұрын
@@ballaprasannakumar6470 check my videos
@saikumar-mh3zj
@saikumar-mh3zj 10 ай бұрын
Git hub repo url
Microservices Deployment to Azure Kubernetes Services (AKS)
47:12
Does size matter? BEACH EDITION
00:32
Mini Katana
Рет қаралды 20 МЛН
100❤️
00:19
MY💝No War🤝
Рет қаралды 23 МЛН
Gym belt !! 😂😂  @kauermtt
00:10
Tibo InShape
Рет қаралды 10 МЛН
Cool Items! New Gadgets, Smart Appliances 🌟 By 123 GO! House
00:18
123 GO! HOUSE
Рет қаралды 17 МЛН
HELM Chart Deployment to Kubernetes using Azure DevOps CICD
22:30
Deploy a web application to Azure Kubernetes Service (AKS) cluster
18:44
100+ Docker Concepts you Need to Know
8:28
Fireship
Рет қаралды 871 М.
Terraform with Azure Kubernetes Service
27:56
That DevOps Guy
Рет қаралды 23 М.
Helm Chart Deployment to Azure Kubernetes Service AKS
31:12
Mohamed Radwan - DevOps
Рет қаралды 26 М.
Mobile Wheel Polisher ##❗️❗️
0:19
ToolBox Talk 20
Рет қаралды 8 МЛН