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

Invalid value: "-20Gi": must be greater than or equal to 0 #91

Open
weiyuanke opened this issue Sep 28, 2023 · 2 comments · May be fixed by #92
Open

Invalid value: "-20Gi": must be greater than or equal to 0 #91

weiyuanke opened this issue Sep 28, 2023 · 2 comments · May be fixed by #92
Assignees
Labels
bug Something isn't working

Comments

@weiyuanke
Copy link

weiyuanke commented Sep 28, 2023

Describe the bug
got following error when running vk provider with "go run cmd/provider/main.go --nodename test-node-1 --provider k8s --kube-api-qps 500 --kube-api-burst 1000 --client-qps 500 --client-burst 1000 --kubeconfig www.kubeconfig --client-kubeconfig lower.kubeconfig--klog.v 4"

`INFO[0011] starting workers node=test-node-1 operatingSystem=Linux provider=k8s watchedNamespace=

INFO[0011] started workers node=test-node-1 operatingSystem=Linux provider=k8s watchedNamespace=

FATA[0012] error registering node with kubernetes: Node "test-node-1" is invalid: [status.capacity.resource.hi.io/disk_size: Invalid value: "-20Gi": must be greater than or equal to 0, status.allocatable.resource.hi.io/disk_size: Invalid value: "-20Gi": must be greater than or equal to 0] node=test-node-1 operatingSystem=Linux provider=k8s watchedNamespace=
exit status 1`

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.

Kubernetes version (please complete the following information):

  • Version of Upper K8s cluster
  • Version of Lower K8s cluster

Additional context
Add any other context about the problem here.

@weiyuanke weiyuanke added the bug Something isn't working label Sep 28, 2023
@github-actions
Copy link

Thank your for opening your first issue :)

@weiyuanke weiyuanke linked a pull request Sep 28, 2023 that will close this issue
@njlkj
Copy link

njlkj commented Nov 30, 2023

I encountered the same problem. Sometimes the native resource memory is .eg.
status.allocatable.memory: Invalid value: "-3689235692441": must be greater than or equal to 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants