Running Azure Functions on Kubernetes like on Azure in the consumption plan

Azure Functions 2.0 introduced the capability to run Functions in a container. So, you have the choice to run your Functions natively on Azure in the consumption plan for automated massive scale or in a container on your Azure Kubernetes Service or Kubernetes cluster. But how you configure automated scaling for a Functions application in a container on Kubernetes to run it like on Azure? The Read more [...]

Taking backups from Azure disks attached to AKS via Azure Automation

When you followed the Azure docs on how to dynamically create Azure disks via a Kubernetes PVC, you saw the instructions to create a backup of the disk. Snapshots are leveraged for this. But it is a manual task you must accomplish. -> https://docs.microsoft.com/en-us/azure/aks/azure-disks-dynamic-pv#back-up-a-persistent-volume It would be nice to have an automated solution which also take Read more [...]

Stream Analytics on IoT Edge – deployment changes

Microsoft released the GA version of Stream Analytics on IoT Edge two weeks ago. -> https://azure.microsoft.com/en-us/blog/azure-stream-analytics-on-iot-edge-now-generally-available/ Beside the changes with the GA version one is most important. When you deploy the Stream Analytics container onto an edge device you must provide the plan id as an environment variable. The plan id is needed for billing Read more [...]

Best practices – Azure IoT Edge deployments with Azure Kubernetes Service

Today I am talking about some best practices in regards of Azure IoT Edge deployments with Azure Kubernetes Service. Just a short recap about the IoT Edge deployment options with Kubernetes. The connection between Kubernetes and the Azure IoT Hub is established via the IoT Edge Virtual Kubelet Provider. The IoT Edge VK Provider consists of two containers. The Virtual Kubelet that receives the Kubernetes Read more [...]

Azure Functions – Azure Kubernetes Service Advanced Networking IP address calculation

Lately I was playing around with Azure Functions especially the HTTP Trigger Function and was seeking for a good use case of a Function taking JSON input and providing JSON as output. Looking at a certain task you need to do before you can deploy AKS with Advanced Networking enabled. I had found my use case. Before you can deploy AKS with Advanced Networking, Azure CNI plugin, you are required to Read more [...]

Kubernetes network policies on Azure Kubernetes Service with Azure NPM

Microsoft provides an own network policy module to implement Kubernetes network policies with the Azure CNI plugin for acs-engine and AKS called Azure NPM. -> https://github.com/Azure/azure-container-networking/tree/master/npm The Azure NPM is available since quite some time for acs-engine and natively integrated, but not yet for AKS. If you want to use Azure NPM on Azure Kubernetes Service, Read more [...]

Using dysk in Azure Kubernetes Service – AKS cluster upgrade and its learnings from it

In one of my previous blog posts I have explained how to use dysk in Azure Kubernetes Service as persistent storage option. -> https://www.danielstechblog.io/using-dysk-in-azure-kubernetes-service-as-persistent-storage-option/ Today we have a look how a Kubernetes version upgrade of an AKS cluster effects dysk in operations and may force you to rethink your chosen Azure VM and OS disk SKU. First Read more [...]

Introducing breaking changes to the IoT Edge VK provider helm chart and deployment templates for Kubernetes

When you are running the IoT Edge VK provider deployed by the previous helm chart, you might have noticed the following log entry querying the virtualkubelet container logs. kubectl logs hub0-iot-edge-connector-6b594c6444-g7mqz virtualkubelet Flag --taint has been deprecated, Taint key should now be configured using the VK_TAINT_KEY environment variable The process to define the taint for the virtual Read more [...]

Using dysk in Azure Kubernetes Service – updated deployment templates

In one of my last blog posts I have explained how to use dysk in Azure Kubernetes Service as persistent storage option. -> https://www.danielstechblog.io/using-dysk-in-azure-kubernetes-service-as-persistent-storage-option/ Since then some of the dysk parts have been moved to the official Azure GitHub repository. -> https://github.com/Azure/kubernetes-volume-drivers Comparing the deployment Read more [...]

Azure IoT Edge 1.0.2 update issues

During Microsoft Ignite the Azure IoT Edge version 1.0.2 was released with some important improvements like proxy support. -> https://azure.microsoft.com/en-us/updates/iot-edge1-0-2/ Today I updated my two Raspberry Pi’s running Raspbian to the new IoT Edge version. -> https://docs.microsoft.com/en-us/azure/iot-edge/how-to-install-iot-edge-linux-arm#install-the-container-runtime After Read more [...]