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 volume workload #1026

Merged
merged 2 commits into from
Jul 31, 2024
Merged

Conversation

AbdelrahmanElawady
Copy link
Collaborator

Description

Add volume workload

Changes

Add volume workload

Related Issues

Checklist

  • Tests included
  • Build pass
  • Documentation
  • Code format and docstring

@AbdelrahmanElawady AbdelrahmanElawady force-pushed the development_volume_workload branch from 19df5e8 to 6566a10 Compare July 2, 2024 11:42
Copy link
Collaborator

@rawdaGastan rawdaGastan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great !! 🔥


// computed
NodeDeploymentID map[uint32]uint64
ContractID uint64
IPrange string
}

// TODO: NewDeployment should take a list of Workload interface instead of defining
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should open an issue for it

grid-client/workloads/deployment.go Outdated Show resolved Hide resolved
nodes, err := deployer.FilterNodes(
context.Background(),
tfPluginClient,
generateNodeFilter(WithFreeSRU(3)),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why sru is 3 and you request 2 only in the next line?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really remember but it seems 1 for Volume and 2 for minimum rootfs, the 2 next line should be 1

@AbdelrahmanElawady AbdelrahmanElawady merged commit 2ae20ce into development Jul 31, 2024
39 checks passed
@AbdelrahmanElawady AbdelrahmanElawady deleted the development_volume_workload branch July 31, 2024 15:13
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.

2 participants