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
[BUG] Documentation should state that monitoring will not work unless memory is increased from default #810
Comments
This could be part of the "Requirements', but we have neglected to mention this as it would have been obvious. Seems it is not ;-). I would wonder what the minimum in that case would be... 12G ? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I think it would be good to put something in the docs, e.g. section 2.1 on this page https://access.redhat.com/documentation/en-us/red_hat_codeready_containers/1.0/html/getting_started_guide/common-tasks_gsg I've just bumped into this, and it would have been nice if the docs had flagged it wouldn't work before I ran |
Fixed by #1056. |
General information
When attempting to follow https://code-ready.github.io/crc/#starting-monitoring-alerting-telemetry_gsg to enable monitoring, alerting, and telemetry, errors are shown due to insufficient memory. It's OK that by default the VM only has 8 GiB and that by default monitoring is not run, but the requirement for more memory (how much? 16 GB worked for me but maybe it's too much) should be spelled out, together with information how to achieve it.
crc setup
before starting it (Yes/No)? YesCRC version
crc version: 1.1.0+95966a9 OpenShift version: 4.2.2 (embedded in binary)
CRC status
CRC config
Empty output.
Host Operating System
Steps to reproduce
crc start -p pull.secret
oc login
askubeadmin
oc scale --replicas=1 statefulset --all -n openshift-monitoring; oc scale --replicas=1 deployment --all -n openshift-monitoring
Expected
No errors.
Actual
Events like
prometheus-adapter-748788db5d-r5xkjNamespaceNSopenshift-monitoring
less than a minute ago
Generated from default-scheduler
0/1 nodes are available: 1 Insufficient memory.
community-operators-76d7d5f759-4f2ncNamespaceNSopenshift-marketplace
a few seconds ago
Generated from default-scheduler
5 times in the last minute
0/1 nodes are available: 1 Insufficient memory.
etcd-quorum-guardNamespaceNSopenshift-machine-config-operator
Nov 14, 3:35 pm
Generated from controllermanager
14 times in the last 7 minutes
0/1 nodes are available: 1 Insufficient memory.
When I then delete the CRC and start it anew with
-m 16000
to give the VM more memory, the problem goes away.Logs
You can start crc with
crc start --log-level debug
to collect logs.Please consider posting this on http://gist.github.com/ and post the link in the issue.
The text was updated successfully, but these errors were encountered: