Obtaining kubeconfig on Azure

Consider the following guidelines for obtaining kubeconfig on Azure.

Locate the liftie cluster identifier for your Cloudera AI Inference service by issuing a describe command using Cloudera Data Platform CLI:
$ cdp ml describe-ml-serving-app --app-crn [***APPLICATION-NAME***]
{
    "app": {
        "appName": "[***APPLICATION-NAME***]",
        "appCrn": "[***APPLICATION-CRN***]",
        "environmentCrn": "[***ENVIRONMENT-CRN***]",
        "environmentName": "[***ENVIRONMENT-NAME***]",
        "ownerEmail": "user@org.com",
        "mlServingVersion": "1.2.0-b72",
        "isPrivateCluster": false,
        "creationDate": "2024-05-07T14:27:16.817000+00:00",
        "cluster": {
            "clusterName": "ml-1fcaa8cf-a94",
            "domainName": "[***DOMAIN-NAME***]"
            "liftieID": "liftie-3544nrdr",
            "isPublic": false,
            "ipAllowlist": "0.0.0.0/0",
            "authorizedIpRangesAllowList": false
        },
        "status": "installation:finished",
        "usePublicLoadBalancer": false,
        "httpsEnabled": true
    }
}

The cluster identifier is in app.cluster.liftieID.

Locate this entry in the Azure Portal’s Kubernetes services page and do the following:

  1. Open the entry.
  2. Click on Connect.
  3. Copy the command under Download cluster credentials to your terminal and execute.

    You are now authenticated and your kubectl context is set up to interact with the AKS cluster.