-
Notifications
You must be signed in to change notification settings - Fork 461
Bug 1874696: Add ovs-notification.service #2102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| name: ovs-notification.service | ||
| enabled: {{if eq .NetworkType "OVNKubernetes"}}true{{else if eq .NetworkType "OpenShiftSDN"}}true{{else}}false{{end}} | ||
| contents: | | ||
| [Unit] | ||
| Description=Creates a file to let the OVS pod know OVS is running on systemd. | ||
| Wants=NetworkManager-wait-online.service | ||
| After=NetworkManager-wait-online.service openvswitch.service | ||
| Before=network-online.target kubelet.service | ||
|
|
||
| [Service] | ||
| # Need oneshot to delay kubelet | ||
| Type=oneshot | ||
| # Create the file in a tmpfs so that the file gets deleted on restart | ||
| ExecStart=/usr/bin/touch /var/run/openvswitch/ovs-notification | ||
| StandardOutput=journal+console | ||
| StandardError=journal+console | ||
|
|
||
| [Install] | ||
| WantedBy=network-online.target | ||
|
||
Uh oh!
There was an error while loading. Please reload this page.