apiVersion: performance.openshift.io/v2
kind: PerformanceProfile
metadata:
# if you change this name make sure the 'include' line in TunedPerformancePatch.yaml
# matches this name: include=openshift-node-performance-${PerformanceProfile.metadata.name}
# Also in file 'validatorCRs/informDuValidator.yaml':
# name: 50-performance-${PerformanceProfile.metadata.name}
name: openshift-node-performance-profile
annotations:
ran.openshift.io/reference-configuration: "ran-du.redhat.com"
spec:
additionalKernelArgs:
- "rcupdate.rcu_normal_after_boot=0"
- "efi=runtime"
- "vfio_pci.enable_sriov=1"
- "vfio_pci.disable_idle_d3=1"
- "module_blacklist=irdma"
cpu:
isolated: $isolated
reserved: $reserved
hugepages:
defaultHugepagesSize: $defaultHugepagesSize
pages:
- size: $size
count: $count
node: $node
machineConfigPoolSelector:
pools.operator.machineconfiguration.openshift.io/$mcp: ""
nodeSelector:
node-role.kubernetes.io/$mcp: ''
numa:
topologyPolicy: "restricted"
# To use the standard (non-realtime) kernel, set enabled to false
realTimeKernel:
enabled: true
workloadHints:
# WorkloadHints defines the set of upper level flags for different type of workloads.
# See https://github.com/openshift/cluster-node-tuning-operator/blob/master/docs/performanceprofile/performance_profile.md#workloadhints
# for detailed descriptions of each item.
# The configuration below is set for a low latency, performance mode.
realTime: true
highPowerConsumption: false
perPodPowerManagement: false
apiVersion: performance.openshift.io/v2
kind: PerformanceProfile
metadata:# if you change this name make sure the 'include' line in TunedPerformancePatch.yaml# matches this name: include=openshift-node-performance-${PerformanceProfile.metadata.name}# Also in file 'validatorCRs/informDuValidator.yaml':# name: 50-performance-${PerformanceProfile.metadata.name}name: openshift-node-performance-profile
annotations:ran.openshift.io/reference-configuration:"ran-du.redhat.com"spec:additionalKernelArgs:-"rcupdate.rcu_normal_after_boot=0"-"efi=runtime"-"vfio_pci.enable_sriov=1"-"vfio_pci.disable_idle_d3=1"-"module_blacklist=irdma"cpu:isolated: $isolated
reserved: $reserved
hugepages:defaultHugepagesSize: $defaultHugepagesSize
pages:-size: $size
count: $count
node: $node
machineConfigPoolSelector:pools.operator.machineconfiguration.openshift.io/$mcp:""nodeSelector:node-role.kubernetes.io/$mcp:''numa:topologyPolicy:"restricted"# To use the standard (non-realtime) kernel, set enabled to falserealTimeKernel:enabled:trueworkloadHints:# WorkloadHints defines the set of upper level flags for different type of workloads.# See https://github.com/openshift/cluster-node-tuning-operator/blob/master/docs/performanceprofile/performance_profile.md#workloadhints# for detailed descriptions of each item.# The configuration below is set for a low latency, performance mode.realTime:truehighPowerConsumption:falseperPodPowerManagement:false
Copy to ClipboardCopied!Toggle word wrapToggle overflow
Expand
표 16.1. 단일 노드 OpenShift 클러스터에 대한 PerformanceProfile CR 옵션
PerformanceProfile CR 필드
설명
metadata.name
name 이 관련 GitOps ZTP CR(사용자 정의 리소스)에 설정된 다음 필드와 일치하는지 확인합니다.