Kata runtime does not support hugepages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Triaged
|
Low
|
Unassigned |
Bug Description
Brief Description
-----------------
Kata runtime does not support hugepages assigned via k8s
I launch a pod with the following spec
apiVersion: v1
kind: Pod
metadata:
name: testpod2
spec:
runtimeClassName: kata
containers:
- name: appcntr1
image: centos/tools
imagePullPo
command: [ "/bin/bash", "-c", "--" ]
args: [ "while true; do sleep 300000; done;" ]
volumeMounts:
- mountPath: /hugepages
name: hugepage
resources:
requests:
cpu: 2
memory: "1Gi"
limits:
cpu: 2
memory: "1Gi"
volumes:
- name: hugepage
emptyDir:
medium: HugePages
I would expect to see it to see a hugepages mount in the container as follows
nodev on /hugepages type hugetlbfs (rw,relatime,
It is not present for kata, works fine for runc
Severity
--------
Majo performance feature not available with kata runtime
Steps to Reproduce
------------------
See above
Expected Behavior
------------------
See above
Actual Behavior
----------------
See above
Reproducibility
---------------
100%
System Configuration
-------
All
Branch/Pull Time/Commit
-------
BUILD_DATE=
Last Pass
---------
Likely never
Timestamp/Logs
--------------
See above
Test Activity
-------------
Developer Testing
Workaround
----------
None
Changed in starlingx: | |
assignee: | Lin Shuicheng (shuicheng) → nobody |
stx.4.0 / high priority - serious limitation with kata containers.
This will likely require follow-up with the upstream kata container project.