Davanum Srinivas
5692926914
Move packages for slightly better UX for consumers
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-20 10:57:46 -04:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-16 07:54:27 -04:00
louisgong
8d54a84507
fix kubemark use fake CRI
2020-01-07 11:39:58 +08:00
louisgong
324e5ce7e3
hollow-node use remote CRI
2020-01-07 11:00:45 +08:00
Jacek Kaniuk
4303be3d9f
Revert pull request #85879 "hollow-node use remote CRI"
2019-12-19 10:52:35 +01:00
louisgong
0dd468039d
inject remoteRuntime to kubelet dependency
2019-12-06 14:12:08 +08:00
louisgong
b469404d97
hollow-node use remote CRI
2019-12-04 17:07:04 +08:00
wojtekt
ffad401b4e
Promote NodeLease feature to GA
2019-11-05 09:01:12 +01:00
Krzysztof Siedlecki
4bdf48eb2a
adding support for kubemark --node-labels flag
2019-10-11 11:26:42 +02:00
Cameron Wood
aae0755fdc
Add version logging to kubemark
2019-09-18 10:06:29 +02:00
Han Kang
866ea74326
remove pkg/version and some of redundant copies of it
...
Change-Id: Ia58367c1b1274bfb49c8a4784051463abaf795de
2019-09-16 16:24:35 -07:00
Han Kang
d301e9c3a5
clean-up shared metrics code and remaining references (component-base's copy is a drop in replacement)
2019-08-30 10:41:52 -07:00
Maciej Borsz
ed41078f05
Hollow-node should use separate client for heartbeats.
2019-07-10 10:31:04 +02:00
Odin Ugedal
7caf51daa4
Remove duplicate error messages from cli commands
...
Since we never use the cobras "SilenceErrors" or "SilenceUsage",
a command executed with "cmd.Execute()" will never return an error
without printing it.
The current behavior results in all error messages being printed twice:
Example:
$ kubectl abc
Error: unknown command "abc" for "kubectl"
Run 'kubectl --help' for usage.
unknown command "abc" for "kubectl"
This applies to all cli commands using Cobra. To verify, follow the code
path of the Execute function:
https://github.com/spf13/cobra/blob/c439c4fa0937/command.go#L793
Signed-off-by: Odin Ugedal <odin@ugedal.com >
2019-06-27 21:55:14 +02:00
Kubernetes Prow Robot
ce3ddcd5f6
Merge pull request #76933 from xichengliudui/update-prots
...
Replace variables 10250 and 10255 with constants
2019-04-24 12:25:13 -07:00
aaa
220b07f2c8
Replace variables 10250 and 10255 with constants
...
update pull request
2019-04-21 13:01:09 -04:00
Wei Huang
51149dad31
Fixed a kubemark panic when hollow-node is morphed as proxy
2019-04-19 14:40:53 -07:00
Marek Counts
7744f90830
Moved flag and globalflag
...
Moved all flag code from `staging/src/k8s.io/apiserver/pkg/util/[flag|globalflag]` to `component-base/cli/[flag|globalflag]` except for the term function because of unwanted dependencies.
2019-02-15 10:28:13 -05:00
Rajat Varyani
17fd66946b
Fix linting in cmd/kubemark package
2019-02-08 21:30:34 +05:30
Marek Counts
ba81a5409a
move logs into component-base
...
all the code changes to move move /apiserver/pkg/util/logs into /component-base/logs
2019-01-17 09:16:21 -05:00
Davanum Srinivas
954996e231
Move from glog to klog
...
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
* github.com/kubernetes/repo-infra
* k8s.io/gengo/
* k8s.io/kube-openapi/
* github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods
Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00
Mikhail Mazurskiy
3a243090a5
Simplify random seed initialization
...
There is no need to set the time zone as the result does not
depend on it
2018-10-11 21:01:15 +11:00
x00416946 fisherxu
79e17e6cd7
use versioned api in kube-proxy
2018-08-16 09:59:33 +08:00
wojtekt
26b3bacb65
Make proxier params configurable in kubemark
2018-07-06 16:07:15 +02:00
hzxuzhonghu
f40e5b2d2c
kubemark using cobra commands
2018-02-14 09:05:17 +08:00
Cao Shufeng
86968e44d0
remove duplicated import
2017-11-14 17:18:17 +08:00
Harry Zhang
de1c305356
Remove docker dep in kubelet startup
...
Update bazel
2017-11-01 10:03:01 +08:00
Dr. Stefan Schimanski
7773a30f67
pkg/api/legacyscheme: fixup imports
2017-10-18 17:23:55 +02:00
Dr. Stefan Schimanski
1910b5a1dd
Fix code implicitly casting clientsets to getters
2017-08-06 15:30:13 +02:00
gmarek
20b6b3ca99
Explicitly use Core client as EventClient in hollow node
2017-08-03 15:15:09 +02:00
supereagle
adc0eef43e
remove duplicated import and wrong alias name of api package
2017-07-25 10:04:25 +08:00
ymqytw
3dfc8bf7f3
update import
2017-07-20 11:03:49 -07:00
Aleksandra Malinowska
c174625116
add InstanceID to fake cadvisor (used in Kubemark)
2017-07-18 12:10:54 +02:00
Jacob Simpson
29c1b81d4c
Scripted migration from clientset_generated to client-go.
2017-07-17 15:05:37 -07:00
Chao Xu
60604f8818
run hack/update-all
2017-06-22 11:31:03 -07:00
Chao Xu
f2d3220a11
run root-rewrite-import-client-go-api-types
2017-06-22 11:30:59 -07:00
zhangxiaoyu-zidif
8e0add42f3
hollow-node.go:delete useless para. and import
2017-05-25 12:54:01 +08:00
Shyam Jeedigunta
804a4f558c
Make usage of real proxier in hollow-proxy optional (default=true)
2017-05-18 14:30:12 +02:00
Shyam Jeedigunta
27fa52390b
Use real proxier inside hollow-proxy but with mocked syscalls
2017-05-10 23:45:26 +02:00
Yu-Ju Hong
389c140eaf
Move docker client code from dockertools to dockershim/dockerlib
...
The code affected include DockerInterface (renamed to Interface),
FakeDockerClient, etc.
2017-05-05 11:48:08 -07:00
Andy Goldstein
43cb024402
Add kube-proxy config file support
...
Add support for configuring kube-proxy via a config file instead of
command line flags.
2017-05-01 18:02:47 -04:00
Wojciech Tyczynski
af710835fa
Remove deprecated code from proxy/config
2017-04-12 11:17:49 +02:00
Andy Goldstein
d2bc4d0b2e
Use shared informers for proxy endpoints and service configs
...
Use shared informers instead of creating local controllers/reflectors
for the proxy's endpoints and service configs. This allows downstream
integrators to pass in preexisting shared informers to save on memory &
cpu usage.
This also enables the cache mutation detector for kube-proxy for those
presubmit jobs that already turn it on.
2017-04-04 12:51:41 -04:00
Wojciech Tyczynski
7ce368ccd2
Simplify proxy config for Services by removing Mux.
2017-03-26 11:07:36 +02:00
Wojciech Tyczynski
596527dafa
Simplify proxy config for Endpoints by removing Mux.
2017-03-26 11:07:36 +02:00
Klaus Ma
f6aa8bbb8f
Updated NodeRef to clientv1.ObjectReference.
2017-02-07 06:27:06 +08:00
deads2k
8a12000402
move client/record
2017-01-31 19:14:13 -05:00
Dr. Stefan Schimanski
82826ec273
pkg/util/flag: move to k8s.io/apiserver
2017-01-24 20:56:03 +01:00
deads2k
335ef747d6
mechanical
2017-01-23 10:03:55 -05:00
deads2k
ee6752ef20
find and replace
2017-01-20 08:04:53 -05:00