UNPKG

@jkcfg/kubernetes

Version:
19 lines 896 B
{ "$schema": "http://json-schema.org/schema#", "type": "object", "description": "Affinity is a group of affinity scheduling rules.", "properties": { "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.kubernetes.pkg.api.v1.PodAffinity" }, "nodeAffinity": { "description": "Describes node affinity scheduling rules for the pod.", "$ref": "_definitions.json#/definitions/io.k8s.kubernetes.pkg.api.v1.NodeAffinity" }, "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.kubernetes.pkg.api.v1.PodAntiAffinity" } } }