-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathazure.yaml
More file actions
52 lines (45 loc) · 1.63 KB
/
Copy pathazure.yaml
File metadata and controls
52 lines (45 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# kars - Azure Developer CLI (azd) template
# Deploy with: azd init --template Azure/kars && azd up
name: kars
metadata:
template: Azure/kars@main
services:
controller:
project: ./controller
language: rust
host: aks
inference-router:
project: ./inference-router
language: rust
host: aks
sandbox:
project: ./sandbox-images/openclaw
language: js
host: aks
hooks:
preprovision:
shell: sh
run: |
echo "Registering preview features..."
az feature register --namespace Microsoft.Compute --name EncryptionAtHost --output none 2>/dev/null || true
az provider register -n Microsoft.Compute --output none 2>/dev/null || true
postprovision:
shell: sh
run: |
echo "Configuring AKS access..."
az aks get-credentials --name ${AZURE_AKS_NAME} --resource-group ${AZURE_RESOURCE_GROUP} --overwrite-existing --output none
echo "Installing Helm chart..."
helm upgrade --install kars ./deploy/helm/kars \
--namespace kars-system --create-namespace \
--set controller.image.repository=${AZURE_ACR_LOGIN_SERVER}/kars-controller \
--set controller.image.tag=latest \
--set inferenceRouter.image.repository=${AZURE_ACR_LOGIN_SERVER}/kars-inference-router \
--set inferenceRouter.image.tag=latest \
--set sandbox.image.repository=${AZURE_ACR_LOGIN_SERVER}/openclaw-sandbox \
--set sandbox.image.tag=latest \
--set azure.workloadIdentity.clientId=${AZURE_WI_CLIENT_ID} \
--set azure.keyVaultCsi.keyVaultName=${AZURE_KEY_VAULT_NAME} \
--wait --timeout 5m
infra:
provider: bicep
path: ./deploy/bicep