package kubecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Affinity is a group of affinity scheduling rules.

type t
val to_yojson : t -> Yojson.Safe.t

Describes node affinity scheduling rules for the pod.

Describes pod affinity scheduling rules (e.g. co_locate this pod in the same node, zone, etc. as some other pod(s)).

Describes pod anti_affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).

module Object : Object.S with type value := t