HDFGroup / hsds

Cloud-native, service based access to HDF data
https://www.hdfgroup.org/solutions/hdf-kita/
Apache License 2.0
129 stars 53 forks source link

Support OpenShift Deployments #73

Closed jreadey closed 3 years ago

jreadey commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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

Closing this issue.