Building a Cloud Native Lab - Scripted Edition

Published Feb 15 2022 12:06 PM 2,004 Views
Senior Member

Last year I did a blog post on how to build a cloud native lab at home based on Azure Stack HCI and AKS:

https://techcommunity.microsoft.com/t5/azure-developer-community-blog/building-a-cloud-native-lab-at...

 

In that post I mentioned in passing that I'd also be looking into doing day two stuff. And I did. It just didn't materialize in a new post :)

 

What I realized when testing out stuff was that while I did use my own blog post for reference it was sort of unpractical scrolling up and down the page to find the right command, and jumping between various tools and ways of solving things. I thought that "hey, wouldn't it be nice if I could just start a script and have it go through everything automatically?" Of course it would; it was just a matter of a little bit of effort getting there. (Or almost there at least.)

 

TL;DR - I have a repo over at https://github.com/ahelland/Cloud-Native-DevLab where I have made a collection of scripts to set you up with an AKS cluster along with a couple of features you may need/want to test on your Windows Server/Azure Stack HCI box.

 

Still here? I'll call out a few things to provide a backdrop and a couple of explanations.

 

I wanted to have a repo you could pull down and step through interactively on your client computer using .NET Interactive Notebooks. That's a great way to run code inline in a document. Turns out that doesn't work when you attempt to setup a remote PowerShell session.

 

I was also thinking about having the repo set up Visual Studio Code and all the UI tooling you need (locally on the host system). That sort of worked, but that would assume you're running the Desktop Experience which you're not doing if you use Azure Stack HCI. So I made it a command line experience - you probably need to copy the initial bootstrapping from your desktop to the server, but as part of the bootstrap Git is installed and the repo pulled down so you can do the rest without having a CTRL-C + CTRL-V party.

 

So, looking at the commit dates it seems this was done a long time ago? Yes and no. A couple of things went up early, but I needed some QA time and was also stuck on bugs with the product and the components so it wasn't that easy. I didn't want to provide a guide sending you straight into "this doesn't work". There's also other things I spent time testing that ended up being left out. And I wasn't in a hurry I guess :)

 

Modularizing it however was not an error; that was a deliberate choice. I have separated things into sections that should be independent of each other  - you just want to test Flux and don't care about Grafana? No prob.

 

The repo does not go into great lengths explaining choices and the "why" of things. I wanted to keep it more to the point. That way it is easier to update and replace things as well.

 

Here are sections and components of the guide:

  • 01_Bootstrap
    We install the necessary tooling and install a management and a workload cluster.
  • 02_Monitoring
    We install Prometheus, Grafana and Jaeger. Loadbalancers for all three are also created (if you want), but not DNS names.
  • 03_Azure_Policy
    We create a service principal (with a "Policy Writer" role) and use this to enable Azure Policy in our cluster.
  • 04_ExternalAccess
    We install Nginx and CertManager, and configure integration with Azure DNS. This enables you to have Kubernetes take care of configuring DNS for you and enroll a certificate from Let's Encrypt when you deploy an application to the cluster.
  • 05_MonitoringIngress
    This section provides configuration files for enabling ingress for Prometheus and Jaeger.
  • 06_AzureServiceOperator
    Brief explanation on Azure Service Operator with links to MS docs.
  • 07_Dapr
    Explanation of Dapr plus installation commands. Links to more info and samples.
  • 08_Flux
    Installation of a sample app using a GitOps approach with Flux.
  • Samples
    Samples for testing out the basic functionality of the cluster based on the installations in the sections above.

While the focus is more on the scripts than explanations I have attempted to include some instructions. Note that you also need to fill in the blanks yourself for variables unique to your environment. (Cloning the repo and just executing the PowerShell immediately will most likely throw errors at you.)

I'm not saying this is the only way, or the right way for everyone. And since the focus is on dev use it could very well be that you don't care about things like Azure Policy. Having it all in one location and tested in a cohesive manner should help though.

I'm currently working on testing workload identities. Worked fairly easy on AKS in the cloud. Not as easy in the on-prem variant so we'll see how that plays out. Point being - I try to add things to the guide, and will attempt to both optimize and re-arrange content if needed. I also intend/want to create more complex samples; but need to have the baseline working before going all in on that.

I guess the value of all of this is still limited if you don't have the hardware to run things. That has made me think of whether I should create a version for AKS running in Azure as well, but I haven't decided - there are already a ton of guides and documentation out there for that purpose.

AzureStackHCI_Cluster.png

 

Here's the link to the repo again:
https://github.com/ahelland/Cloud-Native-DevLab

As always - stay tuned for more cloud fun!

%3CLINGO-SUB%20id%3D%22%5C%26quot%3Blingo-sub-3169848%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3EBuilding%20a%20Cloud%20Native%20Lab%20-%20Scripted%20Edition%26lt%3B%5C%2Flingo-sub%26gt%3B%3CLINGO-BODY%20id%3D%22%5C%26quot%3Blingo-body-3169848%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3E%3CP%20style%3D%22%5C%26quot%3Bmargin%3A%22%200in%3D%22%22%3ELast%20year%20I%20did%20a%20blog%20post%20on%20how%20to%20build%20a%20cloud%20native%20lab%20at%20home%20based%20on%20Azure%20Stack%20HCI%20and%20AKS%3A%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin%3A%22%200in%3D%22%22%3E%3CA%20title%3D%22%5C%26quot%3Bhttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-developer-community-blog%2Fbuilding-a-cloud-native-lab-at-home%2Fba-p%2F2519504%5C%26quot%3B%22%20href%3D%22%5C%26quot%3Bhttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-developer-community-blog%2Fbuilding-a-cloud-native-lab-at-home%2Fba-p%2F2519504%5C%26quot%3B%22%20target%3D%22%5C%26quot%3B_blank%5C%26quot%3B%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-developer-community-blog%2Fbuilding-a-cloud-native-lab-at-home%2Fba-p%2F2519504%26lt%3B%5C%2FA%26gt%3B%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FA%3E%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin%3A%22%200in%3D%22%22%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin%3A%22%200in%3D%22%22%3EIn%20that%20post%20I%20mentioned%20in%20passing%20that%20I'd%20also%20be%20looking%20into%20doing%20day%20two%20stuff.%20And%20I%20did.%20It%20just%20didn't%20materialize%20in%20a%20new%20post%20%3A)%26lt%3B%5C%2Fimg%26gt%3B%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin%3A%22%200in%3D%22%22%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin%3A%22%200in%3D%22%22%3EWhat%20I%20realized%20when%20testing%20out%20stuff%20was%20that%20while%20I%20did%20use%20my%20own%20blog%20post%20for%20reference%20it%20was%20sort%20of%20unpractical%20scrolling%20up%20and%20down%20the%20page%20to%20find%20the%20right%20command%2C%20and%20jumping%20between%20various%20tools%20and%20ways%20of%20solving%20things.%20I%20thought%20that%20%22hey%2C%20wouldn't%20it%20be%20nice%20if%20I%20could%20just%20start%20a%20script%20and%20have%20it%20go%20through%20everything%20automatically%3F%22%20Of%20course%20it%20would%3B%20it%20was%20just%20a%20matter%20of%20a%20little%20bit%20of%20effort%20getting%20there.%20(Or%20almost%20there%20at%20least.)%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin%3A%22%200in%3D%22%22%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin%3A%22%200in%3D%22%22%3ETL%3BDR%20-%20I%20have%20a%20repo%20over%20at%20%3CA%20title%3D%22%5C%26quot%3Bhttps%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%5C%26quot%3B%22%20href%3D%22%5C%26quot%3Bhttps%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%5C%26quot%3B%22%20target%3D%22%5C%26quot%3B_blank%5C%26quot%3B%22%20rel%3D%22%5C%26quot%3Bnoopener%20nofollow%20noopener%20noreferrer%22%20noreferrer%3D%22%22%3Ehttps%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%26lt%3B%5C%2FA%26gt%3B%20where%20I%20have%20made%20a%20collection%20of%20scripts%20to%20set%20you%20up%20with%20an%20AKS%20cluster%20along%20with%20a%20couple%20of%20features%20you%20may%20need%2Fwant%20to%20test%20on%20your%20Windows%20Server%2FAzure%20Stack%20HCI%20box.%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FA%3E%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin%3A%22%200in%3D%22%22%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin%3A%22%200in%3D%22%22%3EStill%20here%3F%20I'll%20call%20out%20a%20few%20things%20to%20provide%20a%20backdrop%20and%20a%20couple%20of%20explanations.%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin%3A%22%200in%3D%22%22%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin%3A%22%200in%3D%22%22%3EI%20wanted%20to%20have%20a%20repo%20you%20could%20pull%20down%20and%20step%20through%20interactively%20on%20your%20client%20computer%20using%20.NET%20Interactive%20Notebooks.%20That's%20a%20great%20way%20to%20run%20code%20inline%20in%20a%20document.%20Turns%20out%20that%20doesn't%20work%20when%20you%20attempt%20to%20setup%20a%20remote%20PowerShell%20session.%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin%3A%22%200in%3D%22%22%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin%3A%22%200in%3D%22%22%3EI%20was%20also%20thinking%20about%20having%20the%20repo%20set%20up%20Visual%20Studio%20Code%20and%20all%20the%20UI%20tooling%20you%20need%20(locally%20on%20the%20host%20system).%20That%20sort%20of%20worked%2C%20but%20that%20would%20assume%20you're%20running%20the%20Desktop%20Experience%20which%20you're%20not%20doing%20if%20you%20use%20Azure%20Stack%20HCI.%20So%20I%20made%20it%20a%20command%20line%20experience%20-%20you%20probably%20need%20to%20copy%20the%20initial%20bootstrapping%20from%20your%20desktop%20to%20the%20server%2C%20but%20as%20part%20of%20the%20bootstrap%20Git%20is%20installed%20and%20the%20repo%20pulled%20down%20so%20you%20can%20do%20the%20rest%20without%20having%20a%20CTRL-C%20%2B%20CTRL-V%20party.%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin%3A%22%200in%3D%22%22%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin%3A%22%200in%3D%22%22%3ESo%2C%20looking%20at%20the%20commit%20dates%20it%20seems%20this%20was%20done%20a%20long%20time%20ago%3F%20Yes%20and%20no.%20A%20couple%20of%20things%20went%20up%20early%2C%20but%20I%20needed%20some%20QA%20time%20and%20was%20also%20stuck%20on%20bugs%20with%20the%20product%20and%20the%20components%20so%20it%20wasn't%20that%20easy.%20I%20didn't%20want%20to%20provide%20a%20guide%20sending%20you%20straight%20into%20%22this%20doesn't%20work%22.%20There's%20also%20other%20things%20I%20spent%20time%20testing%20that%20ended%20up%20being%20left%20out.%20And%20I%20wasn't%20in%20a%20hurry%20I%20guess%20%3A)%26lt%3B%5C%2Fimg%26gt%3B%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin%3A%22%200in%3D%22%22%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin%3A%22%200in%3D%22%22%3EModularizing%20it%20however%20was%20not%20an%20error%3B%20that%20was%20a%20deliberate%20choice.%20I%20have%20separated%20things%20into%20sections%20that%20should%20be%20independent%20of%20each%20other%26nbsp%3B%20-%20you%20just%20want%20to%20test%20Flux%20and%20don't%20care%20about%20Grafana%3F%20No%20prob.%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin%3A%22%200in%3D%22%22%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin%3A%22%200in%3D%22%22%3EThe%20repo%20does%20not%20go%20into%20great%20lengths%20explaining%20choices%20and%20the%20%22why%22%20of%20things.%20I%20wanted%20to%20keep%20it%20more%20to%20the%20point.%20That%20way%20it%20is%20easier%20to%20update%20and%20replace%20things%20as%20well.%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin%3A%22%200in%3D%22%22%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin%3A%22%200in%3D%22%22%3EHere%20are%20sections%20and%20components%20of%20the%20guide%3A%26lt%3B%5C%2FP%26gt%3B%5Cn%3CUL%20style%3D%22%5C%26quot%3Bdirection%3A%22%20ltr%3D%22%22%3E%5Cn%3CLI%20style%3D%22%5C%26quot%3Bmargin-top%3A%22%2012pt%3D%22%22%3E%3CA%20href%3D%22%5C%26quot%3Bhttps%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%2Fblob%2Fmain%2F01_Bootstrap%5C%26quot%3B%22%20target%3D%22%5C%26quot%3B_blank%5C%26quot%3B%22%20rel%3D%22%5C%26quot%3Bnoopener%20nofollow%20noopener%20noreferrer%22%20noreferrer%3D%22%22%3E%3CSPAN%20style%3D%22%5C%26quot%3Bfont-family%3A%22%20calibri%3D%22%22%3E01_Bootstrap%26lt%3B%5C%2FSPAN%26gt%3B%26lt%3B%5C%2FA%26gt%3B%3CSPAN%20style%3D%22%5C%26quot%3Bfont-family%3A%22%20calibri%3D%22%22%3E%3CBR%20%2F%3EWe%20install%20the%20necessary%20tooling%20and%20install%20a%20management%20and%20a%20workload%20cluster.%26lt%3B%5C%2FSPAN%26gt%3B%26lt%3B%5C%2FLI%26gt%3B%5Cn%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FA%3E%3C%2FLI%3E%3CLI%20style%3D%22%5C%26quot%3Bmargin-top%3A%22%2012pt%3D%22%22%3E%3CA%20href%3D%22%5C%26quot%3Bhttps%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%2Fblob%2Fmain%2F02_Monitoring%5C%26quot%3B%22%20target%3D%22%5C%26quot%3B_blank%5C%26quot%3B%22%20rel%3D%22%5C%26quot%3Bnoopener%20nofollow%20noopener%20noreferrer%22%20noreferrer%3D%22%22%3E%3CSPAN%20style%3D%22%5C%26quot%3Bfont-family%3A%22%20calibri%3D%22%22%3E02_Monitoring%26lt%3B%5C%2FSPAN%26gt%3B%26lt%3B%5C%2FA%26gt%3B%3CSPAN%20style%3D%22%5C%26quot%3Bfont-family%3A%22%20calibri%3D%22%22%3E%3CBR%20%2F%3EWe%20install%20Prometheus%2C%20Grafana%20and%20Jaeger.%20Loadbalancers%20for%20all%20three%20are%20also%20created%20(if%20you%20want)%2C%20but%20not%20DNS%20names.%26lt%3B%5C%2FSPAN%26gt%3B%26lt%3B%5C%2FLI%26gt%3B%5Cn%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FA%3E%3C%2FLI%3E%3CLI%20style%3D%22%5C%26quot%3Bmargin-top%3A%22%2012pt%3D%22%22%3E%3CA%20href%3D%22%5C%26quot%3Bhttps%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%2Fblob%2Fmain%2F03_Azure_Policy%5C%26quot%3B%22%20target%3D%22%5C%26quot%3B_blank%5C%26quot%3B%22%20rel%3D%22%5C%26quot%3Bnoopener%20nofollow%20noopener%20noreferrer%22%20noreferrer%3D%22%22%3E%3CSPAN%20style%3D%22%5C%26quot%3Bfont-family%3A%22%20calibri%3D%22%22%3E03_Azure_Policy%26lt%3B%5C%2FSPAN%26gt%3B%26lt%3B%5C%2FA%26gt%3B%3CSPAN%20style%3D%22%5C%26quot%3Bfont-family%3A%22%20calibri%3D%22%22%3E%3CBR%20%2F%3EWe%20create%20a%20service%20principal%20(with%20a%20%22Policy%20Writer%22%20role)%20and%20use%20this%20to%20enable%20Azure%20Policy%20in%20our%20cluster.%26lt%3B%5C%2FSPAN%26gt%3B%26lt%3B%5C%2FLI%26gt%3B%5Cn%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FA%3E%3C%2FLI%3E%3CLI%20style%3D%22%5C%26quot%3Bmargin-top%3A%22%2012pt%3D%22%22%3E%3CA%20href%3D%22%5C%26quot%3Bhttps%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%2Fblob%2Fmain%2F04_ExternalAccess%5C%26quot%3B%22%20target%3D%22%5C%26quot%3B_blank%5C%26quot%3B%22%20rel%3D%22%5C%26quot%3Bnoopener%20nofollow%20noopener%20noreferrer%22%20noreferrer%3D%22%22%3E%3CSPAN%20style%3D%22%5C%26quot%3Bfont-family%3A%22%20calibri%3D%22%22%3E04_ExternalAccess%26lt%3B%5C%2FSPAN%26gt%3B%26lt%3B%5C%2FA%26gt%3B%3CSPAN%20style%3D%22%5C%26quot%3Bfont-family%3A%22%20calibri%3D%22%22%3E%3CBR%20%2F%3EWe%20install%20Nginx%20and%20CertManager%2C%20and%20configure%20integration%20with%20Azure%20DNS.%20This%20enables%20you%20to%20have%20Kubernetes%20take%20care%20of%20configuring%20DNS%20for%20you%20and%20enroll%20a%20certificate%20from%20Let's%20Encrypt%20when%20you%20deploy%20an%20application%20to%20the%20cluster.%26lt%3B%5C%2FSPAN%26gt%3B%26lt%3B%5C%2FLI%26gt%3B%5Cn%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FA%3E%3C%2FLI%3E%3CLI%20style%3D%22%5C%26quot%3Bmargin-top%3A%22%2012pt%3D%22%22%3E%3CA%20href%3D%22%5C%26quot%3Bhttps%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%2Fblob%2Fmain%2F05_MonitoringIngress%5C%26quot%3B%22%20target%3D%22%5C%26quot%3B_blank%5C%26quot%3B%22%20rel%3D%22%5C%26quot%3Bnoopener%20nofollow%20noopener%20noreferrer%22%20noreferrer%3D%22%22%3E%3CSPAN%20style%3D%22%5C%26quot%3Bfont-family%3A%22%20calibri%3D%22%22%3E05_MonitoringIngress%26lt%3B%5C%2FSPAN%26gt%3B%26lt%3B%5C%2FA%26gt%3B%3CSPAN%20style%3D%22%5C%26quot%3Bfont-family%3A%22%20calibri%3D%22%22%3E%3CBR%20%2F%3EThis%20section%20provides%20configuration%20files%20for%20enabling%20ingress%20for%20Prometheus%20and%20Jaeger.%26lt%3B%5C%2FSPAN%26gt%3B%26lt%3B%5C%2FLI%26gt%3B%5Cn%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FA%3E%3C%2FLI%3E%3CLI%20style%3D%22%5C%26quot%3Bmargin-top%3A%22%2012pt%3D%22%22%3E%3CA%20href%3D%22%5C%26quot%3Bhttps%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%2Fblob%2Fmain%2F06_AzureServiceOperator%5C%26quot%3B%22%20target%3D%22%5C%26quot%3B_blank%5C%26quot%3B%22%20rel%3D%22%5C%26quot%3Bnoopener%20nofollow%20noopener%20noreferrer%22%20noreferrer%3D%22%22%3E%3CSPAN%20style%3D%22%5C%26quot%3Bfont-family%3A%22%20calibri%3D%22%22%3E06_AzureServiceOperator%26lt%3B%5C%2FSPAN%26gt%3B%26lt%3B%5C%2FA%26gt%3B%3CSPAN%20style%3D%22%5C%26quot%3Bfont-family%3A%22%20calibri%3D%22%22%3E%3CBR%20%2F%3EBrief%20explanation%20on%20Azure%20Service%20Operator%20with%20links%20to%20MS%20docs.%26lt%3B%5C%2FSPAN%26gt%3B%26lt%3B%5C%2FLI%26gt%3B%5Cn%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FA%3E%3C%2FLI%3E%3CLI%20style%3D%22%5C%26quot%3Bmargin-top%3A%22%2012pt%3D%22%22%3E%3CA%20href%3D%22%5C%26quot%3Bhttps%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%2Fblob%2Fmain%2F07_Dapr%5C%26quot%3B%22%20target%3D%22%5C%26quot%3B_blank%5C%26quot%3B%22%20rel%3D%22%5C%26quot%3Bnoopener%20nofollow%20noopener%20noreferrer%22%20noreferrer%3D%22%22%3E%3CSPAN%20style%3D%22%5C%26quot%3Bfont-family%3A%22%20calibri%3D%22%22%3E07_Dapr%26lt%3B%5C%2FSPAN%26gt%3B%26lt%3B%5C%2FA%26gt%3B%3CSPAN%20style%3D%22%5C%26quot%3Bfont-family%3A%22%20calibri%3D%22%22%3E%3CBR%20%2F%3EExplanation%20of%20Dapr%20plus%20installation%20commands.%20Links%20to%20more%20info%20and%20samples.%26lt%3B%5C%2FSPAN%26gt%3B%26lt%3B%5C%2FLI%26gt%3B%5Cn%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FA%3E%3C%2FLI%3E%3CLI%20style%3D%22%5C%26quot%3Bmargin-top%3A%22%2012pt%3D%22%22%3E%3CA%20href%3D%22%5C%26quot%3Bhttps%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%2Fblob%2Fmain%2F08_Flux%5C%26quot%3B%22%20target%3D%22%5C%26quot%3B_blank%5C%26quot%3B%22%20rel%3D%22%5C%26quot%3Bnoopener%20nofollow%20noopener%20noreferrer%22%20noreferrer%3D%22%22%3E%3CSPAN%20style%3D%22%5C%26quot%3Bfont-family%3A%22%20calibri%3D%22%22%3E08_Flux%26lt%3B%5C%2FSPAN%26gt%3B%26lt%3B%5C%2FA%26gt%3B%3CSPAN%20style%3D%22%5C%26quot%3Bfont-family%3A%22%20calibri%3D%22%22%3E%3CBR%20%2F%3EInstallation%20of%20a%20sample%20app%20using%20a%20GitOps%20approach%20with%20Flux.%26lt%3B%5C%2FSPAN%26gt%3B%26lt%3B%5C%2FLI%26gt%3B%5Cn%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FA%3E%3C%2FLI%3E%3CLI%20style%3D%22%5C%26quot%3Bmargin-top%3A%22%2012pt%3D%22%22%3E%3CA%20href%3D%22%5C%26quot%3Bhttps%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%2Fblob%2Fmain%2FSamples%5C%26quot%3B%22%20target%3D%22%5C%26quot%3B_blank%5C%26quot%3B%22%20rel%3D%22%5C%26quot%3Bnoopener%20nofollow%20noopener%20noreferrer%22%20noreferrer%3D%22%22%3E%3CSPAN%20style%3D%22%5C%26quot%3Bfont-family%3A%22%20calibri%3D%22%22%3ESamples%26lt%3B%5C%2FSPAN%26gt%3B%26lt%3B%5C%2FA%26gt%3B%3CSPAN%20style%3D%22%5C%26quot%3Bfont-family%3A%22%20calibri%3D%22%22%3E%3CBR%20%2F%3ESamples%20for%20testing%20out%20the%20basic%20functionality%20of%20the%20cluster%20based%20on%20the%20installations%20in%20the%20sections%20above.%26lt%3B%5C%2FSPAN%26gt%3B%26lt%3B%5C%2FLI%26gt%3B%5Cn%26lt%3B%5C%2FUL%26gt%3B%5Cn%3CP%20style%3D%22%5C%26quot%3Bmargin-left%3A%22%20.375in%3D%22%22%3EWhile%20the%20focus%20is%20more%20on%20the%20scripts%20than%20explanations%20I%20have%20attempted%20to%20include%20some%20instructions.%20Note%20that%20you%20also%20need%20to%20fill%20in%20the%20blanks%20yourself%20for%20variables%20unique%20to%20your%20environment.%20(Cloning%20the%20repo%20and%20just%20executing%20the%20PowerShell%20immediately%20will%20most%20likely%20throw%20errors%20at%20you.)%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin-left%3A%22%20.375in%3D%22%22%3EI'm%20not%20saying%20this%20is%20the%20only%20way%2C%20or%20the%20right%20way%20for%20everyone.%20And%20since%20the%20focus%20is%20on%20dev%20use%20it%20could%20very%20well%20be%20that%20you%20don't%20care%20about%20things%20like%20Azure%20Policy.%20Having%20it%20all%20in%20one%20location%20and%20tested%20in%20a%20cohesive%20manner%20should%20help%20though.%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin-left%3A%22%20.375in%3D%22%22%3EI'm%20currently%20working%20on%20testing%20workload%20identities.%20Worked%20fairly%20easy%20on%20AKS%20in%20the%20cloud.%20Not%20as%20easy%20in%20the%20on-prem%20variant%20so%20we'll%20see%20how%20that%20plays%20out.%20Point%20being%20-%20I%20try%20to%20add%20things%20to%20the%20guide%2C%20and%20will%20attempt%20to%20both%20optimize%20and%20re-arrange%20content%20if%20needed.%20I%20also%20intend%2Fwant%20to%20create%20more%20complex%20samples%3B%20but%20need%20to%20have%20the%20baseline%20working%20before%20going%20all%20in%20on%20that.%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin-left%3A%22%20.375in%3D%22%22%3EI%20guess%20the%20value%20of%20all%20of%20this%20is%20still%20limited%20if%20you%20don't%20have%20the%20hardware%20to%20run%20things.%20That%20has%20made%20me%20think%20of%20whether%20I%20should%20create%20a%20version%20for%20AKS%20running%20in%20Azure%20as%20well%2C%20but%20I%20haven't%20decided%20-%20there%20are%20already%20a%20ton%20of%20guides%20and%20documentation%20out%20there%20for%20that%20purpose.%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin-left%3A%22%20.375in%3D%22%22%3E%3CSPAN%20class%3D%22%5C%26quot%3Blia-inline-image-display-wrapper%22%20lia-image-align-center%3D%22%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Fgxcuf89792%2F%5C%26quot%3Bhttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348449iCA020D9CCF30D643%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%5C%26quot%3B%22%20role%3D%22%5C%26quot%3Bbutton%5C%26quot%3B%22%20title%3D%22AzureStackHCI_Cluster.png%22%20alt%3D%22%5C%26quot%3BAzureStackHCI_Cluster.png%5C%26quot%3B%22%20%2F%3E%26lt%3B%5C%2Fspan%26gt%3B%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%5Cn%3C%2FP%3E%3CP%20style%3D%22%5C%26quot%3Bmargin-left%3A%22%20.375in%3D%22%22%3EHere's%20the%20link%20to%20the%20repo%20again%3A%3CBR%20%2F%3E%3C%2FP%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FA%3E%3CA%20title%3D%22%5C%26quot%3BGitHub%22%20-%3D%22%22%20ahelland%3D%22%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%26lt%3B%5C%2FA%26gt%3B%26lt%3B%5C%2FP%26gt%3B%5Cn%3CP%20style%3D%22%5C%26quot%3Bmargin-left%3A%22%20.375in%3D%22%22%3EAs%20always%20-%20stay%20tuned%20for%20more%20cloud%20fun!%26lt%3B%5C%2FP%26gt%3B%26lt%3B%5C%2Flingo-body%26gt%3B%3CLINGO-TEASER%20id%3D%22%5C%26quot%3Blingo-teaser-3169848%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3E%3C%2FLINGO-TEASER%3E%3C%2FP%3E%3CP%3EIntro%20to%20the%26nbsp%3B%3C%2FP%3E%3C%2FA%3E%3CA%20title%3D%22%5C%26quot%3BGitHub%22%20-%3D%22%22%20ahelland%3D%22%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%26lt%3B%5C%2FA%26gt%3B%26nbsp%3Brepo%20that%20contains%20all%20the%20PowerShell%20you%20need%20to%20setup%20Azure%20Kubernetes%20Service%20in%20your%20home%20on%20your%20hardware%20running%20Azure%20Stack%20HCI%20or%20Windows%20Server%202019%2F2022.%20For%20building%20a%20cloud%20native%20dev%20lab.%20Not%20production%20%3A)%26lt%3B%5C%2Fimg%26gt%3B%26lt%3B%5C%2FP%26gt%3B%5Cn%3CP%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%26lt%3B%5C%2Flingo-teaser%26gt%3B%3CLINGO-LABS%20id%3D%22%5C%26quot%3Blingo-labs-3169848%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3E%3CLINGO-LABEL%3EGet%20Started%26lt%3B%5C%2Flingo-label%26gt%3B%3CLINGO-LABEL%3Elearning%26lt%3B%5C%2Flingo-label%26gt%3B%3CLINGO-LABEL%3EResources%26lt%3B%5C%2Flingo-label%26gt%3B%26lt%3B%5C%2Flingo-labs%26gt%3B%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3C%2FP%3E%3C%2FA%3E%3C%2FLI%3E%3C%2FUL%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3C%2FLINGO-SUB%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3169848%22%20slang%3D%22en-US%22%3EBuilding%20a%20Cloud%20Native%20Lab%20-%20Scripted%20Edition%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3169848%22%20slang%3D%22en-US%22%3E%3CP%20style%3D%22margin%3A%200in%3B%20margin-left%3A%20.375in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3ELast%20year%20I%20did%20a%20blog%20post%20on%20how%20to%20build%20a%20cloud%20native%20lab%20at%20home%20based%20on%20Azure%20Stack%20HCI%20and%20AKS%3A%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-left%3A%20.375in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CA%20title%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-developer-community-blog%2Fbuilding-a-cloud-native-lab-at-home%2Fba-p%2F2519504%22%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-developer-community-blog%2Fbuilding-a-cloud-native-lab-at-home%2Fba-p%2F2519504%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-developer-community-blog%2Fbuilding-a-cloud-native-lab-at-home%2Fba-p%2F2519504%3C%2FA%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-left%3A%20.375in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-left%3A%20.375in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3EIn%20that%20post%20I%20mentioned%20in%20passing%20that%20I'd%20also%20be%20looking%20into%20doing%20day%20two%20stuff.%20And%20I%20did.%20It%20just%20didn't%20materialize%20in%20a%20new%20post%20%3A)%3C%2Fimg%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-left%3A%20.375in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-left%3A%20.375in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3EWhat%20I%20realized%20when%20testing%20out%20stuff%20was%20that%20while%20I%20did%20use%20my%20own%20blog%20post%20for%20reference%20it%20was%20sort%20of%20unpractical%20scrolling%20up%20and%20down%20the%20page%20to%20find%20the%20right%20command%2C%20and%20jumping%20between%20various%20tools%20and%20ways%20of%20solving%20things.%20I%20thought%20that%20%22hey%2C%20wouldn't%20it%20be%20nice%20if%20I%20could%20just%20start%20a%20script%20and%20have%20it%20go%20through%20everything%20automatically%3F%22%20Of%20course%20it%20would%3B%20it%20was%20just%20a%20matter%20of%20a%20little%20bit%20of%20effort%20getting%20there.%20(Or%20almost%20there%20at%20least.)%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-left%3A%20.375in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-left%3A%20.375in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3ETL%3BDR%20-%20I%20have%20a%20repo%20over%20at%20%3CA%20title%3D%22https%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%22%20href%3D%22https%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%3C%2FA%3E%20where%20I%20have%20made%20a%20collection%20of%20scripts%20to%20set%20you%20up%20with%20an%20AKS%20cluster%20along%20with%20a%20couple%20of%20features%20you%20may%20need%2Fwant%20to%20test%20on%20your%20Windows%20Server%2FAzure%20Stack%20HCI%20box.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-left%3A%20.375in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-left%3A%20.375in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3EStill%20here%3F%20I'll%20call%20out%20a%20few%20things%20to%20provide%20a%20backdrop%20and%20a%20couple%20of%20explanations.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-left%3A%20.375in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-left%3A%20.375in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3EI%20wanted%20to%20have%20a%20repo%20you%20could%20pull%20down%20and%20step%20through%20interactively%20on%20your%20client%20computer%20using%20.NET%20Interactive%20Notebooks.%20That's%20a%20great%20way%20to%20run%20code%20inline%20in%20a%20document.%20Turns%20out%20that%20doesn't%20work%20when%20you%20attempt%20to%20setup%20a%20remote%20PowerShell%20session.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-left%3A%20.375in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-left%3A%20.375in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3EI%20was%20also%20thinking%20about%20having%20the%20repo%20set%20up%20Visual%20Studio%20Code%20and%20all%20the%20UI%20tooling%20you%20need%20(locally%20on%20the%20host%20system).%20That%20sort%20of%20worked%2C%20but%20that%20would%20assume%20you're%20running%20the%20Desktop%20Experience%20which%20you're%20not%20doing%20if%20you%20use%20Azure%20Stack%20HCI.%20So%20I%20made%20it%20a%20command%20line%20experience%20-%20you%20probably%20need%20to%20copy%20the%20initial%20bootstrapping%20from%20your%20desktop%20to%20the%20server%2C%20but%20as%20part%20of%20the%20bootstrap%20Git%20is%20installed%20and%20the%20repo%20pulled%20down%20so%20you%20can%20do%20the%20rest%20without%20having%20a%20CTRL-C%20%2B%20CTRL-V%20party.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-left%3A%20.375in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-left%3A%20.375in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3ESo%2C%20looking%20at%20the%20commit%20dates%20it%20seems%20this%20was%20done%20a%20long%20time%20ago%3F%20Yes%20and%20no.%20A%20couple%20of%20things%20went%20up%20early%2C%20but%20I%20needed%20some%20QA%20time%20and%20was%20also%20stuck%20on%20bugs%20with%20the%20product%20and%20the%20components%20so%20it%20wasn't%20that%20easy.%20I%20didn't%20want%20to%20provide%20a%20guide%20sending%20you%20straight%20into%20%22this%20doesn't%20work%22.%20There's%20also%20other%20things%20I%20spent%20time%20testing%20that%20ended%20up%20being%20left%20out.%20And%20I%20wasn't%20in%20a%20hurry%20I%20guess%20%3A)%3C%2Fimg%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-left%3A%20.375in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-left%3A%20.375in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3EModularizing%20it%20however%20was%20not%20an%20error%3B%20that%20was%20a%20deliberate%20choice.%20I%20have%20separated%20things%20into%20sections%20that%20should%20be%20independent%20of%20each%20other%26nbsp%3B%20-%20you%20just%20want%20to%20test%20Flux%20and%20don't%20care%20about%20Grafana%3F%20No%20prob.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-left%3A%20.375in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-left%3A%20.375in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3EThe%20repo%20does%20not%20go%20into%20great%20lengths%20explaining%20choices%20and%20the%20%22why%22%20of%20things.%20I%20wanted%20to%20keep%20it%20more%20to%20the%20point.%20That%20way%20it%20is%20easier%20to%20update%20and%20replace%20things%20as%20well.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-left%3A%20.375in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-left%3A%20.375in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3EHere%20are%20sections%20and%20components%20of%20the%20guide%3A%3C%2FP%3E%0A%3CUL%20style%3D%22direction%3A%20ltr%3B%20unicode-bidi%3A%20embed%3B%20margin-top%3A%200in%3B%20margin-bottom%3A%200in%3B%22%20type%3D%22disc%22%3E%0A%3CLI%20style%3D%22margin-top%3A%2012pt%3B%20margin-bottom%3A%2012pt%3B%20vertical-align%3A%20middle%3B%20color%3A%20%23201f1e%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%2Fblob%2Fmain%2F01_Bootstrap%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20style%3D%22font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E01_Bootstrap%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20style%3D%22font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CBR%20%2F%3EWe%20install%20the%20necessary%20tooling%20and%20install%20a%20management%20and%20a%20workload%20cluster.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22margin-top%3A%2012pt%3B%20margin-bottom%3A%2012pt%3B%20vertical-align%3A%20middle%3B%20color%3A%20%23201f1e%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%2Fblob%2Fmain%2F02_Monitoring%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20style%3D%22font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E02_Monitoring%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20style%3D%22font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CBR%20%2F%3EWe%20install%20Prometheus%2C%20Grafana%20and%20Jaeger.%20Loadbalancers%20for%20all%20three%20are%20also%20created%20(if%20you%20want)%2C%20but%20not%20DNS%20names.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22margin-top%3A%2012pt%3B%20margin-bottom%3A%2012pt%3B%20vertical-align%3A%20middle%3B%20color%3A%20%23201f1e%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%2Fblob%2Fmain%2F03_Azure_Policy%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20style%3D%22font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E03_Azure_Policy%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20style%3D%22font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CBR%20%2F%3EWe%20create%20a%20service%20principal%20(with%20a%20%22Policy%20Writer%22%20role)%20and%20use%20this%20to%20enable%20Azure%20Policy%20in%20our%20cluster.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22margin-top%3A%2012pt%3B%20margin-bottom%3A%2012pt%3B%20vertical-align%3A%20middle%3B%20color%3A%20%23201f1e%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%2Fblob%2Fmain%2F04_ExternalAccess%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20style%3D%22font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E04_ExternalAccess%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20style%3D%22font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CBR%20%2F%3EWe%20install%20Nginx%20and%20CertManager%2C%20and%20configure%20integration%20with%20Azure%20DNS.%20This%20enables%20you%20to%20have%20Kubernetes%20take%20care%20of%20configuring%20DNS%20for%20you%20and%20enroll%20a%20certificate%20from%20Let's%20Encrypt%20when%20you%20deploy%20an%20application%20to%20the%20cluster.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22margin-top%3A%2012pt%3B%20margin-bottom%3A%2012pt%3B%20vertical-align%3A%20middle%3B%20color%3A%20%23201f1e%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%2Fblob%2Fmain%2F05_MonitoringIngress%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20style%3D%22font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E05_MonitoringIngress%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20style%3D%22font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CBR%20%2F%3EThis%20section%20provides%20configuration%20files%20for%20enabling%20ingress%20for%20Prometheus%20and%20Jaeger.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22margin-top%3A%2012pt%3B%20margin-bottom%3A%2012pt%3B%20vertical-align%3A%20middle%3B%20color%3A%20%23201f1e%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%2Fblob%2Fmain%2F06_AzureServiceOperator%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20style%3D%22font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E06_AzureServiceOperator%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20style%3D%22font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CBR%20%2F%3EBrief%20explanation%20on%20Azure%20Service%20Operator%20with%20links%20to%20MS%20docs.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22margin-top%3A%2012pt%3B%20margin-bottom%3A%2012pt%3B%20vertical-align%3A%20middle%3B%20color%3A%20%23201f1e%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%2Fblob%2Fmain%2F07_Dapr%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20style%3D%22font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E07_Dapr%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20style%3D%22font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CBR%20%2F%3EExplanation%20of%20Dapr%20plus%20installation%20commands.%20Links%20to%20more%20info%20and%20samples.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22margin-top%3A%2012pt%3B%20margin-bottom%3A%2012pt%3B%20vertical-align%3A%20middle%3B%20color%3A%20%23201f1e%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%2Fblob%2Fmain%2F08_Flux%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20style%3D%22font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E08_Flux%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20style%3D%22font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CBR%20%2F%3EInstallation%20of%20a%20sample%20app%20using%20a%20GitOps%20approach%20with%20Flux.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22margin-top%3A%2012pt%3B%20margin-bottom%3A%2012pt%3B%20vertical-align%3A%20middle%3B%20color%3A%20%23201f1e%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%2Fblob%2Fmain%2FSamples%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20style%3D%22font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3ESamples%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20style%3D%22font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%3E%3CBR%20%2F%3ESamples%20for%20testing%20out%20the%20basic%20functionality%20of%20the%20cluster%20based%20on%20the%20installations%20in%20the%20sections%20above.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20style%3D%22margin-left%3A%20.375in%3B%20margin-top%3A%2012pt%3B%20margin-bottom%3A%2012pt%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%20color%3A%20%23201f1e%3B%22%3EWhile%20the%20focus%20is%20more%20on%20the%20scripts%20than%20explanations%20I%20have%20attempted%20to%20include%20some%20instructions.%20Note%20that%20you%20also%20need%20to%20fill%20in%20the%20blanks%20yourself%20for%20variables%20unique%20to%20your%20environment.%20(Cloning%20the%20repo%20and%20just%20executing%20the%20PowerShell%20immediately%20will%20most%20likely%20throw%20errors%20at%20you.)%3C%2FP%3E%0A%3CP%20style%3D%22margin-left%3A%20.375in%3B%20margin-top%3A%2012pt%3B%20margin-bottom%3A%2012pt%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%20color%3A%20%23201f1e%3B%22%3EI'm%20not%20saying%20this%20is%20the%20only%20way%2C%20or%20the%20right%20way%20for%20everyone.%20And%20since%20the%20focus%20is%20on%20dev%20use%20it%20could%20very%20well%20be%20that%20you%20don't%20care%20about%20things%20like%20Azure%20Policy.%20Having%20it%20all%20in%20one%20location%20and%20tested%20in%20a%20cohesive%20manner%20should%20help%20though.%3C%2FP%3E%0A%3CP%20style%3D%22margin-left%3A%20.375in%3B%20margin-top%3A%2012pt%3B%20margin-bottom%3A%2012pt%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%20color%3A%20%23201f1e%3B%22%3EI'm%20currently%20working%20on%20testing%20workload%20identities.%20Worked%20fairly%20easy%20on%20AKS%20in%20the%20cloud.%20Not%20as%20easy%20in%20the%20on-prem%20variant%20so%20we'll%20see%20how%20that%20plays%20out.%20Point%20being%20-%20I%20try%20to%20add%20things%20to%20the%20guide%2C%20and%20will%20attempt%20to%20both%20optimize%20and%20re-arrange%20content%20if%20needed.%20I%20also%20intend%2Fwant%20to%20create%20more%20complex%20samples%3B%20but%20need%20to%20have%20the%20baseline%20working%20before%20going%20all%20in%20on%20that.%3C%2FP%3E%0A%3CP%20style%3D%22margin-left%3A%20.375in%3B%20margin-top%3A%2012pt%3B%20margin-bottom%3A%2012pt%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%20color%3A%20%23201f1e%3B%22%3EI%20guess%20the%20value%20of%20all%20of%20this%20is%20still%20limited%20if%20you%20don't%20have%20the%20hardware%20to%20run%20things.%20That%20has%20made%20me%20think%20of%20whether%20I%20should%20create%20a%20version%20for%20AKS%20running%20in%20Azure%20as%20well%2C%20but%20I%20haven't%20decided%20-%20there%20are%20already%20a%20ton%20of%20guides%20and%20documentation%20out%20there%20for%20that%20purpose.%3C%2FP%3E%0A%3CP%20style%3D%22margin-left%3A%20.375in%3B%20margin-top%3A%2012pt%3B%20margin-bottom%3A%2012pt%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%20color%3A%20%23201f1e%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22AzureStackHCI_Cluster.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348449iCA020D9CCF30D643%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22AzureStackHCI_Cluster.png%22%20alt%3D%22AzureStackHCI_Cluster.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin-left%3A%20.375in%3B%20margin-top%3A%2012pt%3B%20margin-bottom%3A%2012pt%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%20color%3A%20%23201f1e%3B%22%3EHere's%20the%20link%20to%20the%20repo%20again%3A%3CBR%20%2F%3E%3CA%20title%3D%22GitHub%20-%20ahelland%2FCloud-Native-DevLab%3A%20Installation%20scripts%20and%20instructions%20for%20setting%20up%20an%20on-prem%20dev%20lab%20based%20on%20Azure%20Stack%20HCI%20AKS.%22%20href%3D%22https%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%3C%2FA%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin-left%3A%20.375in%3B%20margin-top%3A%2012pt%3B%20margin-bottom%3A%2012pt%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%20color%3A%20%23201f1e%3B%22%3EAs%20always%20-%20stay%20tuned%20for%20more%20cloud%20fun!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-3169848%22%20slang%3D%22en-US%22%3E%3CP%3EIntro%20to%20the%26nbsp%3B%3CA%20title%3D%22GitHub%20-%20ahelland%2FCloud-Native-DevLab%3A%20Installation%20scripts%20and%20instructions%20for%20setting%20up%20an%20on-prem%20dev%20lab%20based%20on%20Azure%20Stack%20HCI%20AKS.%22%20href%3D%22https%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fahelland%2FCloud-Native-DevLab%3C%2FA%3E%26nbsp%3Brepo%20that%20contains%20all%20the%20PowerShell%20you%20need%20to%20setup%20Azure%20Kubernetes%20Service%20in%20your%20home%20on%20your%20hardware%20running%20Azure%20Stack%20HCI%20or%20Windows%20Server%202019%2F2022.%20For%20building%20a%20cloud%20native%20dev%20lab.%20Not%20production%20%3A)%3C%2Fimg%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3169848%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EGet%20Started%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Elearning%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EResources%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Co-Authors
Version history
Last update:
‎Feb 15 2022 12:06 PM
Updated by: