Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
truenas-rk3588
k3s
Commits
b15c4473
Commit
b15c4473
authored
5 years ago
by
Erik Wilson
Browse files
Options
Download
Email Patches
Plain Diff
Use default kubelet device-plugins path
parent
f3606776
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pkg/agent/config/config.go
+0
-2
pkg/agent/config/config.go
with
0 additions
and
2 deletions
+0
-2
pkg/agent/config/config.go
View file @
b15c4473
...
...
@@ -27,7 +27,6 @@ import (
"github.com/sirupsen/logrus"
"k8s.io/apimachinery/pkg/util/json"
"k8s.io/apimachinery/pkg/util/net"
"k8s.io/kubelet/pkg/apis/deviceplugin/v1beta1"
)
func
Get
(
ctx
context
.
Context
,
agent
cmds
.
Agent
)
*
config
.
Node
{
...
...
@@ -465,7 +464,6 @@ func get(envInfo *cmds.Agent) (*config.Node, error) {
}
os
.
Setenv
(
"NODE_NAME"
,
nodeConfig
.
AgentConfig
.
NodeName
)
v1beta1
.
KubeletSocket
=
filepath
.
Join
(
envInfo
.
DataDir
,
"kubelet/device-plugins/kubelet.sock"
)
nodeConfig
.
AgentConfig
.
ExtraKubeletArgs
=
envInfo
.
ExtraKubeletArgs
nodeConfig
.
AgentConfig
.
ExtraKubeProxyArgs
=
envInfo
.
ExtraKubeProxyArgs
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help