File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
scenarios/AksOpenAiTerraform Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ ms.author: ariaamini
88ms.custom : innovation-engine, linux-related-content
99---
1010
11- ## Provision Resources with Terraform (~ 8 minutes)
11+ ## Provision Resources with Terraform (~ 5 minutes)
1212Run terraform to provision all the Azure resources required to setup your new OpenAI website.
1313``` bash
1414# Terraform parses TF_VAR_* as vars (Ex: TF_VAR_name -> name)
@@ -31,7 +31,7 @@ az aks get-credentials --admin --name AksCluster --resource-group $RESOURCE_GROU
3131```
3232
3333# Install Helm Charts
34- Install nginx and cert-manager
34+ Install nginx and cert-manager through Helm
3535``` bash
3636helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
3737helm repo add jetstack https://charts.jetstack.io
@@ -55,6 +55,8 @@ helm upgrade --install cert-manager jetstack/cert-manager \
5555Apply/Deploy Manifest File
5656``` bash
5757export IMAGE=" aamini8/magic8ball:v1"
58+ # Uncomment below to manually build docker image yourself instead of using pre-built image.
59+ # docker build -t <YOUR IMAGE NAME> ./magic8ball --push
5860export HOSTNAME=$( terraform -chdir=terraform output -raw hostname)
5961export WORKLOAD_IDENTITY_CLIENT_ID=$( terraform -chdir=terraform output -raw workload_identity_client_id)
6062export AZURE_OPENAI_DEPLOYMENT=$( terraform -chdir=terraform output -raw openai_deployment)
You can’t perform that action at this time.
0 commit comments