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

Support OpenShift Deployments #73

Closed
jreadey opened this issue Nov 9, 2020 · 2 comments
Closed

Support OpenShift Deployments #73

jreadey opened this issue Nov 9, 2020 · 2 comments

Comments

@jreadey
Copy link
Member

jreadey commented Nov 9, 2020

When deployed on OpenShift, HSDS containers fail to register. This looks to be due to this line: https://github.com/HDFGroup/hsds/blob/master/hsds/basenode.py:L314 (the list_pod_for_all_namespaces call). OpenShift doesn't permit listing of pods not managed by the deployer.

@jreadey
Copy link
Member Author

jreadey commented Nov 9, 2020

I've checked in changes to use the k8s api: list_namespaced_pod in the openshift branch.
To work, pods need to be deployed in a namespace and the config value "k8s_namespace" set to the namespace name.

@jreadey
Copy link
Member Author

jreadey commented Nov 12, 2020

The update appears to be working, see: https://forum.hdfgroup.org/t/deployment-to-openshift-shared-cluster/7679/6.

Closing this issue.

@jreadey jreadey closed this as completed Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant