File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,23 @@ spec:
2020 securityContext :
2121 privileged : true
2222 command : [ "/entrypoint.sh" ]
23+ resources :
24+ limits :
25+ hugepages-2Mi : 1Gi
26+ cpu : " 2"
2327 volumeMounts :
2428 - name : host-libmodules
2529 mountPath : /lib/modules
2630 mountPropagation : HostToContainer
31+ - mountPath : /dev/hugepages
32+ name : hugepage
2733 volumes :
2834 - name : host-libmodules
2935 hostPath :
3036 path : /lib/modules
3137 type : Directory
38+ - name : hugepage
39+ emptyDir :
40+ medium : HugePages-2Mi
41+
3242
Original file line number Diff line number Diff line change 1+
12# SPDX-License-Identifier: Apache-2.0
23# Copyright (c) 2024 Intel Corporation
34
@@ -19,11 +20,12 @@ RUN dnf -y install \
1920 gettext-0.21-8.el9.aarch64 \
2021 python3-pip-21.2.3-7.el9_3.1.noarch \
2122 pciutils-3.7.0-5.el9.aarch64 \
22- libconfig-1.7.2-9.el9.aarch64 \
2323 libnl3-3.7.0-1.el9.aarch64 \
2424 libedit-3.1-38.20210216cvs.el9.aarch64 \
2525 libatomic-11.4.1-2.1.el9.aarch64 \
26- && dnf clean all
26+ && curl -L -o libconfig-1.7.2-9.el9.aarch64.rpm \
27+ https://mirror.stream.centos.org/9-stream/BaseOS/aarch64/os/Packages/libconfig-1.7.2-9.el9.aarch64.rpm \
28+ && dnf -y install libconfig-1.7.2-9.el9.aarch64.rpm && rm -f libconfig-1.7.2-9.el9.aarch64.rpm && dnf clean all
2729RUN python3 -m pip install --no-cache-dir \
2830 grpcio==1.62.1 \
2931 protobuf==4.25.3 \
You can’t perform that action at this time.
0 commit comments