AKS Today – Adding SSL to my website

3/28 – I found a good article that walks through the steps for deploying an ingress controller in Kubernetes to terminate SSL and forward the connection to my container running node.js. I’m going to work on this this weekend and update the blog! https://dgkanatsios.com/2017/07/07/using-ssl-for-a-service-hosted-on-a-kubernetes-cluster/ 3/31 – Ok, this article above is for creating internal/test certificates. […]

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 […]

AKS Today – Pods

I’m diving deep into pods today! First, let’s make sure our terminology is straight. Here is the hierarchy of “objects” in Kubernetes: Cluster Nodes Pod Container Image In reverse, I would say: “I will create an image of my application and use it to create a container. The container will run in my pod, which […]

AKS Today – Monitoring

The Azure portal allows you to see a number of key metrics, setup alerts and view logs from your AKS cluster…which means you don’t have to rely on running kubectl commands to see how your cluster is performing. Below, you can see cluster health, CPU/memory utilization, node and pod count. You can dive into the […]

AKS Today – Quickly Create a Container

Wow! I learned that you can simply deploy a container to kubernetes by running the following command (there are two examples in the screenshot below): This is instead of creating a deployment.yaml file and running kubectl apply -f deployment.yaml – like I’ve always done. Very similar to the docker run command. Nice.

Looking back…

Two years ago, dreaddontdie was based on  .net, running on Windows and designed for Internet Explorer. Today, dreaddontdie.com is quite the opposite…it runs on Linux! 😳 Last month, the redesign of dreaddontdie (version 8.x) turned 2 years old. Here is what looks like now from the browser to the backend: My code editior is VS […]

AKS Today – Kubectl Commands

Today, I played around with some kubectl commands and learned a few things! How to query Kube-system by specifying the namespace flag Use contexts to manage “profiles” for kubectl Tweak the output to wide or json or filter the results using jsonpath Edit resources like pods, deployments, etc RIGHT in kubectl by using kubectl edit […]

AKS Today – Health and Services

Today I learned about how to get health and detailed information about your node(s). It spits out all of this great info on the node version, etc but also these health conditions you can check for. It was also interesting to see the clear breakdown of the namespaces and everything that runs in kube-system. Other things […]

I’m starting a series called… AKS Today

I’m going to learn and/or do something with Azure Kubernetes Service (AKS) every day….and blog about it. I think it will be good motivation to ensure I’m working with it every single day and not getting lost in meetings and other things. Key components to this: Daily blogging Walking through my Kubernetes Up and Running […]