Sha256: 2cc59ef725b26bcd9f16ed62f26d0fd0f7686152bdefc4f226605f132ea901d5

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 KB

Contents

# Zilla::IoK8sApiAppsV1StatefulSetPersistentVolumeClaimRetentionPolicy

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **when_deleted** | **String** | WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted. The default policy of `Retain` causes PVCs to not be affected by StatefulSet deletion. The `Delete` policy causes those PVCs to be deleted. | [optional] |
| **when_scaled** | **String** | WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down. The default policy of `Retain` causes PVCs to not be affected by a scaledown. The `Delete` policy causes the associated PVCs for any excess pods above the replica count to be deleted. | [optional] |

## Example

```ruby
require 'zilla'

instance = Zilla::IoK8sApiAppsV1StatefulSetPersistentVolumeClaimRetentionPolicy.new(
  when_deleted: null,
  when_scaled: null
)
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zilla-0.2.0 docs/IoK8sApiAppsV1StatefulSetPersistentVolumeClaimRetentionPolicy.md