OpenShift Virtualization
TMA-OPENSHIFT-VIRT-6.2
Enable vCPU metrics
MittelStufe 1Manuelle Prüfungopenshift-virt
Beschreibung
Openshift Virtualization provides metrics that you can use to monitor the consumption of cluster infrastructure resources, including vCPU. In order to use the vCPU metric, the schedstats=enable kernel argument must be applied. The benchmark marks this recommendation Manual; TMAegis reports it as a manual review item with the audit steps.
So wird geprüft
Prüfmethode: Manuelle Prüfung
Diese Empfehlung kann nicht automatisch geprüft werden. Ein Scan führt sie mit diesen Anweisungen auf, wenn Sie --include-manual übergeben.
Verify if the option is enabled in the kernel command line: $ cat /proc/cmdline | grep schedstats=enable
So wird behoben
Behebungsmethode: Anleitung oder Infrastruktur-Patch
Enable the kernel option on all workernodes as documented in Chapter 1. Customizing nodes | Red Hat Product Documentation
Eigenschaften
- Betriebssysteme
- Beliebig
- Tags
- openshift-virtmanual-review
- Referenz
- CIS Red Hat OpenShift Virtual Machine Extension Benchmark v1.0.0 - 6.2 Enable vCPU metrics