create Discovery V1Namespaced Endpoint Slice

POST {{baseUrl}}/apis/discovery.k8s.io/v1/namespaces/:namespace/endpointslices?dryRun=ullamco id cupid&fieldManager=ullamco id cupid&fieldValidation=ullamco id cupid&pretty=ullamco id cupid

create an EndpointSlice

Request Params

KeyDatatypeRequiredDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldManagerstringfieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the ServerSideFieldValidation feature gate is also enabled. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23 and is the default behavior when the ServerSideFieldValidation feature gate is disabled. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default when the ServerSideFieldValidation feature gate is enabled. - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
prettystringIf 'true', then the output is pretty printed.

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"addressType":"","endpoints":[{"addresses":["",""],"conditions":{"ready":true,"serving":true,"terminating":false},"deprecatedTopology":{"officia_10":"","cupidatat6":"","minimef":"","laboris9":""},"hints":{"forZones":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"hostname":"nostrud","nodeName":"ut nostrud cupid","targetRef":{"apiVersion":"sint Duis","fieldPath":"cillum","kind":"magna Ut dolore","name":"est dolore","namespace":"enim ipsum dolor adipisicing","resourceVersion":"irure nulla commodo Ut laboris","uid":"sit voluptate sunt consectetur id"},"zone":"mollit ex in"},{"addresses":["",""],"conditions":{"ready":false,"serving":false,"terminating":true},"deprecatedTopology":{"mollit_3":"","eud":"","voluptated_":"","sed24":""},"hints":{"forZones":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"hostname":"mollit Ut","nodeName":"aliqua cillum in dolor","targetRef":{"apiVersion":"sit commodo eu incididunt","fieldPath":"exercitation voluptate Lorem deserunt incididunt","kind":"incididunt ipsum","name":"reprehenderit Lorem eiusmod ullamco irure","namespace":"ex Excepteur cupidatat sit consequat","resourceVersion":"consequat fugiat amet Duis","uid":"enim dolor"},"zone":"reprehenderit aliquip eu in"}],"apiVersion":"Lorem Ut occaecat in velit","kind":"aliqua id","metadata":{"annotations":{"nostrud62b":"","in_d39":""},"creationTimestamp":"1944-09-05T00:13:51.805Z","deletionGracePeriodSeconds":33490481,"deletionTimestamp":"1973-01-25T00:44:32.865Z","finalizers":["",""],"generateName":"magna eu","generation":13639762,"labels":{"minim__3":"","reprehenderit_9":"","et_f":"","minim_7":""},"managedFields":[{"apiVersion":"sit et proident exercitation","fieldsType":"do nostrud culpa elit tempor","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"enim sed do","operation":"proident commodo sunt","subresource":"qui Ut","time":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"apiVersion":"ea commodo pariatur sed","fieldsType":"labore sunt","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"eiusmod labore Lorem nostrud","operation":"aliqua tempor laboris qui nisi","subresource":"dolore cupidatat dolor mollit","time":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"name":"anim laborum enim","namespace":"enim","ownerReferences":[{"apiVersion":"","kind":"","name":"","uid":"","blockOwnerDeletion":false,"controller":true},{"apiVersion":"","kind":"","name":"","uid":"","blockOwnerDeletion":true,"controller":true}],"resourceVersion":"voluptate","selfLink":"et dolor veniam sunt","uid":"mollit sit "},"ports":[{"appProtocol":"amet deserunt","name":"aute exercitation in irure","port":86121740,"protocol":"cillum sint elit ad exercitation"},{"appProtocol":"qui sunt eius","name":"laboris cupidatat nisi","port":-80691514,"protocol":"cupidatat fugiat amet re"}]}