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
Does the client supports create and run a particular image in a pod operation #2284
Labels
Comments
sjmittal
changed the title
Does the client supports create and run a particular image in a pod.
Does the client supports create and run a particular image in a pod operation
Jun 12, 2020
I don't think we have anything like |
I think |
Umm, yeah. Seems like you're right. Old behavior is to create deployment but I see that that's been marked as deprecated:
|
rohanKanojia
added a commit
to rohanKanojia/kubernetes-client
that referenced
this issue
Aug 24, 2020
…Pod operation Add support for client.run() with which we should be able to create Pod/Deployments just based on few parameters. For example, creating a simple pod should be like: client.run().pods().withName("nginx").withImage("nginx:1.39").done()
rohanKanojia
added a commit
to rohanKanojia/kubernetes-client
that referenced
this issue
Aug 25, 2020
…Pod operation Add support for client.run() with which we should be able to create Pod/Deployments just based on few parameters. For example, creating a simple pod should be like: client.run().pods().withName("nginx").withImage("nginx:1.39").done()
11 tasks
rohanKanojia
added a commit
to rohanKanojia/kubernetes-client
that referenced
this issue
Aug 25, 2020
…Pod operation Add support for client.run() with which we should be able to create Pod/Deployments just based on few parameters. For example, creating a simple pod should be like: client.run().pods().withName("nginx").withImage("nginx:1.39").done()
rohanKanojia
added a commit
to rohanKanojia/kubernetes-client
that referenced
this issue
Aug 25, 2020
…Pod operation Add support for client.run() with which we should be able to create Pod/Deployments just based on few parameters. For example, creating a simple pod should be like: client.run().pods().withName("nginx").withImage("nginx:1.39").done()
11 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wanted to know if there is any method or api which can support an operation like:
kubectl run NAME --image=image [--env="key=value"] [--port=port] [--dry-run=server|client] [--overrides=inline-json] [--command] -- [COMMAND] [args...]
using the the Kubernetes client.
I was going through the examples but I could not find any.
The text was updated successfully, but these errors were encountered: