skuber.annotation.NodeAffinity
See theNodeAffinity companion object
case class NodeAffinity(requiredDuringSchedulingIgnoredDuringExecution: Option[RequiredDuringSchedulingIgnoredDuringExecution], preferredDuringSchedulingIgnoredDuringExecution: Option[PreferredDuringSchedulingIgnoredDuringExecution])
Created by Cory Klein on 2/22/17.
2017-10-05: per https://github.com/kubernetes/kubernetes/issues/44339, node affinity via annotation is not supported by default in Kubernetes 1.6 or later. It should be set directly in the Pod.Spec (see PodFormatSpec for an example)
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article