Unable to perform Kubernetes Discovery on multiple Clusters
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
55m ago
I'm hoping someone can help me out on this.
Following the Kubernetes discovery using patterns documentation, I have created a Discovery Schedule for each k8s Cluster we have. I have created a unique Serverless Execution Pattern for each of those Discovery Schedules.
Items that are the same through each Pattern:
cluster_resource_id (blank)
cmdb_ci_kubernetes_cluster (blank)
credentialsAlias (The credentials I used to access the environment)
namespace (I want all the namespaces so I used *)
prometheusURL (blank)
provider (OnPrem)
url (The URL for our on prem Container solution)
Items that are unique for each Pattern:
cluster_name (name of the cluster I want to populate)
My current issue is that when I run the first Discovery Schedule, everything populates as expected. But when I run the next one, it overwrites the name of the previous cluster, and doesn't populate the remaining tables (namespaces, ingress, workloads, etc.)
How am I supposed to populate multiple clusters?
I tried adding the individual cluster_resource_id to each Pattern, but that didn't resolve the issue.
