How can you set-up openshift discovery without Kubernetes?

Skinner
Tera Contributor

I have to be able to discover OpenShift without Kubernetes.  Has anyone done this?

4 REPLIES 4

sachin_namjoshi
Kilo Patron
Kilo Patron

You can always build your custom pattern to discover OpenShift CIs.

But, OpenShift is based on kubernates platform. What's your use case to not use kubernates?

 

Regards,

Sachin

Skinner
Tera Contributor

The kubernetes APIs are failing with:

2020-06-05 12:33:46: Response has error. Status code is 403 . error code: 6 . error message: Method failed: (/api/v1/namespaces) with code: 403 - Forbidden username/password combo

2020-06-05 12:33:46: HTTP response: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"namespaces is forbidden: User \"system:anonymous\" cannot list namespaces at the cluster scope: no RBAC policy matched","reason":"Forbidden","details":{"kind":"namespaces"},"code":403}

I checked the username and password by logging into the openshift url and I could see the data there.

I was told the path to that API does not exist.

HI Skinner,

 

getting the same error 403, did you get a break through on this ? Were you able to configure  some other path and get this working.

 

Thanks in Advance for your help and support 

lits789
Kilo Explorer

Hi Skinner,

How did you configure/integrate ServiceNow kubernetes plugin with openshift cluster?

How did ServiceNow authenticated to openshift cluster? 

I am following https://docs.servicenow.com/bundle/orlando-it-operations-management/page/product/service-mapping/con...     but not sure where in ServiceNow to configure kubernetes/openshift api authentication details as mentioned in step 3 & 4

Appreciate if you let me know...

 

Thanks

lits