Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit e49dc11

Browse files
committed
Systemd unit start ordering.
1 parent 7ea5f6b commit e49dc11

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

config/templates/cloud-config-controller

+3
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ coreos:
187187
- name: efs.service
188188
command: start
189189
content: |
190+
[Unit]
191+
After=network-online.target
192+
Before=kubelet.service
190193
[Service]
191194
Type=oneshot
192195
ExecStartPre=-/usr/bin/mkdir -p /efs

config/templates/cloud-config-worker

+2
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@ coreos:
178178
- name: efs.service
179179
command: start
180180
content: |
181+
[Unit]
182+
After=network-online.target
181183
[Service]
182184
Type=oneshot
183185
ExecStartPre=-/usr/bin/mkdir -p /efs

0 commit comments

Comments
 (0)