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
e0ab7601
Commit
e0ab7601
authored
Jul 03, 2016
by
Harry Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename runnter pkg name
parent
94c6994a
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
10 deletions
+9
-10
server.go
cmd/kubelet/app/server.go
+0
-1
genericapiserver.go
pkg/genericapiserver/genericapiserver.go
+2
-1
controller.go
pkg/master/controller.go
+3
-3
runner.go
pkg/util/async/runner.go
+1
-1
runner_test.go
pkg/util/async/runner_test.go
+1
-1
resource_container_linux.go
pkg/util/resourcecontainer/resource_container_linux.go
+0
-1
rlimit_linux.go
pkg/util/rlimit/rlimit_linux.go
+1
-1
rlimit_unsupported.go
pkg/util/rlimit/rlimit_unsupported.go
+1
-1
No files found.
cmd/kubelet/app/server.go
View file @
e0ab7601
...
@@ -70,7 +70,6 @@ import (
...
@@ -70,7 +70,6 @@ import (
"k8s.io/kubernetes/pkg/util/mount"
"k8s.io/kubernetes/pkg/util/mount"
nodeutil
"k8s.io/kubernetes/pkg/util/node"
nodeutil
"k8s.io/kubernetes/pkg/util/node"
"k8s.io/kubernetes/pkg/util/oom"
"k8s.io/kubernetes/pkg/util/oom"
"k8s.io/kubernetes/pkg/util/resourcecontainer"
"k8s.io/kubernetes/pkg/util/rlimit"
"k8s.io/kubernetes/pkg/util/rlimit"
"k8s.io/kubernetes/pkg/util/runtime"
"k8s.io/kubernetes/pkg/util/runtime"
"k8s.io/kubernetes/pkg/util/wait"
"k8s.io/kubernetes/pkg/util/wait"
...
...
pkg/genericapiserver/genericapiserver.go
View file @
e0ab7601
...
@@ -47,6 +47,7 @@ import (
...
@@ -47,6 +47,7 @@ import (
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/ui"
"k8s.io/kubernetes/pkg/ui"
"k8s.io/kubernetes/pkg/util"
"k8s.io/kubernetes/pkg/util"
"k8s.io/kubernetes/pkg/util/async"
"k8s.io/kubernetes/pkg/util/crypto"
"k8s.io/kubernetes/pkg/util/crypto"
utilnet
"k8s.io/kubernetes/pkg/util/net"
utilnet
"k8s.io/kubernetes/pkg/util/net"
utilruntime
"k8s.io/kubernetes/pkg/util/runtime"
utilruntime
"k8s.io/kubernetes/pkg/util/runtime"
...
@@ -220,7 +221,7 @@ type GenericAPIServer struct {
...
@@ -220,7 +221,7 @@ type GenericAPIServer struct {
PublicReadWritePort
int
PublicReadWritePort
int
ServiceReadWriteIP
net
.
IP
ServiceReadWriteIP
net
.
IP
ServiceReadWritePort
int
ServiceReadWritePort
int
masterServices
*
util
.
Runner
masterServices
*
async
.
Runner
ExtraServicePorts
[]
api
.
ServicePort
ExtraServicePorts
[]
api
.
ServicePort
ExtraEndpointPorts
[]
api
.
EndpointPort
ExtraEndpointPorts
[]
api
.
EndpointPort
...
...
pkg/master/controller.go
View file @
e0ab7601
...
@@ -31,7 +31,7 @@ import (
...
@@ -31,7 +31,7 @@ import (
"k8s.io/kubernetes/pkg/registry/service"
"k8s.io/kubernetes/pkg/registry/service"
servicecontroller
"k8s.io/kubernetes/pkg/registry/service/ipallocator/controller"
servicecontroller
"k8s.io/kubernetes/pkg/registry/service/ipallocator/controller"
portallocatorcontroller
"k8s.io/kubernetes/pkg/registry/service/portallocator/controller"
portallocatorcontroller
"k8s.io/kubernetes/pkg/registry/service/portallocator/controller"
"k8s.io/kubernetes/pkg/util"
"k8s.io/kubernetes/pkg/util
/async
"
"k8s.io/kubernetes/pkg/util/intstr"
"k8s.io/kubernetes/pkg/util/intstr"
utilnet
"k8s.io/kubernetes/pkg/util/net"
utilnet
"k8s.io/kubernetes/pkg/util/net"
"k8s.io/kubernetes/pkg/util/runtime"
"k8s.io/kubernetes/pkg/util/runtime"
...
@@ -68,7 +68,7 @@ type Controller struct {
...
@@ -68,7 +68,7 @@ type Controller struct {
PublicServicePort
int
PublicServicePort
int
KubernetesServiceNodePort
int
KubernetesServiceNodePort
int
runner
*
util
.
Runner
runner
*
async
.
Runner
}
}
// Start begins the core controller loops that must exist for bootstrapping
// Start begins the core controller loops that must exist for bootstrapping
...
@@ -95,7 +95,7 @@ func (c *Controller) Start() {
...
@@ -95,7 +95,7 @@ func (c *Controller) Start() {
glog
.
Errorf
(
"Unable to perform initial Kubernetes service initialization: %v"
,
err
)
glog
.
Errorf
(
"Unable to perform initial Kubernetes service initialization: %v"
,
err
)
}
}
c
.
runner
=
util
.
NewRunner
(
c
.
RunKubernetesNamespaces
,
c
.
RunKubernetesService
,
repairClusterIPs
.
RunUntil
,
repairNodePorts
.
RunUntil
)
c
.
runner
=
async
.
NewRunner
(
c
.
RunKubernetesNamespaces
,
c
.
RunKubernetesService
,
repairClusterIPs
.
RunUntil
,
repairNodePorts
.
RunUntil
)
c
.
runner
.
Start
()
c
.
runner
.
Start
()
}
}
...
...
pkg/util/async/runner.go
View file @
e0ab7601
...
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
...
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
*/
*/
package
util
package
async
import
(
import
(
"sync"
"sync"
...
...
pkg/util/async/runner_test.go
View file @
e0ab7601
...
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
...
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
*/
*/
package
util
package
async
import
(
import
(
"fmt"
"fmt"
...
...
pkg/util/resourcecontainer/resource_container_linux.go
View file @
e0ab7601
...
@@ -20,7 +20,6 @@ package resourcecontainer
...
@@ -20,7 +20,6 @@ package resourcecontainer
import
(
import
(
"os"
"os"
"syscall"
"github.com/opencontainers/runc/libcontainer/cgroups/fs"
"github.com/opencontainers/runc/libcontainer/cgroups/fs"
"github.com/opencontainers/runc/libcontainer/configs"
"github.com/opencontainers/runc/libcontainer/configs"
...
...
pkg/util/rlimit/rlimit_linux.go
View file @
e0ab7601
// +build linux
// +build linux
/*
/*
Copyright 2016 The Kubernetes Authors
All rights reserved
.
Copyright 2016 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
...
...
pkg/util/rlimit/rlimit_unsupported.go
View file @
e0ab7601
// +build !linux
// +build !linux
/*
/*
Copyright 2016 The Kubernetes Authors
All rights reserved
.
Copyright 2016 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License.
...
...
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