Closed jreadey closed 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.
The update appears to be working, see: https://forum.hdfgroup.org/t/deployment-to-openshift-shared-cluster/7679/6.
Closing this issue.
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.