Jordan Liggitt
248d661327
Add tests to ensure storage feature gate changes don't escape packages
2018-11-16 10:52:53 -05:00
Michelle Au
fd64c08240
Fix storage feature gate test setting
2018-11-16 10:49:40 -05:00
k8s-ci-robot
92fe9d9491
Merge pull request #71081 from vladimirvivien/kubelet-plugin-watcher-ga-fix
...
Kubelet Plugin Registration GA migration fix
2018-11-16 05:13:18 -08:00
Jan Safranek
5283537401
Fixed clearing of devicePath after UnmountDevice
...
UnmountDevice must not clear devicepath, because such devicePath
may come from node.status (e.g. on AWS) and subsequent MountDevice
operation (that may be already enqueued) needs it.
2018-11-16 13:24:42 +01:00
k8s-ci-robot
e4ee887121
Merge pull request #69303 from appian/host_aliases_on_same_line
...
Write HostAliases aliases on same line per host IP
2018-11-15 14:59:52 -08:00
Vladimir Vivien
b195396154
Kubelet Plugin Registration v1 update fix
2018-11-15 17:40:35 -05:00
k8s-ci-robot
7b4d4bc8ac
Merge pull request #70508 from dashpole/pod_resources_socket
...
Add socket-based kubelet pod resources API.
2018-11-15 13:43:44 -08:00
k8s-ci-robot
504466c4e6
Merge pull request #68267 from liggitt/node-label-update
...
Limit kubelets from updating their own labels when NodeRestriction is enabled
2018-11-15 11:11:02 -08:00
David Ashpole
630cb53f82
add kubelet grpc server for pod-resources service
2018-11-15 09:43:20 -08:00
David Ashpole
aa9ba976ac
generate go client for kubelet podresources API
2018-11-15 09:38:59 -08:00
David Ashpole
3ece501f6b
add kubelet pod-resources API definition
2018-11-15 09:38:59 -08:00
k8s-ci-robot
843a67b215
Merge pull request #70559 from vladimirvivien/kubelet-plugin-watcher-ga
...
Graduate Kubelet plugin registration/watcher to GA
2018-11-14 20:35:08 -08:00
k8s-ci-robot
68fb529ec1
Merge pull request #70969 from awly/node-csr-move
...
Move csr.RequestNodeCertificate into kubelet bootstrap package
2018-11-14 11:37:58 -08:00
Vladimir Vivien
f16d3c56f6
Kubelet plugin watcher update to v1
2018-11-14 05:46:27 -05:00
Vladimir Vivien
668c532dda
Pluginregistration package updat to v1
2018-11-14 05:46:19 -05:00
Jordan Liggitt
9fb2dcad5e
Limit kubelets from updating their own labels
2018-11-13 23:48:47 -05:00
k8s-ci-robot
d3a21cf5a2
Merge pull request #70848 from cofyc/fix64590
...
Improve usability of CSI plugin metrics
2018-11-13 19:45:43 -08:00
Yann Hodique
4d9c01d747
replace golang.org/x/exp/inotify with standalone library
...
The inotify code was removed from golang.org/x/exp several years ago. Therefore
importing it from that path prevents downstream consumers from using any module
that makes use of more recent features of golang.org/x/exp.
This change is a followup to google/cadvisor#2060 which was merged with #70889
This fixes #68478
2018-11-13 14:51:40 -08:00
Andrew Lytvynov
5c073abfe1
Move csr.RequestNodeCertificate into kubelet bootstrap package
...
This func is only used by the kubelet and there's no need to pollute
client-go API with it.
2018-11-13 10:27:51 -08:00
Frederic Branczyk
4724fca678
pkg/kubelet/stats: Add container log size metric
2018-11-12 22:04:50 +01:00
Bill Warshaw
ab507dfc1f
Write HostAliases aliases on same line per host IP
...
* change HostAliases to put all aliases for an IP
on the same line in /etc/hosts rather than writing
one line per IP-alias pair
* having multiple entries in /etc/hosts for the same IP
causes issues with DNS resolution for some software
* https://unix.stackexchange.com/questions/102660/hosts-file-is-it-incorrect-to-have-the-same-ip-address-on-multiple-lines
2018-11-11 20:54:52 -05:00
Yecheng Fu
dfe0a08f05
Improve usability of CSI plugin metrics
...
Use full qualified plugin name if volume spec is present.
2018-11-12 09:21:49 +08:00
Davanum Srinivas
e558e291d1
s/glog/klog/ - keep up with master
...
Change-Id: I27ff0545bc456ed8c0900cfeb90555f9ab7ae235
2018-11-10 07:57:01 -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
k8s-ci-robot
be71fbe511
Merge pull request #70034 from wangzhen127/cleanup-node-lease
...
Delete node lease if the corresponding node is deleted
2018-11-09 23:01:05 -08:00
k8s-ci-robot
bb4fbc2770
Merge pull request #70821 from RenaudWasTaken/fix-pluginwatcher-panic
...
Pluginwatcher: Fix panic on failed startup
2018-11-09 20:25:41 -08:00
Michael Taufen
1089cb629f
Don't compare interface values in dynamic config controller
...
This previously caused a panic when moving lastKnownGood between two
non-nil values, because we were comparing the interface wrapper instead
of comparing the NodeConfigSources. The case of moving from one non-nil
lastKnownGood config to another doesn't appear to be tested by the e2e
node tests. I added a unit test and an e2e node test to help catch bugs
with this case in the future.
2018-11-09 10:45:12 -08:00
Renaud Gaubert
11fef8ba3b
Pluginwatcher should prevent kubelet from starting if we cannot watch the plugin root
2018-11-09 00:20:22 +00:00
Renaud Gaubert
3a467ff44b
Pluginwatcher: log error when walking fs rather than fail
2018-11-08 23:22:07 +00:00
Renaud Gaubert
3f5039a2d1
Fix pluginwatcher panic on failed startup
2018-11-08 23:22:07 +00:00
Zhen Wang
b8b12796fc
Delete node lease if the corresponding node is deleted
2018-11-07 20:31:47 -08:00
k8s-ci-robot
16d0992534
Merge pull request #69753 from wangzhen127/diff-node-status
...
Update kubelet node status report logic with node lease feature
2018-11-07 20:26:45 -08:00
Zhen Wang
98fc4a107a
Update kubelet node status report logic with node lease feature
...
When node lease feature is enabled, kubelet reports node status to api server
only if there is some change or it didn't report over last report interval.
2018-11-07 11:59:42 -08:00
k8s-ci-robot
f1bf9bef5c
Merge pull request #70678 from dashpole/fix_cgroup_manager
...
Fix slice sharing bug in cgroup manager
2018-11-07 11:36:41 -08:00
k8s-ci-robot
0aba557741
Merge pull request #70600 from liggitt/sig-auth-subprojects
...
Add owners/approvers aliases for sig-auth subprojects
2018-11-06 17:55:07 -08:00
k8s-ci-robot
f40a5d1155
Merge pull request #67435 from feiskyer/dns-cap
...
Add dns capabilities for Windows CNI plugins
2018-11-06 02:54:22 -08:00
Jordan Liggitt
360a890c58
serviceaccount subproject approvers/reviewers
2018-11-06 00:57:39 -05:00
Jordan Liggitt
4ebe084376
certificates subproject approvers/reviewers
2018-11-06 00:57:38 -05:00
k8s-ci-robot
160ebd3af2
Merge pull request #70162 from MIBc/commenting-error
...
Replace resyncTicker with syncTicker in comment
2018-11-05 19:04:25 -08:00
David Ashpole
d4f6ae3615
fix slice sharing bug in cgroup manager
2018-11-05 17:42:42 -08:00
k8s-ci-robot
bb07b9b410
Merge pull request #70465 from krmayankk/runasgroup
...
add more ut for runasuser/runasusername
2018-11-02 16:44:01 -07:00
k8s-ci-robot
69f5f5eff2
Merge pull request #67978 from WanLinghao/token_controller_improve
...
remove idle tokens in kubelet token manager
2018-11-02 12:28:47 -07:00
k8s-ci-robot
77fd16e0e7
Merge pull request #69266 from SataQiu/fix-20180930
...
Remove the redundant space
2018-11-02 08:38:37 -07:00
k8s-ci-robot
08351b6d6d
Merge pull request #68230 from bertinatto/remove_mount_propagation_gate
...
Remove mount propagation feature gate
2018-11-02 01:13:43 -07:00
SataQiu
c9bc625428
Remove the redundant space
2018-11-02 15:45:11 +08:00
k8s-ci-robot
610bcbb55e
Merge pull request #70149 from anfernee/fix-70014
...
cni: rate and limit must be both set
2018-11-01 22:16:26 -07:00
k8s-ci-robot
3b66adb8bc
Merge pull request #68562 from RenaudWasTaken/pluginwatcher-doc
...
Update pluginwatcher doc
2018-11-01 17:31:29 -07:00
Pengfei Ni
32cf0a90c6
Update bazel build
2018-11-01 14:15:55 +08:00
Pengfei Ni
946aff8847
Add dns capabilities to CNI for windows containers
2018-11-01 13:31:45 +08:00
k8s-ci-robot
ede4388000
Merge pull request #69313 from sjenning/crio-socket-update
...
kubelet: fix cri-o when using unix prefix
2018-10-31 11:50:13 -07:00
Fabio Bertinatto
6c9b854542
Remove mount propagation feature gate logic
2018-10-31 15:51:37 +01:00
Mayank Kumar
8d6624042c
add more ut for runasuser/runasusername
2018-10-30 22:59:11 -07:00
k8s-ci-robot
5a8f831964
Merge pull request #69960 from feiskyer/win-allocatable
...
Enable allocatable support for Windows nodes
2018-10-30 21:07:41 -07:00
k8s-ci-robot
63a7e06eb5
Merge pull request #69484 from ddebroy/ddebroy-winpipe1
...
Correctly handle named pipe host mounts for Windows
2018-10-30 16:15:57 -07:00
k8s-ci-robot
45f6845a59
Merge pull request #69008 from sjenning/better-pleg-msg
...
improve pleg error msg when it has never been successful
2018-10-30 16:15:43 -07:00
Pengfei Ni
856c83e637
Enable allocatable support for Windows nodes
2018-10-30 11:17:23 +08:00
k8s-ci-robot
628e44647f
Merge pull request #70111 from Pingan2017/OOD-node
...
remove OutOfDisk condition in kubelet
2018-10-29 14:38:32 -07:00
Deep Debroy
5da66fd65f
Address code review comments
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2018-10-27 00:31:16 -07:00
Deep Debroy
119e2a1d43
Address CR comments and add more tests
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2018-10-26 00:29:27 -07:00
Deep Debroy
2e19f70922
Improve comments for when hostPath in Windows needs to be transformed
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2018-10-25 13:58:16 -07:00
Lv Jiawei
06a3391b0c
Replace resyncTicker with syncTicker in commenting
...
The variable resyncTicker in commenting is out of date. It is replaced with syncTicker.
2018-10-24 10:47:55 +08:00
k8s-ci-robot
c0974d7399
Merge pull request #69516 from feiskyer/win-npipe
...
Switch windows runtime endpoints to npipe
2018-10-23 16:44:41 -07:00
Yongkun Gui
b573cce595
cni: rate and limit must be both set
...
Fix #70014
2018-10-23 16:44:07 -07:00
k8s-ci-robot
dad07683b1
Merge pull request #69013 from ibrasho-forks/switch-to-http.Error
...
Update usages of http.ResponseWriter.WriteHeader to use http.Error
2018-10-23 15:31:55 -07:00
k8s-ci-robot
fcf11b47fc
Merge pull request #69677 from knightXun/patch-8
...
remove unnecessary time type
2018-10-22 23:59:14 -07:00
Pingan2017
36997bae77
remove OutOfDisk condition in kubelet
2018-10-23 11:01:26 +08:00
WanLinghao
060f3a84d9
trivial fix
2018-10-23 10:23:31 +08:00
Mike Danese
e5227216c0
rebase authenticators onto new interface.
2018-10-22 10:16:59 -07:00
Pengfei Ni
053b71d5d2
Switch windows runtime endpoints to npipe
2018-10-22 21:28:36 +08:00
WanLinghao
7df1078d6f
Currently, kubelet token mamanger only clean tokens who are expired. For tokens with long expiration, if the pod who creates them got killed or evicted, those tokens may stay in kubelet's memory until they are expired. It's bad for kubelet and node itself. After this patch, each time a pod was deleted, token manager would clean related tokens.
2018-10-22 09:32:59 +08:00
k8s-ci-robot
4339a70dfa
Merge pull request #68841 from krzysztof-jastrzebski/cpuandmemeory2
...
Optimizes calculating stats when only CPU and Memory stats are returned from Kubelet stats/summary http endpoint.
2018-10-18 16:41:07 -07:00
k8s-ci-robot
30a06af453
Merge pull request #69671 from mooncak/fix_kubelet
...
Delete duplicated words in logs
2018-10-17 11:57:12 -07:00
k8s-ci-robot
e85cb406eb
Merge pull request #65567 from ceshihao/pod_status_after_eviction
...
Pod status should contain ContainerStatuses if deadline exceeded
2018-10-17 11:56:41 -07:00
k8s-ci-robot
c68ee22156
Merge pull request #69613 from Pingan2017/runtimeError
...
improve err msg for runtimeError when the uptime of runtime never update
2018-10-15 13:52:51 -07:00
Ibrahim AshShohail
2fb3ba71f1
Update usages of http.ResponseWriter.WriteHeader to use http.Error
...
Signed-off-by: Ibrahim AshShohail <me@ibrasho.com>
2018-10-14 05:58:00 +03:00
Deep Debroy
f8a69f1086
Broaden scope of host path types to skip processing in Windows
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2018-10-12 19:57:08 -07:00
tanshanshan
b7c7966b9f
Move pkg/scheduler/algorithm/well_known_labels.go out
2018-10-13 09:10:00 +08:00
knight
5ed6da9d9e
remove unnecessary time type
...
remove unnecessary time type, improve volume_manager.go
2018-10-11 21:06:46 +08:00
mooncake
1e6602d6d8
Fixup log
...
Signed-off-by: mooncake <xcoder@tenxcloud.com>
2018-10-11 19:14:36 +08:00
k8s-ci-robot
a8c7a3fd5e
Merge pull request #69322 from jpbetz/etcd-client-3.3.9
...
Update etcd client to 3.3 for 1.13
2018-10-10 17:56:46 -07:00
Pingan2017
a5824043be
improve err msg for runtimeError
2018-10-10 15:19:48 +08:00
k8s-ci-robot
85a8f97cb1
Merge pull request #68582 from jonfriesen/master
...
Fixes golint for pkg/probe
2018-10-09 21:14:46 -07:00
k8s-ci-robot
9ba74cb5b5
Merge pull request #69251 from yue9944882/bugfix/pass-handler-context-to-nodegetter
...
Pass server handler context to storage nodeGetter
2018-10-09 02:14:51 -07:00
Joe Betz
4263c75211
Update etcd client to 3.3.9
2018-10-08 13:34:34 -07:00
k8s-ci-robot
0f17e9ade6
Merge pull request #69386 from cblecker/go-1.11
...
Update to go1.11.1
2018-10-05 17:35:51 -07:00
Deep Debroy
b4bb5dd430
Correctly handle named pipe host mounts for Windows
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2018-10-05 16:46:04 -07:00
Christoph Blecker
0d63b55944
fix vet error in pkg/kubelet/kubelet_test.go
...
pkg/kubelet/kubelet_test.go:1573: *k8s.io/kubernetes/pkg/kubelet/container/testing.FakePod composite literal uses unkeyed fields
2018-10-05 15:52:44 -07:00
Christoph Blecker
97b2992dc1
Update gofmt for go1.11
2018-10-05 12:59:38 -07:00
Walter Fender
f3f46d5f5a
Moving the cloudprovider interface to staging.
...
Individual implementations are not yet being moved.
Fixed all dependencies which call the interface.
Fixed golint exceptions to reflect the move.
Added project info as per @dims and
https://github.com/kubernetes/kubernetes-template-project .
Added dims to the security contacts.
Fixed minor issues.
Added missing template files.
Copied ControllerClientBuilder interface to cp.
This allows us to break the only dependency on K8s/K8s.
Added TODO to ControllerClientBuilder.
Fixed GoDeps.
Factored in feedback from JustinSB.
2018-10-04 14:41:20 -07:00
k8s-ci-robot
e03886c34a
Merge pull request #68297 from leakingtapan/golint-fix-gce-pd
...
fix golint for pkg/volume/gce_pd
2018-10-03 13:01:34 -07:00
k8s-ci-robot
823fca1d93
Merge pull request #69159 from dcbw/cni-log-messages
...
network/cni: more informative log messages
2018-10-02 19:24:49 -07:00
Dan Williams
6cfe116375
network/cni: more informative log messages
...
Log details about the pod name, namespace, sandbox ID, and result.
Remove some useless messages that are now redundant.
2018-10-01 21:01:40 -05:00
Seth Jennings
7a12ac10be
fix cri-o when using unix prefix
2018-10-01 17:07:56 -05:00
Seth Jennings
5eab76934b
improve pleg error msg when it has never been successful
2018-10-01 16:41:01 -05:00
k8s-ci-robot
3cef522c9a
Merge pull request #69258 from chestack/gclog
...
Fix the confusing kubelet logs about imageGC
2018-10-01 13:27:31 -07:00
Cheng Pan
7d68fd00e6
fix golint for pkg/volume/gce_pd
2018-10-01 18:58:30 +00:00
zuoxiu.jm
3370907fe5
pass handler ctx to node rest nodegetter
2018-10-01 09:27:18 -04:00
k8s-ci-robot
c847a1f04b
Merge pull request #68462 from knightXun/dns
...
refactor kubelet/network/dns
2018-10-01 00:30:04 -07:00
chestack
613f572caf
Fix the confusing kubelet logs about imageGC
2018-09-29 18:09:37 +08:00
k8s-ci-robot
165faaaddf
Merge pull request #68602 from Pingan2017/internalerr
...
remove internalError in runtimeStates , not set anywhere
2018-09-28 15:47:06 -07:00