-
Notifications
You must be signed in to change notification settings - Fork 233
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
Cant enable metrics on Windows PRO 64-bit #1643
Comments
Is this a known issue? Is there a workaround to get metrics enabled so we can try horizontal scalability based on CPU usage? |
Came here because I am having the exact same issue. I'm suspecting that the documentation is bad as there were a few other things that needed me to change them about before they would work right. Some of the tour/tutorial bits are no longer accurate/working as well. |
@neodingo Would you mind explaining what you needed to change in order to work? I'm trying to address the documentation and would appreciate any input that you have. :) |
@robin-owen Definitely, happy to help, I'll be spinning up another instance tomorrow as part of helping a friend get acquainted to OpenShift for his new job so I'll add his eyes to the mix so I don't miss anything. I'd do it today but the wife/child are a bit under the weather so I'm on nurse duty till the plague tests come back. Edit: I'll also get a much more complete diagnostic dump while I'm at it. The system I ran into that same error upon has had a re-install since last night for completely unrelated reasons (new nvme drive arrived, fresh install). |
The instructions which we are following that give this error are in the "Getting Started Guide" in Chapter 6. Administrative tasks If you look at Procedure and Windows there is this command to get a list of operators Then this command to turn on metrics Neither of these work on windows 10. We are trying to get metrics so we can use horizontal pod auto scaling |
It seems there is a problem with escaped characters. Can you try escaping ", like this: oc get clusterversion version -ojsonpath='{range .spec.overrides[*]}{.name}{\"\n\"}{end}' | % {$nl++;"`t$($nl-1) `t $_"};$nl=0 Then pick the index from the output and substitute from the next command: oc patch clusterversion/version --type='json' -p '[{\"op\":\"remove\", \"path\":\"/spec/overrides/<cluster-monitoring-operator-index>\"}]' This should work |
@patrickmcdonogh can you verify the solution? Documentation changes have been made |
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. |
General information
crc setup
before starting it (Yes/No)? YesCRC version
This did not fix the issue
The text was updated successfully, but these errors were encountered: