AKS Today – Choosing a Base Image

We recommend using official images from Docker Hub. These images have been curated to provide the key languages, runtimes, best practices and security updates. Considering your image will be copied to the container registry and downloaded numerous times through the deployment pipeline, it is important to keep your image sizes small. In general, you want […]

AKS Today – Artifact Stores

Well…I’m familiar with container registries but there is a new paradigm that is being worked on… an artifact registry. The idea is the same as a container (image) registry…store versions of files/configs/images, etc and distribute it to your containers. This would create a new standard that would be supported across all docker implementations and would […]

AKS Today – Hands-on with Docker

Here are some commands that I put together to give you a walkthrough of using docker to create a container image and publish it to Docker Hub. #kubectl cheat sheet: https://kubernetes.io/docs/reference/kubectl/cheatsheet #docker cheat sheet: https://devhints.io/docker #Tutorials: https://kubernetes.io/docs/tutorials/ #Contents of the Dockerfile### #FROM nginx #COPY static-html-directory /usr/share/nginx/html docker build -t mydemoimage1 . docker images #make sure […]

AKS Today – Persistent Storage options

There is a good article that talks about persistent storage options for AKS. You basically have 3 choices in Azure: Standard Managed Disk Premium Managed Disk Azure Files If you only need one container to access the volume at a time, then you can leverage standard or premium disks based on your needs. However, if […]

AKS Today – Private PaaS Services

There are times when you want to deploy your PaaS resources on a private network instead of leveraging the public endpoint. Azure has a bunch of services that support service endpoints – a feature that lets you access a SQL/MySQL/Cosmos database on a vnet. Azure Container Registry has a preview feature that will let you […]

AKS Today – Container Registries

When you package up your application in a container image, you need somewhere to store it. That is the purpose of the container registry. It is like an app store for your container images. A registry is organized into repositories, where a repository holds all the versions of a specific image. You might have separate […]

Azure Blob Storage Account Failover (Preview)

Just heard that there is a preview feature that lets you control failover of your RA-GRS storage account. From the docs.microsoft.com article: Azure Storage supports account failover (preview) for geo-redundant storage accounts. With account failover, you can initiate the failover process for your storage account if the primary endpoint becomes unavailable. The failover updates the […]

AKS Today – Cluster Isolation Patterns

A common question with AKS is: “how many clusters do I need?” There are two patterns to consider: Physical Isolation With this pattern, you use different clusters based on environment like dev, test, staging and production. Or you can break out the clusters by team or project. In this manner, you are “sandboxing” the applications […]

AKS Today – Storage

I’m learning about how to deal with storage for your containers. There are a few options: emptyDir – is scoped to the Pod and lifespan of the Pod. It seems to take local storage from the host and presents it to the pod. For example, if you had two containers running in a pod, they […]

AKS Today – Health Checks

Kubernetes has a few health checks that it performs to ensure your containers are healthy and running: Liveness Probe – makes sure the application is running properly. This is done by the developers exposing a health check API that you tell Kubernetes to check on a periodic basis. If it fails, Kubernetes will restart the […]