@jkcfg/kubernetes
Version:
jk Kubernetes library
19 lines • 858 B
JSON
{
"description": "Affinity is a group of affinity scheduling rules.",
"properties": {
"nodeAffinity": {
"description": "Describes node affinity scheduling rules for the pod.",
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.NodeAffinity"
},
"podAffinity": {
"description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).",
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.PodAffinity"
},
"podAntiAffinity": {
"description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).",
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.PodAntiAffinity"
}
},
"$schema": "http://json-schema.org/schema#",
"type": "object"
}