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

Add NnfDataMovementProfiles #342

Merged
merged 6 commits into from
Aug 1, 2024
Merged

Add NnfDataMovementProfiles #342

merged 6 commits into from
Aug 1, 2024

Conversation

bdevcich
Copy link
Contributor

nnf-dm uses a configmap to store its configuration in. This is not consistent with the other means of configuration (i.e. Storage and Container Profiles).

  • Converted nnf-dm-config configmap to NnfDataMovementProfile
  • NnfDataMovementProfiles live in the nnf-system namespace vs the nnf-dm-system namespace with the configmap
  • NnfDataMovementProfiles follow the same behavior as NnfStorageProfiles: pinned profiles are created during Proposal
  • Pinned profiles are only created when copy_in/copy_out directives are present
  • Data Movement initiated via the Copy Offload API do not use pinned profiles since the user can select any profile they wish and can change profiles with each request
  • NnfDataMovements now use a ProfileReference rather than just a string profile name to track namespace/name

Webhook to come afterwards.

nnf-dm uses a configmap to store its configuration in. This is not
consistent with the other means of configuration (i.e. Storage and
Container Profiles).

- Converted nnf-dm-config configmap to NnfDataMovementProfile
- NnfDataMovementProfiles live in the nnf-system namespace vs the
  nnf-dm-system namespace with the configmap
- NnfDataMovementProfiles follow the same behavior as
  NnfStorageProfiles: pinned profiles are created during Proposal
- Pinned profiles are only created when copy_in/copy_out directives are
  present
- Data Movement initiated via the Copy Offload API do not use pinned
  profiles since the user can select any profile they wish and can
  change profiles with each request
- NnfDataMovements now use a ProfileReference rather than just a string
  profile name to track namespace/name

Webhook to come afterwards.

Signed-off-by: Blake Devcich <[email protected]>
@bdevcich bdevcich merged commit 58f2d99 into master Aug 1, 2024
3 checks passed
@bdevcich bdevcich deleted the dm-profiles branch August 1, 2024 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants