create Flowcontrol Apiserver V1beta2Flow Schema
POST {{baseUrl}}/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas?dryRun=exercitation volu&fieldManager=exercitation volu&fieldValidation=exercitation volu&pretty=exercitation volu
create a FlowSchema
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
dryRun | string | When 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 | |
fieldManager | string | fieldManager 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. | |
fieldValidation | string | fieldValidation 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. | |
pretty | string | If 'true', then the output is pretty printed. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"apiVersion":"cupidatat sunt dolore ipsum","kind":"eu dolore amet","metadata":{"annotations":{"laborum193":""},"creationTimestamp":"1990-06-16T03:10:36.800Z","deletionGracePeriodSeconds":57893160,"deletionTimestamp":"1948-01-22T11:09:28.283Z","finalizers":["",""],"generateName":"in elit officia Duis","generation":-81135892,"labels":{"fugiata6":""},"managedFields":[{"apiVersion":"ullamco aliqua fugiat","fieldsType":"id commodo magna Ut","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"minim Duis","operation":"pariatur ea voluptate consequat irure","subresource":"sunt labore aute","time":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"apiVersion":"labore","fieldsType":"dolor ea sed","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"ea aliqua velit in","operation":"dolor commodo Ut minim","subresource":"velit","time":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"name":"in","namespace":"sed","ownerReferences":[{"apiVersion":"","kind":"","name":"","uid":"","blockOwnerDeletion":true,"controller":false},{"apiVersion":"","kind":"","name":"","uid":"","blockOwnerDeletion":false,"controller":false}],"resourceVersion":"mollit aute ut","selfLink":"sit elit sint consectetur","uid":"in"},"spec":{"priorityLevelConfiguration":{"name":""},"distinguisherMethod":{"type":""},"matchingPrecedence":0,"rules":[{"subjects":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"nonResourceRules":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"resourceRules":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},{"subjects":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"nonResourceRules":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"resourceRules":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}]},"status":{"conditions":[{"lastTransitionTime":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"message":"sunt sed cupidatat dolore fugiat","reason":"sit repre","status":"mollit esse Lorem cillum","type":"laboris ut ad aliqua"},{"lastTransitionTime":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"message":"consequat","reason":"irure Duis","status":"laborum in reprehenderit","type":"Ut ut aliquip"}]}}