mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-07 02:27:43 +03:00
weave network plugin
This commit is contained in:
18
roles/network_plugin/weave/templates/weaveexpose.service.j2
Normal file
18
roles/network_plugin/weave/templates/weaveexpose.service.j2
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Documentation=http://docs.weave.works/
|
||||
Requires=docker.service
|
||||
Requires=weave.service
|
||||
After=weave.service
|
||||
After=docker.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
TimeoutStartSec=0
|
||||
EnvironmentFile=-/etc/weave.%H.env
|
||||
EnvironmentFile=-/etc/weave.env
|
||||
ExecStart={{ bin_dir }}/weave expose
|
||||
ExecStop={{ bin_dir }}/weave hide
|
||||
|
||||
[Install]
|
||||
WantedBy=weave-network.target
|
||||
Reference in New Issue
Block a user