Open f5-jay opened 1 week ago
I've upgraded to 4.16.0-okd-scos.1 and it still is not enabling hugepages.
Here are my yaml files:
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfigPool
metadata:
name: worker-hp
labels:
worker-hp: ""
spec:
machineConfigSelector:
matchExpressions:
- {key: machineconfiguration.openshift.io/role, operator: In, values: [worker,worker-hp]}
nodeSelector:
matchLabels:
node-role.kubernetes.io/worker-hp: ""
apiVersion: tuned.openshift.io/v1
kind: Tuned
metadata:
name: hugepages
namespace: openshift-cluster-node-tuning-operator
spec:
profile:
- data: |
[main]
summary=Boot time configuration for hugepages
include=openshift-node
[bootloader]
cmdline_openshift_node_hugepages=hugepagesz=2M hugepages=50
name: openshift-node-hugepages
recommend:
- machineConfigLabels:
machineconfiguration.openshift.io/role: "worker-hp"
priority: 30
profile: openshift-node-hugepages
root@bastion:~# oc get nodes
NAME STATUS ROLES AGE VERSION
master.okd.lab Ready control-plane,master,worker 17d v1.29.10+67d3387
worker1.okd.lab Ready worker,worker-hp 17d v1.29.10+67d3387
worker2.okd.lab Ready worker,worker-hp 17d v1.29.10+67d3387
I'm really not sure what I am doing wrong.
I can't seem to get huge pages enabled on my worker nodes following this:
https://docs.okd.io/4.16/scalability_and_performance/what-huge-pages-do-and-how-they-are-consumed-by-apps.html#configuring-huge-pages_huge-pages
Is this supported with SCOS (Version: 4.16.0-okd-scos.0)?