Kubernetes
This document highlights different ways you can integrate your k8s cluster to Doctor Droid.
Doctor Droid offers 3 ways to connect to your k8s cluster.
Using DRD Agent
The fastest and easiest way to integrate is to install the DRD agent in your cluster using the proxy token from the platform. Here are the steps to do this:
-
Obtain your proxy token from the platform
-
Clone the DRD Agent repository from github (https://github.com/DrDroidLab/drd-vpc-agent)
-
Make sure you are pointing to the right k8s cluster in the kubeconfig. Run the following commands:
cd helm ./deploy_helm.sh <API_TOKEN>
-
Post the helm installation, you should see the status as Active for the proxy token you used.
-
You should also start seeing the cluster registered with us in the Integrations page.
After this, you can run commands on your k8s cluster from Doctor Droid for standalone and as part of investigations.
Go to the Start Investigation page and type this Get all pods from default namespace in my k8s cluster
and you should get the output.
Using Service token
You can obtain a service account token from your k8s cluster and share it with the Doctor Droid platform. Find more details about this method here. This method is useful when you are not authorised or permitted to install a third party container in your cluster.
Using cloud provider credentials (for managed k8s clusters)
Doctor Droid allows you to provide IAM credentials from your cloud provider that have been authorised to run kubectl commands in your cluster. Here are details for different cloud providers.
- Amazon EKS
- Google Cloud GKE
- Azure AKS - Coming soon
Updated 8 days ago