Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Python library to interact with svc-cat

18 views
Skip to first unread message

x...@cinaq.com

unread,
Feb 21, 2019, 10:52:25 AM2/21/19
to kubernetes-sig-service-catalog
Hi,

I'm building a small python program to interact with Service Catalog. Like listing service instances, create, delete etc...

Currently, I'm using https://github.com/kubernetes-client/python but it is not aware of models/resources defined by service catalog like ServiceInstance.

Using the official python kubernetes-client I can interact with Service Catalog now but have to reverse engineer the models based on responses and https://github.com/kubernetes-incubator/service-catalog/blob/master/pkg/apis/servicecatalog/v1beta1/types.go
This is lots of work and very error prone. Let alone not maintainable in the long run.

Anyone can recommend a better way of talking to svc-cat from python?

Thanks a lot!

Xiwen

Jonathan Berkhahn

unread,
Mar 1, 2019, 2:43:45 PM3/1/19
to kubernetes-sig-service-catalog
Unfortunately, I'm not aware of any way better than what you're already doing. Is there anything for interacting with CRDs?

- Jonathan
Reply all
Reply to author
Forward
0 new messages