Skip to content

Commit

Permalink
Resiliency module support by CSM-Operator (#593)
Browse files Browse the repository at this point in the history
* Resiliency module support by CSM-Operator

* Updating release notes

* Updating github issue title in release note

* Fixing review comment
  • Loading branch information
adarsh-dell authored and rajkumar-palani committed May 23, 2023
1 parent f7efa46 commit e6c5b59
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 4 deletions.
1 change: 1 addition & 0 deletions content/docs/deployment/csmoperator/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Dell CSM Operator has been tested and qualified on Upstream Kubernetes and OpenS
| CSM Authorization | 1.4.0 + | v1.4.0 + |
| CSM Replication | 1.3.0 + | v1.3.0 + |
| CSM Observability | 1.3.0 + | v1.3.0 + |
| CSM Resiliency | 1.6.0 + | v1.6.0 + |

## Installation
Dell CSM Operator can be installed manually or via Operator Hub.
Expand Down
62 changes: 62 additions & 0 deletions content/docs/deployment/csmoperator/modules/resiliency.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
title: Resiliency
linkTitle: "Resiliency"
description: >
Pre-requisite for Installing Resiliency via Dell CSM Operator
---

The CSM Resiliency module for supported Dell CSI Drivers can be installed via the Dell CSM Operator. Dell CSM Operator will deploy CSM Resiliency sidecar.

## Prerequisite

When utilizing CSM for Resiliency module, it is crucial to note that it will solely act upon pods that have been assigned a designated label. This label must have both a key and a value that match what has been set in the resiliency module configuration. Upon startup, CSM for Resiliency generates a log message that displays the label key and value being used to monitor pods.:

```
labelSelector: {map[podmon.dellemc.com/driver:csi-vxflexos]
```
The above message indicates the key is: podmon.dellemc.com/driver and the label value is csi-vxflexos. To search for the pods that would be monitored, try this:
```
[root@lglbx209 podmontest]# kubectl get pods -A -l podmon.dellemc.com/driver=csi-vxflexos
NAMESPACE NAME READY STATUS RESTARTS AGE
pmtu1 podmontest-0 1/1 Running 0 3m7s
pmtu2 podmontest-0 1/1 Running 0 3m8s
pmtu3 podmontest-0 1/1 Running 0 3m6s
```

User must follow all the prerequisites of the respective drivers before enabling this module.

## How to enable this module

To enable this module, user should choose the sample file for the respective driver for specific version. By default, the module is disabled but this can be enabled by setting the enabled flag to `true` in the sample file.

```yaml
modules:
- name: resiliency
# enabled: Enable/Disable Resiliency feature
# Allowed values:
# true: enable Resiliency feature(deploy podmon sidecar)
# false: disable Resiliency feature(do not deploy podmon sidecar)
# Default value: false
enabled: true
configVersion: v1.6.0
components:
- name: podmon
# image: Image to use for podmon. This shouldn't be changed
# Allowed values: string
# Default value: None
image: dellemc/podmon:v1.6.0
envs:
# podmonAPIPort: Defines the port to be used within the kubernetes cluster
# Allowed values: Any valid and free port (string)
# Default value: 8083
- name: "X_CSI_PODMON_API_PORT"
value: "8083"
# arrayConnectivityPollRate: indicates the polling frequency to check array connectivity
# Allowed values: string
# Default value: 60
- name: "X_CSI_PODMON_ARRAY_CONNECTIVITY_POLL_RATE"
value: "60"
```
7 changes: 3 additions & 4 deletions content/docs/deployment/csmoperator/release/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@ Description: >
Release notes for Dell Container Storage Modules Operator
---

## Release Notes - Container Storage Modules Operator v1.1.0
## Release Notes - Container Storage Modules Operator v1.2.0

### New Features/Changes
- [Added support for CSI PowerStore Driver](https://github.com/dell/csm/issues/613)
- [Added support for Kubernetes 1.26](https://github.com/dell/csm/issues/597)
- [Added support for CSI PowerStore Driver](https://github.com/dell/csm/issues/739)


### Fixed Issues
[Fix for CSM Authorization CRD in the CSM Operator not able to custom configurations](https://github.com/dell/csm/issues/633)
- [Unable to delete application pod when CSI-PowerStore is installed using CSM-Operator](https://github.com/dell/csm/issues/785)

### Known Issues
CSM object does not track available deployment count when down scaling to n-1 , where n is number of nodes.

0 comments on commit e6c5b59

Please sign in to comment.