| 1 | package IO::K8s::Api::Core::V1::PodAffinityTerm; | ||
| 2 | # ABSTRACT: 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 <topologyKey> matches that of any node on which a pod of the set of pods is running | ||
| 3 | 6 | our $VERSION = '1.112'; | |
| 4 | 6 | ▶ | use IO::K8s::Resource; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 6 | k8s labelSelector => 'Meta::V1::LabelSelector'; | |
| 7 | |||
| 8 | |||
| 9 | 6 | k8s matchLabelKeys => [Str]; | |
| 10 | |||
| 11 | |||
| 12 | 6 | k8s mismatchLabelKeys => [Str]; | |
| 13 | |||
| 14 | |||
| 15 | 6 | k8s namespaceSelector => 'Meta::V1::LabelSelector'; | |
| 16 | |||
| 17 | |||
| 18 | 6 | k8s namespaces => [Str]; | |
| 19 | |||
| 20 | |||
| 21 | 6 | k8s topologyKey => Str, 'required'; | |
| 22 | |||
| 23 | |||
| 24 | 6 | 1; | |
| 25 | |||
| 26 | __END__ | ||