I’m going to deploy an application to Azure Kubernetes Service (AKS) via Azure DevOps using Azure Pipelines from scratch, live!
You will learn how to set up the integration with AKS, and how to deploy everything to Kubernetes in Microsoft Azure using Azure Pipelines.
This is part of the “Build Live with Me” series of live streaming.
šEXCLUSIVE CONTENTš
Do you want to access exclusive content, live chats and Q&As, polls, and even 1:1 calls with me? Join my Patreon: https://www.patreon.com/CoderDave
š NEED HELP? š
Book a 1:1 Consultation with CoderDave: https://geni.us/cdconsult
šš»SUPPORT THE CHANNELšš»
Buy me a coffee: https://www.buymeacoffee.com/CoderDave
PayPal me donation: https://paypal.me/dabenveg
š„VIDEOS
āŗ Your Application in AKS in 5 minutes: https://youtu.be/B0bIiG_JLZc
āŗ Azure Pipelines YAML vs Classic: https://youtu.be/3cGtA__dKUc
āŗ Azure DevOps Environments for Kubernetes: https://youtu.be/qBO5-xINmSs
š¬JOIN THE COMMUNITY
āŗ Discord: https://geni.us/cddiscord
āŗ Newsletter: https://coderdave.io/newsletter
āŗ Blog: https://dev.to/n3wt0n
āŗ GitHub: https://github.com/n3wt0n
āŗ Twitter: https://twitter.com/davidebenvegnu
āŗ Facebook: https://www.facebook.com/CoderDaveYT
ā²TIMESTAMPS
TBD
šRESOURCES
Repo used in this video: https://github.com/n3wt0n/Deploy-to-AKS
Replace tokens Extension: https://marketplace.visualstudio.com/items?itemName=qetza.replacetokens
š¤PODCAST: https://geni.us/cdpodcast
āQUESTIONS?
Have a question about DevOps, Cloud, Coding, or Anything Else? Post in comments section of this video!
š“SUBSCRIBE to CoderDave here: https://www.youtube.com/CoderDave?sub_confirmation=1
_______________
šGet my MERCH: https://geni.us/cdmerch
š®TOOLS I USE
āŗ Twingate – Connect to your Private Resources SECURELY: https://geni.us/twingate
āŗ TubeBuddy – #1 YouTube channel Management tool (FREE): https://www.tubebuddy.com/CoderDave
āŗ Moosend – Free Newsletter and Automation Platform: https://geni.us/moosend
šøš„ļøGEAR AND SOFTWARE
āŗ Music – Epidemic Sound (Get 30 days free): https://epidemicsound.com/referral/zf8fl3/
āŗ Editing – Adobe Premiere Pro: https://geni.us/AdobeVideo
āŗ Gear I Use for YouTube: https://kit.co/CoderDave/gear-i-use-for-youtube
āŗ Gear I Use for Streaming: https://kit.co/CoderDave/gear-i-use-for-streaming
āŗ My Computer Setup: https://kit.co/CoderDave/main-computer-accessories
āŗ Full office setup: https://github.com/n3wt0n/work-from-home-setup
Disclaimer:
Some product links are affiliate links which means if you buy something I’ll receive a small commission at no additional cost to you.
As an Amazon Associate, I earn from qualifying purchases.
source
⨠Question of the day āØ:Any other question related to deploying to AKS from Azure DevOps that I haven't covered?
SUPPORT THE CHANNEL :
Buy me a coffee: https://www.buymeacoffee.com/CoderDave
Join my Patreon: https://www.patreon.com/CoderDave
PayPal me donation: https://paypal.me/dabenveg
Thank you Dave, very very usefull!
Thanks for the great video – a lot of knowledge gained! Quick question – this seems to be a perfect pipeline for building and pushing changes to AKS in a Dev environment, but what would be the best approach to promoting either the artifacts to a QA -> Alpha -> Live ACR and subsequently the related AKS clusters? Would the best solution be to use releases, or is there some yaml approach? FYI – watching from South-Africa š
starts at https://youtu.be/4Oa5HneTuKs?t=530
Morroco
Thanks! You're awesomeee
Thanks for the session. I would like to know how to configure tableau server on aks.
Also in minute 16:25ish. you said you will change the image from build to build and push! actually this option is available from the very beginning! instead of choosing docker build! you could've chosen Docker build and push! so people don't get confuse.
You didn't specify how to create a service connection to private AKS! you in minute 12:50 you say you can switch between these to create kubernetes service connection! Actually using subscription service connection to private aks don't work! as devops a public service and AKS is private! the only way worked for me is using kubeconfig!
From india
You rock!
Replace token is depreciated and substituted with file transform task. how can I use this task to replace image tag?
Thanks …..
my external ip is in pending state for the service
Great!
I have a question. If as a member of a team (in a company) I create service connections and environments with my personal work account but in 3 months i leave the company, would the pipelines still work?
Thanks a lot for this video! This setup seems to be great for dev environment when you always want to publish the latest changes after every commit. How can one control publishing to production environment? I wouldn't want to publish to my production environment event time a commit happens on my branch. Thank you in advance for your feedback!
Hey Dave, your pipeline worked for me just after adding 'imagePullSecrets: $(acrsecret)' to the deploy, do you have any idea why it worked for you without this ?
Really appreciate your effort. Cool demo
Brilliant – Nice Share!
Hi Dave,
Thank you for sharing this video but i am facing following issue.
##[error]No manifest file(s) matching /home/vsts/work/1/manifests/deployment.yml /home/vsts/work/1/manifests/service.yml was found.
please let me know what i am missing ?
Hi Dave, i'm new to devops and was was wondering how do i start my devops journey. Please which certifications do i start off with and probably any colleges that can provide the training. Thanks!
I just want to say thank you! You have simplified this whole process for me and I have been struggling to get a simple solution into AKS so again THANK YOU!!!!!!
Can you use serviceprincipal instead of create secret at 28:24(video)
Thanks for such a nice session Dave, Your all videos are excellent. I have one doubt here, why don't you use Helm Charts? In fact, we can publish/post the helm charts to ACR along with the image. And later in CD pipeline, we can use them. This way we have full control via versions of both app and docker image.
Also can we use the self hosted containers for our agents ? Any tips to share, please. Thanks again for this brilliant video.
Hi, this is really good information.
I want to create a CD pipeline for image deployment in private cluster. Images are available in the ACR.
I have a quick question, will it work in private cloud as well? How will service connection works with private cluster and ACR.?
Excellent session
Hey Dave, Thanks for this video. It's really helpful.
I need a small clarification around Namespaces in K8s.
Can you provide an example where Namespaces are:
1. Important in the cluster?
2. Real-world use case to use Namespaces
3. What are the best/accepted naming conventions for Namespaces in K8s
Thanks
Perfect! Keep going on :)! I hope you will have a video about deploying to app service multi-container app with Azure DevOps & docker-compose.yml file (pull images from a private Docker Hub).