As mentioned here,
A Kubernetes systems-generated string to uniquely identify objects. Every object created over the whole lifetime of a Kubernetes cluster has a distinct UID. It is intended to distinguish between historical occurrences of similar entities.
We have multiple k8s clusters in GCP
Each k8s cluster has multiple namespace.
Each namespace has multiple pods
Using kubernetes API, We monitor Pod health(Podname, ready, status, restarts, age, Podnamespace) from each namespace of each K8s clusters and store data in MongoDB document.
Goal is to make unique entry of each Pod in a MongoDB document
Is Pod UID a unique id across multiple K8s cluster? if no, what is the best primary key to store Pod entry in a MongoDB document?