Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
c30c8096
Commit
c30c8096
authored
Apr 30, 2019
by
galal-hussein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change systemd unit file target to network-online.target
parent
a66aae51
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
README.md
README.md
+1
-1
k3s.service.j2
contrib/ansible/roles/k3s/master/templates/k3s.service.j2
+1
-1
k3s.service.j2
contrib/ansible/roles/k3s/node/templates/k3s.service.j2
+1
-1
install.sh
install.sh
+1
-1
k3s.service
k3s.service
+1
-1
No files found.
README.md
View file @
c30c8096
...
@@ -287,7 +287,7 @@ in the root of this repo `k3s.service` which is as follows
...
@@ -287,7 +287,7 @@ in the root of this repo `k3s.service` which is as follows
[Unit]
[Unit]
Description
=
Lightweight Kubernetes
Description
=
Lightweight Kubernetes
Documentation
=
https://k3s.io
Documentation
=
https://k3s.io
After
=
network.target
After
=
network
-online
.target
[Service]
[Service]
Type
=
notify
Type
=
notify
...
...
contrib/ansible/roles/k3s/master/templates/k3s.service.j2
View file @
c30c8096
[Unit]
[Unit]
Description=Lightweight Kubernetes
Description=Lightweight Kubernetes
Documentation=https://k3s.io
Documentation=https://k3s.io
After=network.target
After=network
-online
.target
[Service]
[Service]
ExecStartPre=-/sbin/modprobe br_netfilter
ExecStartPre=-/sbin/modprobe br_netfilter
ExecStartPre=-/sbin/modprobe overlay
ExecStartPre=-/sbin/modprobe overlay
...
...
contrib/ansible/roles/k3s/node/templates/k3s.service.j2
View file @
c30c8096
[Unit]
[Unit]
Description=Lightweight Kubernetes
Description=Lightweight Kubernetes
Documentation=https://k3s.io
Documentation=https://k3s.io
After=network.target
After=network
-online
.target
[Service]
[Service]
ExecStart=/usr/local/bin/k3s agent --server https://{{ master_ip }}:6443 --token {{ hostvars[groups['master'][0]]['token'] }}
ExecStart=/usr/local/bin/k3s agent --server https://{{ master_ip }}:6443 --token {{ hostvars[groups['master'][0]]['token'] }}
KillMode=process
KillMode=process
...
...
install.sh
View file @
c30c8096
...
@@ -420,7 +420,7 @@ create_systemd_service_file() {
...
@@ -420,7 +420,7 @@ create_systemd_service_file() {
[Unit]
[Unit]
Description=Lightweight Kubernetes
Description=Lightweight Kubernetes
Documentation=https://k3s.io
Documentation=https://k3s.io
After=network.target
After=network
-online
.target
[Service]
[Service]
Type=
${
SYSTEMD_TYPE
}
Type=
${
SYSTEMD_TYPE
}
...
...
k3s.service
View file @
c30c8096
[Unit]
[Unit]
Description=Lightweight Kubernetes
Description=Lightweight Kubernetes
Documentation=https://k3s.io
Documentation=https://k3s.io
After=network.target
After=network
-online
.target
[Service]
[Service]
Type=notify
Type=notify
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment