-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PostMount Env Variables (e.g. NUM_OSTS)
There is no way to get the number of OSTs, etc when using `PostMount` commands. For instance, when setting the striping. This change adds the following environment variables for use in the `NnfStorageProfiles` when using `*CmdLines`: - NUM_MDTS - NUM_MGTS - NUM_MGTMDTS - NUM_OSTS - NUM_NNFNODES To support this, a list of nodes for each component type has been added to the status of `NnfStorage`, which in turn is copied to the `NnfNodeStorage` resource's spec. This info can then be turned into the environment variables for use when running the commands. Signed-off-by: Blake Devcich <[email protected]>
- Loading branch information
Showing
14 changed files
with
499 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.