Sha256: 1e13b96bf634b2b7fb7794c0563dfc2fd51ce983716e3dda2e5450c66d9ea5db

Contents?: true

Size: 1.32 KB

Versions: 1

Compression:

Stored size: 1.32 KB

Contents

# Zilla::IoK8sApiCoreV1PodAffinityTerm

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **label_selector** | [**IoK8sApimachineryPkgApisMetaV1LabelSelector**](IoK8sApimachineryPkgApisMetaV1LabelSelector.md) |  | [optional] |
| **namespace_selector** | [**IoK8sApimachineryPkgApisMetaV1LabelSelector**](IoK8sApimachineryPkgApisMetaV1LabelSelector.md) |  | [optional] |
| **namespaces** | **Array<String>** | namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\". | [optional] |
| **topology_key** | **String** | This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, 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 any of the selected pods is running. Empty topologyKey is not allowed. |  |

## Example

```ruby
require 'zilla'

instance = Zilla::IoK8sApiCoreV1PodAffinityTerm.new(
  label_selector: null,
  namespace_selector: null,
  namespaces: null,
  topology_key: null
)
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zilla-0.2.0 docs/IoK8sApiCoreV1PodAffinityTerm.md