forked from yannh/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaffinity-v1.json
19 lines (19 loc) · 1.07 KB
/
affinity-v1.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": {
"$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.15.6/_definitions.json#/definitions/io.k8s.api.core.v1.NodeAffinity",
"description": "Describes node affinity scheduling rules for the pod."
},
"podAffinity": {
"$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.15.6/_definitions.json#/definitions/io.k8s.api.core.v1.PodAffinity",
"description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))."
},
"podAntiAffinity": {
"$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.15.6/_definitions.json#/definitions/io.k8s.api.core.v1.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))."
}
},
"type": "object",
"$schema": "http://json-schema.org/schema#"
}