Building a Hub and Spoke with Site to Site VPN Part 1

Part: 1 Architecture Overview Scenario: Building a demo or proof of concept to understand the technology, azure resources and configuration settings that involve Azure Virtual Networks, VNet Peerings, Virtual Network Gateway, and Site to Site VPN Connections. The architecture is to emulate a hybrid cloud topology with on-premises network emulated with an Azure VNETs in …

Continue reading Building a Hub and Spoke with Site to Site VPN Part 1

Azure Kubernetes Service Horizontal Pod Autoscaling Issue Resolution

Issue: In my Azure Kubernetes Service cluster, the horizontal pod autoscaler is not working due to resource cpu on pods is unknown. Horizontal Pod Autoscaling increases (and decreases) the number of replicas (or pods) on deployments based on cpu usage. I have come across this issue a number of times when setting up HPA. HPA …

Continue reading Azure Kubernetes Service Horizontal Pod Autoscaling Issue Resolution

Pragmatic Guide to Azure Resource Naming Conventions

Being organized and being able to search and browse for azure resources is key to being productive in managing your azure infrastructure. I believe a pragmatic naming convention should be Descriptive enough to know what the resource is in the context of the infrastructureEasy to remember and follow.Well adopted by other cloud team members.Need to …

Continue reading Pragmatic Guide to Azure Resource Naming Conventions

AZ CLI Script to Create a Starter AKS Demo

The following is a bash script with a set of Azure CLI commands to build an cost efficient Azure Kubernetes Environment to host a public facing web application. This is suitable for beginners or a simple development environment for your project. And demonstrates my recommended setup with both Azure cloud resources and the Open Source …

Continue reading AZ CLI Script to Create a Starter AKS Demo

How to Reset Ubuntu Password in Windows WSL

Background You have a Windows 10 environment with WSL installed and are using a Ubuntu distribution. You forgot the password that was setup when you first setup Ubuntu. You need the password when you install software such as when doing apt install <software>. So here's how: Open windows command prompt. wsl --user root 2. Change …

Continue reading How to Reset Ubuntu Password in Windows WSL

Comprehensive Guide To Create an Azure Kubernetes Service with Az CLI

Objective: To provide key configuration parameters for the beginner when creating the Azure Kubernetes Service with Azure CLI. My design with related az aks create command configuration parameters. You can find the az aks create command’s documentation provides a list of about 60 parameters. az aks create --name --resource-group [--aad-admin-group-object-ids] [--aad-client-app-id] [--aad-server-app-id] [--aad-server-app-secret] [--aad-tenant-id] [--admin-username] …

Continue reading Comprehensive Guide To Create an Azure Kubernetes Service with Az CLI

Azure Portal Azure Kubernetes Resource Viewer vs Kubernetes Dashboard

As announced, in this article Kubernetes resource view is in public preview, I will review and give my thoughts on this new feature Kubernetes Resource View in the Azure Portal compared to the OSS Kubernetes Dashboard (Web UI). A prerequisite is that the AKS Cluster needs to be enable Azure AD integration. The biggest convenience …

Continue reading Azure Portal Azure Kubernetes Resource Viewer vs Kubernetes Dashboard

Kubernetes Error & Fix: clusterroles.rbac.authorization.k8s.io is forbidden: User clusterUser cannot list resource clusterroles

Issue Background: With an Azure Kubernetes Service deployment (version 1.17.9) in my dev environment, I launch the Kubernetes Dashboard application and I can’t see any Kubernetes resources and I get the following error notification clusterroles.rbac.authorization.k8s.io is forbidden: User "clusterUser" cannot list resource "clusterroles" in API group "rbac.authorization.k8s.io" at the cluster scope I am attempting to …

Continue reading Kubernetes Error & Fix: clusterroles.rbac.authorization.k8s.io is forbidden: User clusterUser cannot list resource clusterroles

Error & Fix: Azure Kubernetes ‘Failed to pull image’

Error Message: Failed to pull image "rkaks/dotnetcoresqldb:dev": rpc error: code = Unknown desc = Error response from daemon: pull access denied for rkaks/dotnetcoresqldb, repository does not exist or may require 'docker login': denied: requested access to the resource is denied Shown from the Kubernetes Dashboard application Context I have my application's docker image pushed into …

Continue reading Error & Fix: Azure Kubernetes ‘Failed to pull image’