-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add shared option to NnfSystemStorage #417
Conversation
What's the reason for this change again? |
So that a XFS system storage can have a separate file system for each compute node. |
} else { | ||
dst.Spec.ExcludeDisabledRabbits = false | ||
dst.Spec.Shared = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In alpha2/3, you have this set to false, but true here.
// per compute node. | ||
// +kubebuilder:default:=true | ||
Shared bool `json:"shared"` | ||
|
||
// StorageProfile is an object reference to the storage profile to use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where does the user set this? Gitops?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anywhere you can create a NnfSystemStorage resource. kubectl, gitops, etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The NnfSystemStorages have a reserved spot here in the boilerplate: https://github.com/NearNodeFlash/argocd-boilerplate/blob/main/environments/example-env/site-config/lvmlock-systemstorage.yaml#L8
So here, in our local gitops: environments/htx-1/site-config/lvmlock-systemstorage.yaml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So if you have NnfSystemStorages for some other thing, not the lvmlock even/odd situation, you'd add them to another file in site-config.
The shared option determines whether to create a single allocation per Rabbit that is shared between all the computes on the Rabbit, or one allocation per compute node. Signed-off-by: Matt Richerson <[email protected]>
Signed-off-by: Matt Richerson <[email protected]>
b684d57
to
f4255e5
Compare
rebased on master to resolve conflicts |
The shared option determines whether to create a single allocation per Rabbit that is shared between all the computes on the Rabbit, or one allocation per compute node.