Request for Guidance: Definite Criteria for Identifying OpenShift Kubernetes Cluster #70686
Labels
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
Hello OpenShift Community,
I hope this message finds you well. I am currently working on a project that involves programmatically identifying Kubernetes clusters, specifically those running OpenShift. I would appreciate your insights and guidance regarding the criteria or characteristics that can be used to definitively identify an OpenShift Kubernetes cluster.
Here are some specific details I'm interested in:
I've found many projects are depending on namespaces and annotations or labels in resources which can be mutable or deleted, which is not always reliable.
I believe presence of routes in cluster can be helpful here but am not sure, whether this can also lead to above issue.
I've reviewed the official documentation, couldn't find anything around how openshift identify's it's kubernetes cluster? I'm seeking practical insights and experiences from the community. Your expertise will be invaluable in ensuring accurate identification of OpenShift clusters in my application.
Thank you in advance for your time and assistance. Any pointers, code snippets, or documentation references would be greatly appreciated.
The text was updated successfully, but these errors were encountered: