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