ServerSideFieldValidation
feature disabled will discard valid values specified in this param and not perform any server side field validation. Valid values are: - Ignore: ignores unknown/duplicate fields. - Warn: responds with a warning for each unknown/duplicate field, but successfully serves the request. - Strict: fails the request on unknown/duplicate fields.curl --location --request PUT '/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/' \
--header 'Content-Type: text/plain' \
--data-raw ''
matchingPrecedence
is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.rules
describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.conditions
is a list of the current states of FlowSchema.{
"apiVersion": "string",
"kind": "string",
"metadata": {
"annotations": {
"property1": "string",
"property2": "string"
},
"clusterName": "string",
"creationTimestamp": "2019-08-24T14:15:22Z",
"deletionGracePeriodSeconds": 0,
"deletionTimestamp": "2019-08-24T14:15:22Z",
"finalizers": [
"string"
],
"generateName": "string",
"generation": 0,
"labels": {
"property1": "string",
"property2": "string"
},
"managedFields": [
{
"apiVersion": "string",
"fieldsType": "string",
"fieldsV1": {},
"manager": "string",
"operation": "string",
"subresource": "string",
"time": "2019-08-24T14:15:22Z"
}
],
"name": "string",
"namespace": "string",
"ownerReferences": [
{
"apiVersion": "string",
"blockOwnerDeletion": true,
"controller": true,
"kind": "string",
"name": "string",
"uid": "string"
}
],
"resourceVersion": "string",
"selfLink": "string",
"uid": "string"
},
"spec": {
"distinguisherMethod": {
"type": "string"
},
"matchingPrecedence": 0,
"priorityLevelConfiguration": {
"name": "string"
},
"rules": [
{
"nonResourceRules": [
{
"nonResourceURLs": [
"string"
],
"verbs": [
"string"
]
}
],
"resourceRules": [
{
"apiGroups": [
"string"
],
"clusterScope": true,
"namespaces": [
"string"
],
"resources": [
"string"
],
"verbs": [
"string"
]
}
],
"subjects": [
{
"group": {
"name": "string"
},
"kind": "string",
"serviceAccount": {
"name": "string",
"namespace": "string"
},
"user": {
"name": "string"
}
}
]
}
]
},
"status": {
"conditions": [
{
"lastTransitionTime": "2019-08-24T14:15:22Z",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
]
}
}