Physical Development Staging Production Team Morpheus Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Production Team Trinity Development, Staging Production Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Team Morpheus Team Trinity Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Staging Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Team Morpheus Team Trinity One cluster is reused over environments and teams Logical
Pod Pod Pod Pod Master branch Feature X branch Pod Pod Pod Pod Pod Pod Feature Y branch Pod Pod Pod Pod Pod Pod Staging Production Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod One cluster is reused over environments and teams Multiple teams and environments Team Morpheus Team Trinity Team Morpheus Team Trinity
Gateway & Firewall Public IP-Address North Europe VNET AKS cluster Application Gateway & Firewall Public IP-Address http://www.ignitetour.cf http://ignitetour.trafficmanager.net
Principal (AKS) DNS Zone Log Analytics VNET AKS cluster Application Gateway & Firewall Service Principal (AKS) Log Analytics Service Principal (Deploy) Key Vault Service Principal (Deploy) Key Vault West Europe Public IP-Address North Europe Public IP-Address
99.95% (Azure VM SLA in VMSS) With Availability Zones AKS offers 99.99% for 2+ VMs AKS Availability SLA Downtime per year Downtime per month 99,999% 5m 15.6s 26.3s 99,99% 52m 35s 4m 23s 99,95% 4h 22m 21m 54s 99,9% 8h 45m 43m 49s 99,5% 1d 19h 49m 3h 39m
99.95% (Azure VM SLA in VMSS) With Availability Zones AKS offers 99.99% for 2+ VMs AKS Availability SLA Downtime per year Downtime per month 99,999% 5m 15.6s 26.3s 99,99% 52m 35s 4m 23s 99,95% 4h 22m 21m 54s 99,9% 8h 45m 43m 49s 99,5% 1d 19h 49m 3h 39m
99.95% (Azure VM SLA in VMSS) With Availability Zones AKS offers 99.99% for 2+ VMs AKS Availability SLA Downtime per year Downtime per month 99,999% 5m 15.6s 26.3s 99,99% 52m 35s 4m 23s 99,95% 4h 22m 21m 54s 99,9% 8h 45m 43m 49s 99,5% 1d 19h 49m 3h 39m
Gateway & Firewall Public IP-Address Service Principal (AKS) Service Principal (Deploy) Key Vault DNS Zone Log Analytics VNET AKS cluster Application Gateway & Firewall Public IP-Address Service Principal (AKS) Service Principal (Deploy) Key Vault Log Analytics Service Principal (Registry) Container Registry Common AKS cluster Production Development
to market Availability and Firewalls requirements have complex consequences Use Key Vault for secrets Provisioning AKS (and everything related) for production is complex Automate everything!
your containers on the new cluster 3. Switch to new endpoint 4. Remove old cluster Upgrade cluster Using new cluster using NodePools az aks upgrade --name $clustername --resource-group $rg --Kubernetes-version 1.14.8 Risk Upgrade AKS 1. Upgrade the Control Plane to latest version az aks upgrade -n $clustername -g $rg -k 1.14.8 --control-plane-only 2. Add a new NodePool with latest version 3. Run your containers on the new NodePool 4. Remove old NodePool Cost & Complexity
Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Partly Managed IaaS Cluster Managed Cluster Kubernetes cluster Worker Node Worker Node Master Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Pod Kubectl get nodes NAME STATUS ROLES AGE VERSION aks-agentpool-17613766-0 Ready agent 4h v1.14.8 aks-agentpool-17613766-1 Ready agent 4h v1.14.8 aks-agentpool-17613766-2 Ready agent 4h v1.14.8 virtual-node-aci-linux Ready agent 4h v1.14.8
Use Helm to install applications to K8S Lessons learned regarding Configuration Dashboard doesn’t work out of the box Kubernetes as PaaS possible with Virtual Kubelet Kubernetes ecosystem is amazing Use NodePools for upgrades and different workloads
in provisioning - Limited nr of disks - No direct access to data + Premium (SSD) for production AzureFile + All AccessModes + Shared by Pods + Fast in provisioning + Unlimited volumes + Direct access to data - SMB = slow Pod Volumes Secret Storage Account Azure File Azure Disk
to deploy your applications Use Key Vault for your application secrets Use Log Analytics + Container Solution for logging and monitoring Prevent stateful applications Automate everything: application deployment also!
what about the other services… Applying DevOps to an application landscape using AKS takes a lot of knowledge and time for the whole team Automate everything Once you have a complete DevOps way of working for your applications, your team is Faster, Cheaper and Better