Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for Guidance: Definite Criteria for Identifying OpenShift Kubernetes Cluster #70686

Open
KiranBodipi opened this issue Jan 23, 2024 · 1 comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@KiranBodipi
Copy link

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:

  1. What are the unique features or configurations that distinguish an OpenShift cluster from a vanilla Kubernetes cluster?
  2. Are there any Non-deletable resources available in openshift cluster?
  3. Are there any environment variables or configuration files that reliably identify an OpenShift cluster?
    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.

@openshift-bot
Copy link

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci openshift-ci bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

2 participants