Kubernetes Discovery Issue

Deepanshu Grov1
Tera Contributor

Hi, 

I am trying to run the Kubernetes Discovery, however, getting the following error: 

Pattern exit because Graceful Termination, reason: Kubernetes Namespace API call failed or there are no Namespaces in the query. Please verify the configuration data and/or user permissions.

I already have tested the connectivity of this API from the mid server using the postman and it is working fine.
Any assistance around this topic will be highly appreciated.


Thanks

Deepanshu Grover
+47-46634388
6 REPLIES 6

Hey, I have successfully resolved that error, are you discovering Azure AKS...

Please ensure that you have ports opened from mid server to azure AKS clusters URL and bearer token is right. 

You can test the same by installing the postman on the mid server itself and then try to GET the API. 

You might need to disable the SSL cert there in the Postman if you do not have the right certificate at the moment, try that first and share your response. 

pratiksha5
Mega Sage

how to get the token. I am not able to find the correct command.