Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional flexibility when identifying storage pools in Storage Class definition #118

Closed
acsulli opened this issue Apr 23, 2018 · 2 comments

Comments

@acsulli
Copy link

acsulli commented Apr 23, 2018

Storage pool selection is currently limited to statically specifying the pools desired using either the storagePools or additionalStoragePools attributes in the storage class definition. To enable greater flexibility, having a number of other selection (or exclusion) criteria would be ideal:

  • Specify all pools from a backend. For example, using an asterisks or simply leaving the list empty:
     parameters:
       storagePools: "<backend_name>:*"
    
  • Exclude specific pools (and/or backends when used with the above item).
    parameters:
      storagePools: "<backend_name>:*;<backend2_name>:*"
      excludeStoragePools: "<backend_name>:aggr1,aggr2;<backend2_name>:aluminum"
    
  • Prioritize pool selection based on an arbitrary order. Particularly when used in conjunction with The ontap drivers should have more intelligent volume placement #64.
  • Specify a naming pattern for the pool(s) to be included or excluded.
    parameters:
      storagePools: "<backend_name>:*bronze*;<backend2_name>:*copper*"
    
  • Use a selector pattern for backends. When used in conjunction with the backendType this makes it easy to select common pools, e.g. SolidFire QoS policies.
    backendType: "solidfire-san"
    parameters:
      storagePools: "*:bismuth"
    
  • And, combining the two together: using a pattern to select both the backend and the storage pool.
    media: "ssd"
    parameters:
      storagePools: "sf1|sf2:*unobtanium*;aff*:*"
    
    This would also be improved by Assign QoS policies to ONTAP volumes provisioned by Trident #108, allowing same/similar performance expectations across platforms.

Andrew

@pmeyer34
Copy link

+1

@kangarlou
Copy link
Contributor

Closed per b161ca4.

@NetApp NetApp deleted a comment from netapp-ci Aug 6, 2018
netapp-ci pushed a commit that referenced this issue Sep 4, 2019
tridentctl currently outputs "could not find the Kubernetes CLI" when
fails to execute kubectl even if kubectl command is found. With this PR,
tridentctl is changed to outputs the following error message if kubectl
is found but it exits with error:

```
$ bin/tridentctl version
Error: could find the Kubernetes CLI, but it exited with error: Unable
to connect to the server: No valid id-token, and cannot refresh without
refresh-token
```
netapp-ci pushed a commit that referenced this issue Sep 4, 2019
tridentctl currently outputs "could not find the Kubernetes CLI" when
fails to execute kubectl even if kubectl command is found. With this PR,
tridentctl is changed to outputs the following error message if kubectl
is found but it exits with error:

```
$ bin/tridentctl version
Error: could find the Kubernetes CLI, but it exited with error: Unable
to connect to the server: No valid id-token, and cannot refresh without
refresh-token
```
netapp-ci pushed a commit that referenced this issue Sep 12, 2019
tridentctl currently outputs "could not find the Kubernetes CLI" when
fails to execute kubectl even if kubectl command is found. With this PR,
tridentctl is changed to outputs the following error message if kubectl
is found but it exits with error:

```
$ bin/tridentctl version
Error: could find the Kubernetes CLI, but it exited with error: Unable
to connect to the server: No valid id-token, and cannot refresh without
refresh-token
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants