HOW TO TRIGGER SUBSEQUENT GITHUB WORKFLOW IN A DIFFERENT REPOSITORY

I was recently working on automating some manual actions related to my tech blog and discovered an interesting use case that I thought was worth sharing with the community 😊 Did you know that it is possible to trigger a GitHub workflow that resides in a different repository? Let me show you how!

Read more

AKS CONTROL PLANE TIERS - WHAT, WHEN AND HOW?

Recently a new property became available in Azure Portal when creating a new Azure Kubernetes Service instance: Have you seen it and do you know what it actually is? Wait, does AKS have pricing tiers?! I thought that the only price we need to pay was based on the chosen VM SKU for AKS Nodes….

Read more

HOW TO MODIFY AZURE ARC (OR ANY) SERVICE PRINCIPAL SCOPE AFTER CREATION

A thought struck me one day when I was working with onboarding machines to Azure Arc. If you want to onboard multiple servers at scale to Azure Arc, you would need a Service Principal with Azure Connected Machine Onboarding role in the respective subscription or resource group where you want to create Azure Arc-enabled servers.

Read more

HOW TO FIX SERVICEACCOUNT ERROR IN AZURE DEVOPS ENVIRONMENTS FOR KUBERNETES CLUSTERS V.1.24 AND NEWER

Introduction of the issue Issue resolution approaches Use Azure DevOps Environment without Kubernetes Resources and deploy with manually created Kubernetes Service Connection Use Azure DevOps Environment with Kubernetes Resource of type “Generic provider (existing service account)” Automate creation of Kubernetes Resource of type “Generic provider (existing service account) Introduction of the issue [Update July 2023] This issue has been resolved and you should be able to create a Kubernetes resource targeting Azure Kubernetes Service in Azure DevOps Environments in the same way as before.

Read more

[🎄.NET ADVENT CALENDAR🎄] STRENGTHENING SECURITY POSTURE OF CONTAINERIZED .NET APPLICATIONS WITH CHISELED UBUNTU CONTAINERS

Introduction Container Security - pitfalls and must do’s Containers and root user Running containers as unprivileged user Rootless Containers Running containers with unprivileged user in Kubernetes Supply chain and third-party dependencies Summary on mitigating common container security pitfalls Chiseled Ubuntu Containers && .NET Example: Porting Cat Encyclopedia app to .

Read more

[🎄AZURE ADVENT CALENDAR🎄] EXPLORING UPGRADE STRATEGIES IN AZURE KUBERNETES SERVICE

Why upgrading AKS clusters is important? Cluster and Node OS image upgrade process AKS cluster upgrade flow AKS Auto-upgrade Enabling AKS auto-upgrade in IaC Azure CLI Terraform Bicep Auto-upgrade considerations Additional resources 🎄This blog post is also a contribution to Azure Advent Calendar where during December, experts from the tech community share their knowledge through contributions of a specific technology in the Azure domain.

Read more

KRIS'S QUICK CUP OF (A)K8S #5 - HOUSEKEEPING FOR KUBERNETES CONTEXTS

Let’s start today’s tech tip by identifying what a Kubernetes Context is. Kubernetes Context, which is also known as kubectl context, represents a Kubernetes cluster that kubectl command-line tool is currently targeting. You decide which Kubernetes cluster to set as active by modifying currently active context with kubectl config use-context <cluster_name> command.

Read more

APPLYING DOCKERFILE BEST PRACTICES WITH HADOLINT

Hadolint - Introduction and benefits Installation and execution options for Hadolint Azure DevOps GitHub Actions Local development (VSCode Extension) Additional resources In this blog post I would like to take a look at how we can ensure that Dockerfiles we create are of high quality and are following best practices in the industry.

Read more

VALIDATING QUALITY OF HELM CHARTS WITH HELM LINT

Linting tools, aka linters, can help you write better and cleaner code early in the software development lifecycle. Linter is a tool that scans existing and new code for potential errors, bad and insecure patterns and violations of the respective programming language best practices. In most cases you can install a linter as an IDE extension so that you can get notified about potential issues during local development, long before the code is checked in to your source code base.

Read more

AZURE DEVOPS AUDITING - PART 1 - OVERVIEW AND STREAMING TO AZURE MONITOR LOGS

Azure DevOps Auditing - overview and why you would use it Enable Azure DevOps Auditing Azure DevOps UI Azure DevOps REST API Overview of enabled Azure DevOps Auditing page Configure Azure DevOps log streaming to Azure Monitor logs UI REST API Accessing and querying Azure DevOps Audit logs with Log Analytics Additional resources Next steps In July 2019, as part of Sprint 154, Microsoft introduced support for auditing in Azure DevOps and this is a feature that you really should look into if you haven’t set it up or maybe haven’t heard about it yet.

Read more