-
Notifications
You must be signed in to change notification settings - Fork 61
/
affinity.json
19 lines (19 loc) · 981 Bytes
/
affinity.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"description": "Affinity is a group of affinity scheduling rules.",
"properties": {
"nodeAffinity": {
"description": "Describes node affinity scheduling rules for the pod.",
"$ref": "https://kubernetesjsonschema.dev/v1.10.2/_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": "https://kubernetesjsonschema.dev/v1.10.2/_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": "https://kubernetesjsonschema.dev/v1.10.2/_definitions.json#/definitions/io.k8s.api.core.v1.PodAntiAffinity"
}
},
"$schema": "http://json-schema.org/schema#",
"type": "object"
}