- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2020 10:23 PM
Hello,
We are planning to implement Kubernetes discovery. We have the credentials (username and password) with cluster access.
Could you please share me the steps, how to make to Kubernetes discovery successful?
Any prerequisite for Kubernetes discovery?
How can I create and configure Kubernetes credential?
I have followed the document page - https://docs.servicenow.com/bundle/newyork-it-operations-management/page/product/service-mapping/concept/kubernetes-discovery.html
Thanks,
Richa
Solved! Go to Solution.
- Labels:
-
Discovery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2020 04:46 AM
Hi,
Nice that was what i tough as well about the token but anyways you did it nice.
What exactly you want to see for this report?
If you see this link in which it explains the data collected for this kubernetes with relationships.
So you can create a report in cmdb_rel_ci table and then put conditions as per your need for example start from top and then go to botton.
To create a report go to report module and then click view / run. Then click on create new, select table as relationship table.
OR
Other way is to use the CMDB Query functionality to give you that report.
Thanks,
Ashutosh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2020 04:46 AM
Hi,
Nice that was what i tough as well about the token but anyways you did it nice.
What exactly you want to see for this report?
If you see this link in which it explains the data collected for this kubernetes with relationships.
So you can create a report in cmdb_rel_ci table and then put conditions as per your need for example start from top and then go to botton.
To create a report go to report module and then click view / run. Then click on create new, select table as relationship table.
OR
Other way is to use the CMDB Query functionality to give you that report.
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2020 07:49 PM
Hi Ashutosh and Richa, I am trying to discover Azure Kubernetes Cluster and getting 401 error. Could you please comment on below steps. (I am not AKS expert.. doing first time)..
1) My Azure Instance
2)kubectl cluster-info
3) kubectl config view (i am using bearer token so not using any of below usernames)
4) kubectl describe secret
5) servicenow credentials
6) serverless discovery definition
7) 401 error
I am not sure how to perform step 3,4 of documentation. https://docs.servicenow.com/bundle/paris-it-operations-management/page/product/service-mapping/concept/kubernetes-discovery.html
Can you please let me know how to fix.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2020 06:53 AM
Thanks Ashutosh.
I am able to build report.