Skip to content

Commit c07980a

Browse files
fix crio-runc
1 parent 242cace commit c07980a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

deploy/iso/minikube-iso/package/crio-bin/crio.service

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Description=Container Runtime Interface for OCI (CRI-O)
33
Documentation=https://github.com/cri-o/cri-o
44
Wants=network-online.target
5+
Before=kubelet.service
56
After=network-online.target minikube-automount.service
67
Requires=minikube-automount.service
78

@@ -22,6 +23,10 @@ LimitCORE=infinity
2223
OOMScoreAdjust=-999
2324
TimeoutStartSec=0
2425
Restart=on-abnormal
26+
RestartSec=10
27+
WatchdogSec=60s
28+
2529

2630
[Install]
2731
WantedBy=multi-user.target
32+
Alias=cri-o.service

deploy/kicbase/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ RUN export ARCH=$(dpkg --print-architecture | sed 's/ppc64el/ppc64le/' | sed 's/
219219
if [ "$ARCH" != "ppc64le" ] && [ "$ARCH" != "arm-v7" ]; then \
220220
curl -fsSL https://download.opensuse.org/repositories/isv:/cri-o:/stable:/v${CRIO_VERSION}/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/cri-o-apt-keyring.gpg &&\
221221
echo "deb [signed-by=/etc/apt/keyrings/cri-o-apt-keyring.gpg] https://download.opensuse.org/repositories/isv:/cri-o:/stable:/v${CRIO_VERSION}/deb/ /" | tee /etc/apt/sources.list.d/cri-o.list && \
222-
clean-install software-properties-common cri-o ; fi
222+
clean-install software-properties-common cri-o cri-o-runc; fi
223223

224224
# install NVIDIA container toolkit
225225
RUN export ARCH=$(dpkg --print-architecture) && \

0 commit comments

Comments
 (0)