@jkcfg/kubernetes
Version:
jk Kubernetes library
20 lines • 681 B
JSON
{
"description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)",
"required": [
"weight",
"podAffinityTerm"
],
"properties": {
"podAffinityTerm": {
"description": "Required. A pod affinity term, associated with the corresponding weight.",
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.PodAffinityTerm"
},
"weight": {
"description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.",
"type": "integer",
"format": "int32"
}
},
"$schema": "http://json-schema.org/schema#",
"type": "object"
}