Deploying AKS cluster with Azure CNI using Bicep - Neovim Coding - Azure Kubernetes Lab Series

Deploying AKS cluster with Azure CNI using Bicep - Neovim Coding - Azure Kubernetes Lab Series

Mischa van den Burg

1 год назад

627 Просмотров

In this video, I will show you how to use Bicep to deploy a Kubernetes cluster with custom network settings using the Azure CNI. Azure CNI allows pods to be assigned IP addresses from Azure VNets which allows them to communicate with Azure resources directly through peered networks.

I use Neovim and the Azure CLI for my coding and deployment.

You will learn how to:

- Implement dev/test prefix to create multiple clusters with the same template
- Plan a VNet range for an Azure CNI cluster and be mindful of overlaps
- Deploy a VNet and subnet for the cluster using Bicep
- Deploy a cluster with Azure CNI enabled and configure the maximum number of pods per node
- Validate your Bicep template and troubleshoot errors
- Explore the results of your deployment in the Azure portal
- Understand the limitations of Azure CNI and why VNet peering is not supported in my configuration due to overlaps

This video is suitable for anyone who wants to learn more about Azure CNI and how to use it in their Kubernetes deployments.

If you enjoyed this video, please like, share and subscribe to my channel for more Azure content. Thanks for watching!

Timestamps:
0:00 Intro
1:53 Introduction to Azure CNI
3:35 Network address range planning
7:56 Coding Bicep
18:23 Max pods per node explanation
21:25 Create the parameter file (.bicepparam)
23:00 Template validation and solving problems
26:00 Succesful deployment of dev cluster, results in portal
28:13 Deploy a new prod cluster using the prefix functionality
30:00 Reflecting on VNet address overlap, trying peering and failing
31:45 Summary and outro

Check out my blog here:
www.mischavandenburg.com

Code for this video:
https://github.com/mischavandenburg/lab/tree/main/bicep/aks-azurecni

Azure Lab GitHub repo:
https://github.com/mischavandenburg/azure-lab

#azure #bicep #github #githubcopilot #coding #infrastructureascode #devops #microsoft #aks #cloudnative #neovim #biceplang

Тэги:

#command_line #linux #macos #terminal #alacritty #productivity #focus #workflow #terminal_workflow #coder #hacker #efficiency #second_brain #devops_engineer #devops #bash #scripts #unix #unix_philosophy #vim #neovim #automation #automate_everything #coding #programming #blog #share_your_work #zettelkasten #markdown #git #github #githubcopilot #azure #microsoft_azure #microsoft #bicep #infrastructureascode #infrastructure_as_code #cloud_native #kubernetes #AKS #biceplang #colearning #networking #CNI #study
Ссылки и html тэги не поддерживаются


Комментарии: