We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e45e2ec commit a15826eCopy full SHA for a15826e
templates/al2023/runtime/rootfs/etc/systemd/system/check-sandbox-image.service
@@ -0,0 +1,11 @@
1
+[Unit]
2
+Description=Check that the sandbox image is present in the containerd content store
3
+After=containerd.service
4
+Wants=containerd.service
5
+
6
+[Service]
7
+Type=oneshot
8
+ExecStart=/usr/bin/ctr image import --namespace k8s.io /etc/eks/pause.tar
9
10
+[Install]
11
+WantedBy=multi-user.target
templates/al2023/runtime/rootfs/etc/systemd/system/check-sandbox-image.timer
@@ -0,0 +1,13 @@
+Description=Run check-sandbox-image periodically
+Requires=check-sandbox-image.service
+[Timer]
+Unit=check-sandbox-image.service
+# start 1 minute after boot
+OnBootSec=1min
+# run every 5 minutes
+OnUnitActiveSec=5min
12
13
+WantedBy=timers.target
0 commit comments