UNPKG

@jkcfg/kubernetes

Version:
19 lines 858 B
{ "description": "Affinity is a group of affinity scheduling rules.", "properties": { "nodeAffinity": { "$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.NodeAffinity", "description": "Describes node affinity scheduling rules for the pod." }, "podAffinity": { "$ref": "_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": "_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#" }