Skip to content
Kubernetes configuration and application deployment (ASP.NET Core)
C# Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Kubernetes in Azure (AKS) - Configuration and Application service deployment

What's included:

  • Blog post:
  • aspnetapp - .NET Core application
  • aspnetapp/dockerfile - builds docker image with aspnetapp
  • ns1 and ns2 folders are related to K8S namespaces and include scripts
  • - K8S authentication (grants AKS access to ACR)
  • k8s_config.ps1 - PowerShell commands to set AKS cluster
  • sa.yaml - manifest file to configure AKS cluster and namespaces

Where to use:

  • as a part of CI/CD pipelines (Azure DevOps, for example)
  • manual deployment (kubectl/azure cli/powershell)

Azure DevOps workflow

  • Builds and pushes docker image to Azure Container Registry
  • Configures Kubernetes Namespaces (limits, scale options and etc.)
  • Creates a new deployment and sets anti-affinity for pods
  • Sets Network Policies (traffic between NS and from PODs)
  • Adds service accounts on Namespace and Cluster levels
  • Creates a service and publishes it

Azure DevOps Pipeline


You can’t perform that action at this time.