openebs-archive / maya

Manage Container Attached Storage (CAS) - Data Engines in Kubernetes
https://docs.openebs.io
Apache License 2.0
184 stars 201 forks source link

zpool and zfs command execution using CSP #1746

Closed mittachaitu closed 3 years ago

mittachaitu commented 4 years ago

Describe the problem/challenge you have High-level operators should be able to perform zpool/zfs get zpool/zfs command execution to use the output for their services.

Describe the solution you'd like CSP can have a separate field to take command as an input. After finding command on field pool-mgmt controller should execute the command and set the output on the status if it succeeds.

Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]

Environment:

mittachaitu commented 4 years ago

https://github.com/openebs/openebs/pull/3116 OEP has been raised to address the issue.

shubham14bajpai commented 3 years ago

This was required for migrating the SPC to CSPC. Another approach was followed where pod/exec worked fine.