CREATING REUSABLE BUILD TASKS IN AZURE DEVOPS PIPELINES WITH TEMPLATES

Use case for pipeline templates Example 1: re-use template in multiple build pipelines Example 2: re-use parameterized template in multiple build stages Use case for pipeline templates In the world of complex enterprise applications and distributed systems you may have a need to perform many more actions and validations as part of a build pipeline than before:

Read more

HANDLING FAILED HELM UPGRADE DUE TO ANOTHER OPERATION IN PROGRESS

Introduction Controlled, manual fix Automatic fix Introduction Sometimes things may go wrong, also during ugprade of the application that is deployed to a Kubernetes cluster with Helm. When something goes wrong, you fix it and re-try a deployment with the new fix included. But then deployment operation fails with following error message:

Read more

ACCELERATED NETWORKING FOR AKS NODES

What is Accelerated Networking and why use it in AKS? Network performance test with and without Accelerated Networking in AKS Linux nodes Windows nodes Enable Accelerated Networking for AKS nodes Additional resources In this blog post I would like to talk about Accelerated Networking, how it can improve internal communication inside an AKS cluster and how you can enable that for Linux and Windows AKS nodes.

Read more

CONTINUOUS DELIVERY TO AKS WITH AZURE DEVOPS ENVIRONMENTS - PART 2

Deploy application to AKS with ADO Environments Create Azure DevOps Environment and Kubernetes resource Update Access Control and Deployment Policies Create build pipeline with deployment stage Deploy and look around Workloads Services Automate migration of Kubernetes resources between Azure DevOps Environments Additional resources Welcome to Part 2 of blog post series on Continuous Delivery to Azure Kubernetes Service with Azure DevOps Environments!

Read more

KRIS'S QUICK CUP OF (A)K8S #2

#1 - Run CronJob instantly #2 - Configure Rolling Update for Deployment #3 - Check what add-ons are available in AKS with Azure CLI It’s time for a new edition of Kris’s Quick cup of Kubernetes where I’m utilizing Azure Kubernetes Service (AKS) for demo purposes!😺 In second edition of this tech tip series I would like to share a few tips related to CronJobs, Rolling Updates and AKS add-ons that can make your life easier when working with Kubernetes and specifically Azure Kubernetes Service.

Read more

IMPROVING PULL REQUEST FLOW WITH PR TEMPLATES AND PR COMPLETION STATS IN AZURE DEVOPS

PR templates PR Completion Stats extension Code reviews and pull requests are a totally normal practice these days if you’re working together with other developers. Even if you’re working solo you probably don’t want to commit to main branch directly if you have CI/CD in place. That’s when adding changes through pull requests and code reviews come into picture.

Read more

CONTINUOUS DELIVERY TO AKS WITH AZURE DEVOPS ENVIRONMENTS - PART 1

What is an Azure DevOps Environment? Introduction Benefits of using ADO Environments (IMHO) Resource Grouping Tips One Environment representing all development/staging/production clusters One Environment representing one development/staging/production cluster One Environment representing one application deployed in development/staging/production cluster Next Steps In the first part of this blog series I would like to talk about Azure DevOps Environments, benefits of using it for deployment of applications to AKS or any other Kubernetes distribution (or even a VM), and provide a few tips and tricks for how ADO environments and resources can be created.

Read more

AUTOMATE .NET TARGET FRAMEWORK UPDATE WITH POWERSHELL

With all the active development in the .NET world many of us have faced a situation where we need to update .NET target framework more frequently in order to be able to keep up, but at the same time to be able to utilize all the goodies .NET has to offer.

Read more

IMPROVING .NET CODE QUALITY WITH NDEPEND IN VISUAL STUDIO AND AZURE DEVOPS

What is NDepend? Improving and enforcing source code quality with NDepend Azure DevOps extension Adding NDepend Build Task NDepend build output and Azure DevOps Dashboard Adding code coverage to NDepend analysis Adding code coverage from external location to NDepend analysis Trends section in NDepend Dashboard in Azure DevOps Enabling NDepend quality gate checks in build pipeline Quality gate and rule management with NDepend VS Extension Running initial NDepend analysis in Visual Studio Modifying default quality gate Deactivate, Suppress and Resolve quality gate issues Adding custom rule and connecting it to existing quality gate Additional resources What is NDepend?

Read more

KRIS'S QUICK CUP OF K8S #1

#1 - Live streaming of Pod logs #2 - Get non-existent Namespace without errors #3 - Get all resources in a Namespace #4 - Retrieve and clean up Evicted Pods Starting a totally new Tech Tips subsection feels great - especially when it’s going to be purely dedicated to Kubernetes utilizing Azure Kubernetes Service (AKS) for demo purposes!

Read more