Supported Providers
Azure AKS
Azure AKS provider to view kubernetes resources.
Inputs
- command_type (required): The command type to operate on the k8s cluster (
get_pods
,get_pvc
,get_node_pressure
).
Outputs
Azure AKS Provider currently support the query
function.
Authentication Parameters
The Azure AKS Provider uses subscription_id, resource_name, resource_group_name, client_id, client_secret and tenant_id to allow you to query your cluster resources. You need to provide the following authentication parameters to connect:
- subscription_id (required): The subscription id of your azure account.
- client_id (required): The client id from your rbac config generated in azure.
- client_secret (required): The client secret from your rbac config generated in azure.
- tenant_id (required): The tenant id from your rbac config generated in azure.
- resource_group_name (required): The resource group name where your aks is created.
- resource_name (required): The cluster name of your aks.
Connecting with the Provider
To connect to Azure AKS, follow below steps:
- Log in to your Azure account.
- Go to your kubernetes service page and click on
Connect
button and then click onOpen Cloud Shell
. - Run
az ad sp create-for-rbac --role owner --scopes /subscriptions/<YOUR_SUBSCRIPTION_ID>
in the cloud shell, you will get response similar to:In above JSON object, theappId
isclient_id
,password
isclient_secret
andtenant
istenant_id
Notes
- This provider allows you to interact with Azure AKS to query resources in kubernetes cluster.