Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ kubectl get nodes
## Task 2 - Connect K8s cluster using script

* In your shell go to the folder where you cloned the microhack repository
* Change to the sub-folder '03-Azure/01-03-Infrastructure/03_Hybrid_Azure_Arc_Kubernetes/walkthroughs/challenge-01'
* Change to the sub-folder '03-Azure/01-03-Infrastructure/03_Hybrid_Azure_Arc_Kubernetes/walkthrough/challenge-01'
* Execute the script to
* register required resource providers in your subscription (this step may take several minutes if the resource providers have not been registered before):
* Microsoft.Kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ az k8s-extension create \
git config core.sparseCheckout true

# Specify the folder to checkout (the namespaces folder for this challenge)
echo "03-Azure/01-03-Infrastructure/03_Hybrid_Azure_Arc_Kubernetes/walkthroughs/challenge-05/namespaces" >> .git/info/sparse-checkout
echo "03-Azure/01-03-Infrastructure/03_Hybrid_Azure_Arc_Kubernetes/walkthrough/challenge-05/namespaces" >> .git/info/sparse-checkout

# Pull the content
git pull origin main
Expand All @@ -73,7 +73,7 @@ az k8s-extension create \
In order to manage a namespace via flux, you need a repository. In this microhack we're using a public github repository. If using a private repo make sure to add credentials so flux is able to access your repository. The following command creates a flux configuration which watches the namespaces folder within this repository. All namespace definitions found in this folder will be applied to the cluster.
```bash
repository="https://github.com/<your-github-username>/MicroHack" #Change to your own fork of the Microhack repository
path="/03-Azure/01-03-Infrastructure/03_Hybrid_Azure_Arc_Kubernetes/walkthroughs/challenge-05/namespaces"
path="/03-Azure/01-03-Infrastructure/03_Hybrid_Azure_Arc_Kubernetes/walkthrough/challenge-05/namespaces"

az k8s-configuration flux create \
--resource-group $arc_resource_group \
Expand Down