Skip to content

Replicate kubectl create -f in python client #591

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
simeonkorchev opened this issue Aug 8, 2018 · 3 comments
Closed

Replicate kubectl create -f in python client #591

simeonkorchev opened this issue Aug 8, 2018 · 3 comments

Comments

@simeonkorchev
Copy link

Hello,
I am trying to deploy Issuer and Certificate in a particular namespace with Kubernetes Python client. However, I can not figure out how to get this done. Is it implemented such a functionality which simulates the behavior of "kubectl create -f file" command? If not, has the implementation of this functionality been planned already?
Regards

@qubusp
Copy link

qubusp commented Aug 8, 2018

Same issue here, #514, look at the code on the bottom.

@tomplus
Copy link
Member

tomplus commented Aug 13, 2018

Something like kubectl create -f file you can find in this example: https://github.com/kubernetes-client/python/blob/master/examples/create_deployment.py

@roycaihw
Copy link
Member

roycaihw commented Oct 12, 2018

@tomplus complained [edit: explained ;-)] this well. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants