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
6de915d3
Unverified
Commit
6de915d3
authored
Mar 04, 2019
by
Darren Shepherd
Committed by
GitHub
Mar 04, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #148 from ibuildthecloud/revert
Revert "Enable systemd ready notification for k3s server"
parents
49d0f20e
0414f97c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
7 deletions
+0
-7
README.md
README.md
+0
-1
install.sh
install.sh
+0
-1
k3s.service
k3s.service
+0
-1
server.go
pkg/cli/server/server.go
+0
-4
No files found.
README.md
View file @
6de915d3
...
...
@@ -205,7 +205,6 @@ Documentation=https://k3s.io
After
=
network.target
[Service]
Type
=
notify
ExecStartPre
=
-/sbin/modprobe br_netfilter
ExecStartPre
=
-/sbin/modprobe overlay
ExecStart
=
/usr/local/bin/k3s server
...
...
install.sh
View file @
6de915d3
...
...
@@ -139,7 +139,6 @@ Documentation=https://k3s.io
After
=
network.target
[
Service]
Type
=
notify
ExecStartPre
=
-/sbin/modprobe br_netfilter
ExecStartPre
=
-/sbin/modprobe overlay
ExecStart
=
/usr/local/bin/k3s server
...
...
k3s.service
View file @
6de915d3
...
...
@@ -4,7 +4,6 @@ Documentation=https://k3s.io
After=network.target
[Service]
Type=notify
ExecStartPre=-/sbin/modprobe br_netfilter
ExecStartPre=-/sbin/modprobe overlay
ExecStart=/usr/local/bin/k3s server
...
...
pkg/cli/server/server.go
View file @
6de915d3
...
...
@@ -9,7 +9,6 @@ import (
"path/filepath"
"strings"
systemd
"github.com/coreos/go-systemd/daemon"
"github.com/docker/docker/pkg/reexec"
"github.com/natefinch/lumberjack"
"github.com/pkg/errors"
...
...
@@ -20,7 +19,6 @@ import (
"github.com/sirupsen/logrus"
"github.com/urfave/cli"
"k8s.io/apimachinery/pkg/util/net"
genericapiserver
"k8s.io/apiserver/pkg/server"
_
"github.com/mattn/go-sqlite3"
// ensure we have sqlite
)
...
...
@@ -53,7 +51,6 @@ func runWithLogging(app *cli.Context, cfg *cmds.Server) error {
}
func
Run
(
app
*
cli
.
Context
)
error
{
genericapiserver
.
NotifySystemD
=
false
return
run
(
app
,
&
cmds
.
ServerConfig
)
}
...
...
@@ -109,7 +106,6 @@ func run(app *cli.Context, cfg *cmds.Server) error {
}
logrus
.
Info
(
"k3s is up and running"
)
go
systemd
.
SdNotify
(
false
,
"READY=1"
)
if
cfg
.
DisableAgent
{
<-
ctx
.
Done
()
...
...
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