Edit

Share via


Install networking and observability components for Edge RAG Preview enabled by Azure Arc

For your Edge RAG deployment, install networking and observability components by configuring MetalLB and setting up certificate and trust managers. This article is part of the deployment prerequisites checklist.

Important

Edge RAG Preview, enabled by Azure Arc is currently in PREVIEW. See the Supplemental Terms of Use for Microsoft Azure Previews for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.

Install components for Edge RAG

From the driver machine, install and configure MetalLB for the Azure Arc Azure Kubernetes Service (AKS) cluster and the observability dependency modules.

  1. Install MetalLB

    Skip this step if MetalLB is installed and configured in the current AKS Arc cluster.

    To install and configure MetalLB, you can run the following commands on any of the cluster nodes in the Azure Local instance:

     $lbName = "metallb"
     $ipRange = ""   # <------ Provide the static IP address range that will be assigned to metalLB (format: CIDR format E.g. <IP address>-<IP address> or <IP address>/32)
     $sub = "<Subscription GUID>"
     $rg = "<Resource Group name>"
     $k8scluster = "<AKS Arc cluster name>"
     az extension add -n k8s-runtime --upgrade 
     $resourceuri = "subscriptions/$sub/resourceGroups/$rg/providers/Microsoft.Kubernetes/connectedClusters/$k8scluster"
     az k8s-runtime load-balancer enable --resource-uri $resourceuri
     az k8s-runtime load-balancer create --load-balancer-name $lbName --resource-uri $resourceuri --addresses $ipRange --advertise-mode "ARP"
    
  2. Install observability dependency modules

    Microsoft.iotoperations.platform is a simple extension that installs certificate manager and trust manager modules. Run the following command to install the extension.

     $sub = "<Subscription GUID>"
     $rg = "<Resource Group name>"
     $k8scluster = "<AKS Arc cluster name>"
     az k8s-extension create -g $rg -c $k8scluster -t connectedClusters --scope cluster --name "cert-manager" --release-namespace "cert-manager" --release-train preview --extension-type "Microsoft.iotoperations.platform" --debug
    

    if the Microsoft.iotoperations.platform extension isn't available in your region, use following steps to install the required certificate and trust manager.

    # Install Cert-Manager and Trust-Manager 
    
    kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.15.3/cert-manager.yaml --wait  
    helm repo add jetstack https://charts.jetstack.io --force-update  
    start-sleep -Seconds 20 
    helm upgrade trust-manager jetstack/trust-manager --install --namespace cert-manager --wait 
    

Next step