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

Development support deploying k8s workers on multiple nodes #1136

Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: assign unassigned worker to one node
  • Loading branch information
Nabil-Salah committed Jul 31, 2024
commit f48a222b3f91905f27103dd2762aa958a98968bf
2 changes: 1 addition & 1 deletion grid-cli/internal/filters/filters.go
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ import (
// BuildK8sFilter build a filter for a k8s node
func BuildK8sFilter(k8sNode workloads.K8sNode, farmID uint64) (types.NodeFilter, []uint64, []uint64) {
freeMRUs := uint64(k8sNode.Memory) / 1024
freeSRUs := uint64(k8sNode.DiskSize )
freeSRUs := uint64(k8sNode.DiskSize)
freeIPs := uint64(0)

disks := make([]uint64, 1)
Loading