Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

hmcts/cnp-aks-rbac-pipelines

Repository files navigation

AKS RBAC Enabled Cluster Pipelines

Introduction

Included here are the scripts requires by the manually configured build and release pipeline in Azure DevOps for creating AKS clusters

Why manual?

Azure DevOps has evolved since this started, and now should support the features we require, we just haven't had the time to convert it over to pipeline as code.

The only remaining open question is about rolling changes out environment by environment, currently it's done by clicking the 'Deploy' button for the environment in the release pipeline.

Usage Guidelines

Variable Groups

As maintaining Variable groups in UI is tedious, all AKS pipeline variable groups are managed as code in here.

Updating Kubernetes version

We regularly update the version of Kubernetes we run, and try to keep all clusters on the same version.

The aim is to stay on the latest GA version of Kubernetes that Microsoft supports.

We sometimes run the preview environment on newer versions so that we can try out new features and as a 'canary' to make sure that it works with our workloads. Make sure you test the non live preview cluster, works first before promoting it.

The version is managed in a per environment vars file.

Once you've updated the version use the AKS release pipeline to apply the update.

Note: You will need to raise a change request to do this in production, do the other environments first and then raise the change once they are successful.