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
f413f30b
Commit
f413f30b
authored
Jun 09, 2015
by
krousey
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9424 from mesosphere/export-generate-pod-status
add GetRuntime() to Kubelet for easier integration with 3rd party kubele…
parents
b305976f
257bc9b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
kubelet.go
pkg/kubelet/kubelet.go
+6
-0
No files found.
pkg/kubelet/kubelet.go
View file @
f413f30b
...
@@ -2239,3 +2239,9 @@ func (kl *Kubelet) ListenAndServe(address net.IP, port uint, tlsOptions *TLSOpti
...
@@ -2239,3 +2239,9 @@ func (kl *Kubelet) ListenAndServe(address net.IP, port uint, tlsOptions *TLSOpti
func
(
kl
*
Kubelet
)
ListenAndServeReadOnly
(
address
net
.
IP
,
port
uint
)
{
func
(
kl
*
Kubelet
)
ListenAndServeReadOnly
(
address
net
.
IP
,
port
uint
)
{
ListenAndServeKubeletReadOnlyServer
(
kl
,
address
,
port
)
ListenAndServeKubeletReadOnlyServer
(
kl
,
address
,
port
)
}
}
// GetRuntime returns the current Runtime implementation in use by the kubelet. This func
// is exported to simplify integration with third party kubelet extensions (e.g. kubernetes-mesos).
func
(
kl
*
Kubelet
)
GetRuntime
()
kubecontainer
.
Runtime
{
return
kl
.
containerRuntime
}
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