19.2 Identity Manager Container Deployment on Azure Kubernetes Service

This section provides information on deploying the Identity Manager containers on Azure kubernetes service.

  1. Run the following command to connect to the Kubernetes cluster and store the required configuration:

    az aks get-credentials --resource-group <resource group> --name <cluster name> --overwrite-existing

    For example,

    az aks get-credentials --resource-group idvault-rg --name cluster-name --overwrite-existing

  2. Run the following command to create an Nginx instance used to run the Load balancer:

    helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
  3. Perform the following steps to obtain the public IP address of the Kubernetes Service from the Azure portal.

    1. Go to the Azure home page, and click All resources.

    2. In the search box, type load balancer and click enter.

    3. Click the load balancer associated with your resource group and AKS cluster.

    4. Go to Settings > Front end IP configuration and copy the first IP address.

  4. Navigate to the IDM_4.8.6_Cloud_Deployment_files directory, run the following command to install Nginx-ingress controller:

    helm install nginx-ingress ingress-nginx/ingress-nginx --namespace <your namespace> --set controller.replicaCount=1 --set controller.service.loadBalancerIP=<Kubernetes public IP address obtained from the Azure portal> --set controller.service.annotations."service\.beta\.kubernetes\.io/azure-dns-label-name"=<Domain Name>

    For example,

    helm install nginx-ingress ingress-nginx/ingress-nginx --namespace idm --set controller.replicaCount=1 --set controller.service.loadBalancerIP=192.168.0.1 --set controller.service.annotations."service\.beta\.kubernetes\.io/azure-dns-label-name"=identitymanager

  5. To run the Helm Charts, run the following command:

    helm install identity-manager helm_charts/identity-manager-1.1.0.tgz --namespace <namespace> -f values.yaml

    For example,

    helm install identity-manager helm_charts/identity-manager-1.1.0.tgz --namespace idm -f values.yaml

  6. Run the following command to view the list of pods that are running in the Azure Kubernetes Service:

    kubectl get pods --watch -n <namespace>

    For example,

    kubectl get pods --watch -n idm