Scale a Kubernetes Deployment with .NET Core

Scale a Kubernetes Deployment with .NET Core Let’s start: 1. Create a folder for your new project Open a command prompt an run: 1mkdir kuberenetes.scale 2. Create the project 1cd kuberenetes.scale 2dotnet new api 3. Add the references to KubernetesClient 1dotnet add package KubernetesClient -v 1.5.18 2dotnet restore 4. Create a PodsController.cs with the …

Accepting Azure Marketplace Terms with Ansible

Accepting Azure Marketplace Terms with Ansible Last May I wrote: Accepting Azure Marketplace Terms with Azure CLI and this time we’ll accomplish the same task with Ansible. Turns out that Ansible 2.6 comes with a handy new module: azure_rm_resource which lets you create, update or delete any Azure resource using Azure REST API. So I decided to take it for a …

Installing Azure CLI and Ansible on Ubuntu

Installing Azure CLI and Ansible on Ubuntu I’ve been using Ansible and the Azure CLI every single day for the last 3 months. Non stop work editing playbooks and scripts with Visual Studio Code and running them on Ubuntu (WSL) on my Windows 10 machine. Turns out that because Ansible uses python version 2.7.12 and the Azure CLI uses python 3.6.5 you can …