Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/kubernetes_apis/builtin/core@v1/mod.ts>PodAffinityTerm

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Latest
interface PodAffinityTerm
import { type PodAffinityTerm } from "https://deno.land/x/kubernetes_apis@v0.5.0/builtin/core@v1/mod.ts";

Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running

Properties

optional
labelSelector: MetaV1.LabelSelector | null
optional
namespaceSelector: MetaV1.LabelSelector | null
optional
namespaces: Array<string> | null
topologyKey: string