Open ratsuf opened 3 years ago
Hi @ratsuf, thanks for reporting the issue. Think the older kubectl versions doesn't support getting the details of the resource clusterversion. We might want to update the kubectl version and see if it fixes it. On the other hand, I think we can switch it to use oc version since this operation is specific to openshift distribution.
Hi @chaitanyaenr!
Thank you for the reply.
Switching to oc version
makes more sense in the context of openshift distribution from my point of view.
@ratsuf Do you want to submit a patch for it?
as above, tested commands on a mac https://github.com/cloud-bulldozer/cerberus/pull/135
Dear @chaitanyaenr and @seanogor, I'm afraid 'clusterversion' not present in OKD 3.11 and lower. Please considerate #137 as an extended version of #135 to fix the issue.
Good day! I've tried to deploy Cerberus with distribution config "openshift" and faced the following issue:
Could you please clarify for what purpose start_cerberus.py tries to get some resource with the name clusterversion using kubectl? https://github.com/cloud-bulldozer/cerberus/blob/eb449aae83f9b331d76c4413d0b6f8ab020e0ee7/start_cerberus.py#L107-L109
Unfortunately, I cannot find any details about the command
kubectl get clusterversion
and the resource clusterversion.As a temporary solution, I just switched off this if statement.