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

  Рет қаралды 40,335

DevOps Coach

DevOps Coach

Күн бұрын

You can deploy Docker containers into AKS cluster by creating Azure pipelines.
www.coachdevop...
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
@mfasil6187
@mfasil6187 2 жыл бұрын
Nice video its really help alot Keep it up
@DevOpsCoach
@DevOpsCoach 2 жыл бұрын
Glad to hear that
@sirishagandla
@sirishagandla 2 жыл бұрын
great. Its a very good explanation
@DevOpsCoach
@DevOpsCoach 2 жыл бұрын
Glad you liked it
@nealpan
@nealpan Жыл бұрын
Great! Keep up the good work!!
@DevOpsCoach
@DevOpsCoach Жыл бұрын
Thank you! Will do!
@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.
@kbv3853
@kbv3853 2 жыл бұрын
Very nice. Thank you.
@DevOpsCoach
@DevOpsCoach 2 жыл бұрын
Thank you too!
@bapirajumadarapu4050
@bapirajumadarapu4050 2 жыл бұрын
wonderful videos bro thank you so much
@DevOpsCoach
@DevOpsCoach 2 жыл бұрын
Glad you like them!
@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
@shaik.abdulrehamanshaik.ab3398
@shaik.abdulrehamanshaik.ab3398 2 жыл бұрын
Excellent
@DevOpsCoach
@DevOpsCoach 2 жыл бұрын
thank you!
@isaargentina4495
@isaargentina4495 3 жыл бұрын
Excellent. Thanks.
@DevOpsCoach
@DevOpsCoach 3 жыл бұрын
You are welcome!
@ananthmaddur1200
@ananthmaddur1200 2 жыл бұрын
Superb.
@DevOpsCoach
@DevOpsCoach 2 жыл бұрын
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
@rambevara5702
@rambevara5702 2 жыл бұрын
sir wonderfull..clarity. please do the video on docker compose deployment by az devops
@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
@sunandanrawat8019
@sunandanrawat8019 3 жыл бұрын
Thank you so much
@DevOpsCoach
@DevOpsCoach 3 жыл бұрын
You're most welcome
@medarisaikiran6557
@medarisaikiran6557 8 ай бұрын
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.
@CristyXTfis
@CristyXTfis Жыл бұрын
but how you do it if you have a private aks cluster? how you create the service connection?
@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
@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
@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
@manavkumar1071
@manavkumar1071 7 ай бұрын
I am trying your code but during creation of pipeline it is showng error in build. Any idea how to mitigate that?
@DevOpsCoach
@DevOpsCoach 7 ай бұрын
what error? can you post the error message here?
@raghur5678
@raghur5678 2 жыл бұрын
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
@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
@saikumar-mh3zj
@saikumar-mh3zj Жыл бұрын
Git hub repo url
Deploy a web application to Azure Kubernetes Service (AKS) cluster
18:44
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
HELM Chart Deployment to Kubernetes using Azure DevOps CICD
22:30
Deploy Webapp on AKS cluster using Azure DevOps YAML pipeline
14:47
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 250 М.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН