-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Bulk creation API #9633
Comments
Any update on this? @thockin |
@jlowdermilk this should work in kubectl, right? How does it work? |
As far as I know the raw API doesn't support multi-create. |
So to answer your question @parikhyash, if you want to create multiple items from a single yaml/json file, use |
Why do we have type List in the API? On Fri, Jun 19, 2015 at 4:28 PM, Jeff Lowdermilk notifications@github.com
|
Thanks for the update @jlowdermilk . I'll continue using the multiple create approach for now. The bulk-creation feature is particularly useful for bringing up all components of a Storm cluster or even a Redis cluster at once. |
On Fri, Jun 19, 2015 at 5:01 PM, Brian Grant notifications@github.com
|
|
As I understand it the api/*/types.go List type is for use in json/yaml On Fri, Jun 19, 2015 at 10:40 PM, Brian Grant notifications@github.com
|
Don't know, but added to my massive API/client overhaul list in #8190 |
SGTM On Fri, Jun 19, 2015 at 10:52 PM, Brian Grant notifications@github.com
|
We would use the List type if we implemented watch of multiple kinds #1685 |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
/remove-lifecycle rotten |
--server-dry-run
to make use of earlier resources in multi-object manifest
#83562
Our typical answer to an end user need for bulk creation is to recommend that they use a controller (or operator), right? |
How to do bulk action using a controller, Creating one CR will trigger multiple CR creations. |
I have a list of services defined under a json having "kind" : "list"
I'm using the v1beta3 API version.
However, I don't see any endpoint to launch a list resource.
I'm following the Swagger spec on http://kubernetes.io/third_party/swagger-ui/#!/v1beta3/listService to see the endpoints.
Is there any way to use the API to launch multiple services using a single json/yaml with kind=list?
The text was updated successfully, but these errors were encountered: