Skip to content

Commit

Permalink
Merge pull request #1249 from rosti/NetworkOnlineTarget
Browse files Browse the repository at this point in the history
kubelet.service: Wait for network-online.target
  • Loading branch information
k8s-ci-robot authored Apr 24, 2020
2 parents b764989 + 4b6d890 commit 29b1cd9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[Unit]
Description=kubelet: The Kubernetes Node Agent
Documentation=https://kubernetes.io/docs/home/
Wants=network-online.target
After=network-online.target

[Service]
ExecStart=/usr/bin/kubelet
Expand Down
2 changes: 2 additions & 0 deletions cmd/kubepkg/templates/latest/rpm/kubelet/kubelet.service
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[Unit]
Description=kubelet: The Kubernetes Node Agent
Documentation=https://kubernetes.io/docs/
Wants=network-online.target
After=network-online.target

[Service]
ExecStart=/usr/bin/kubelet
Expand Down

0 comments on commit 29b1cd9

Please sign in to comment.