2019-01-24 18:30:38 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Lightweight Kubernetes
|
|
|
|
Documentation=https://k3s.io
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2019-03-01 00:02:12 +00:00
|
|
|
Type=notify
|
2019-01-26 04:52:29 +00:00
|
|
|
ExecStartPre=-/sbin/modprobe br_netfilter
|
2019-01-24 18:30:38 +00:00
|
|
|
ExecStartPre=-/sbin/modprobe overlay
|
|
|
|
ExecStart=/usr/local/bin/k3s server
|
|
|
|
KillMode=process
|
|
|
|
Delegate=yes
|
|
|
|
LimitNOFILE=infinity
|
|
|
|
LimitNPROC=infinity
|
|
|
|
LimitCORE=infinity
|
|
|
|
TasksMax=infinity
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|