- Blog post: https://rlevchenko.com/2019/09/05/playing-with-kubernetes-running-on-azure-aks/
- aspnetapp - .NET Core application
- aspnetapp/dockerfile - builds docker image with aspnetapp
- ns1 and ns2 folders are related to K8S namespaces and include scripts
- auth.sh - 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
- as a part of CI/CD pipelines (Azure DevOps, for example)
- manual deployment (kubectl/azure cli/powershell)
- 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