Sha256: 9587d041ffb521b41914b3803de0f71f5ff359fa5f50c62130bac9e972384a37

Contents?: true

Size: 1.43 KB

Versions: 1

Compression:

Stored size: 1.43 KB

Contents

# Zilla::IoK8sApiBatchV1PodFailurePolicyRule

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **action** | **String** | Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are: - FailJob: indicates that the pod's job is marked as Failed and all   running pods are terminated. - Ignore: indicates that the counter towards the .backoffLimit is not   incremented and a replacement pod is created. - Count: indicates that the pod is handled in the default way - the   counter towards the .backoffLimit is incremented. Additional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.   |  |
| **on_exit_codes** | [**IoK8sApiBatchV1PodFailurePolicyOnExitCodesRequirement**](IoK8sApiBatchV1PodFailurePolicyOnExitCodesRequirement.md) |  | [optional] |
| **on_pod_conditions** | [**Array<IoK8sApiBatchV1PodFailurePolicyOnPodConditionsPattern>**](IoK8sApiBatchV1PodFailurePolicyOnPodConditionsPattern.md) | Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed. |  |

## Example

```ruby
require 'zilla'

instance = Zilla::IoK8sApiBatchV1PodFailurePolicyRule.new(
  action: null,
  on_exit_codes: null,
  on_pod_conditions: null
)
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zilla-0.2.0 docs/IoK8sApiBatchV1PodFailurePolicyRule.md