From 275783dc278fe921365e86fd976c366eaa85d38e Mon Sep 17 00:00:00 2001 From: Paul Yu Date: Sun, 12 Nov 2023 15:39:43 -0800 Subject: [PATCH] docs: update azure doc on installing exporter --- demo/azure.md | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/demo/azure.md b/demo/azure.md index 16e2275..6ec5ae3 100644 --- a/demo/azure.md +++ b/demo/azure.md @@ -261,27 +261,18 @@ To test with real data from the Carbon Aware SDK, head over to this [repo](https If you do not have WattTime API credentials you can skip this step and still test this operator using mock carbon intensity data -```bash -cd /tmp -git clone https://github.com/Azure/kubernetes-carbon-intensity-exporter.git -cd kubernetes-carbon-intensity-exporter -``` - Using Helm, install the Carbon Intensity Exporter Operator into the AKS cluster. ```bash -export LOCATION=westus -export WATTTIME_USERNAME= -export WATTTIME_PASSWORD= - -helm install carbon-intensity-exporter \ - --set carbonDataExporter.region=$LOCATION \ - --set wattTime.username=$WATTTIME_USERNAME \ - --set wattTime.password=$WATTTIME_PASSWORD \ - ./charts/carbon-intensity-exporter - -# go back to repo directory -cd /workspaces/carbon-aware-keda-operator +export REGION=westus +export WT_USERNAME= +export WT_PASSWORD= + +helm install carbon-intensity-exporter oci://ghcr.io/azure/kubernetes-carbon-intensity-exporter/charts/carbon-intensity-exporter \ + --version v0.3.0 \ + --set carbonDataExporter.region=$REGION \ + --set wattTime.username=$WT_USERNAME \ + --set wattTime.password=$WT_PASSWORD ``` Verify carbon intensity data is in place.