Hemant Kumar
89d1de9eb9
Rename ExandFS to NodeExpand
...
Handle resize error in online resizing
Use NodeExpandable plugin to mark volumes that require node expansion
2019-03-08 09:21:44 -05:00
Kubernetes Prow Robot
535064773a
Merge pull request #73946 from dashpole/prometheus_core_metrics
...
Add kubelet resource metrics v1alpha1 endpoint
2019-03-07 22:43:28 -08:00
Kubernetes Prow Robot
183e6cc190
Merge pull request #74433 from tallclair/runtimeclass-internal
...
Migrate RuntimeClass from a CRD to an internal API
2019-03-07 21:19:30 -08:00
Kubernetes Prow Robot
ad27abde62
Merge pull request #74835 from davidz627/feature/adcFallback
...
Add logic for initializing CSINode on Node startup for CSI Migration [Replaces #70909 ]
2019-03-07 18:39:25 -08:00
David Zhu
41b3579345
Address review comments
2019-03-07 17:17:09 -08:00
Kubernetes Prow Robot
a6d8dbcaef
Merge pull request #74913 from yastij/explicit-restart-policy
...
explicit the restartPolicy on the dockershim
2019-03-07 16:12:39 -08:00
Kubernetes Prow Robot
fbc5150c7d
Merge pull request #74788 from feiskyer/windows-network-stats
...
Add network stats for Windows nodes and containers
2019-03-07 16:12:24 -08:00
David Ashpole
6051664c0f
add kubelet prometheus resource metrics endpoint
2019-03-07 15:39:37 -08:00
David Zhu
34d9ee5b9b
Add CSINode initialization for CSIMigration on node startup before pod ready
2019-03-07 14:47:38 -08:00
Tim Allclair
428e9fa329
generated files
2019-03-07 11:57:12 -08:00
Tim Allclair
222988bdda
Migrate to internal node.k8s.io client
2019-03-07 11:57:12 -08:00
Wei Huang
c5a96b63f4
Revert "kubelet: return mirror pod in GetActivePods()"
...
This reverts commit c0c93f4a52
.
2019-03-07 11:22:27 -08:00
Janek Łukaszewicz
52913c59d1
Test with 2 pods, to make it more reliable.
2019-03-07 17:02:51 +01:00
Kubernetes Prow Robot
8dd60281ff
Merge pull request #74653 from cofyc/fix74650-CheckVolumeExistenceOperation
...
Distinguish between volume path and mount path
2019-03-06 20:35:40 -08:00
Kubernetes Prow Robot
752d18d2b0
Merge pull request #74510 from SataQiu/fix-golint-2019022502
...
Fix some golint failures for pkg/kubelet/apis/...
2019-03-06 17:59:25 -08:00
Pengfei Ni
d690037571
Run hack/update-bazel.sh
2019-03-07 09:55:58 +08:00
Pengfei Ni
1220025e86
Add network stats for node interfaces
2019-03-07 09:55:39 +08:00
Pengfei Ni
84a7f48cf7
Add network stats for Windows containers
2019-03-07 09:54:50 +08:00
Kubernetes Prow Robot
752f5668cc
Merge pull request #74737 from wk8/wk8/gmsa_bug_fix
...
Fixing a small bug with GMSA support
2019-03-06 11:20:49 -08:00
Kubernetes Prow Robot
4d1b830578
Merge pull request #74933 from yujuhong/fix-cpu-nano-cores
...
Fix computing of cpu nano core usage
2019-03-05 14:54:34 -08:00
Kubernetes Prow Robot
98fa2c7d32
Merge pull request #74222 from Huang-Wei/kubelet-mirrorpod
...
kubelet: return mirror pod in GetActivePods()
2019-03-05 13:22:02 -08:00
Kubernetes Prow Robot
0a4308f641
Merge pull request #74529 from liggitt/kubelet-service-links-error
...
Kubelet service links error
2019-03-05 09:49:59 -08:00
Yu-Ju Hong
191666d6a3
Fix computing of cpu nano core usage
...
CRI runtimes do not supply cpu nano core usage as it is not part of CRI
stats. However, there are upstream components that still rely on such
stats to function. The previous fix was faulty because the multiple
callers could compete and update the stats, causing
inconsistent/incoherent metrics. This change, instead, creates a
separate call for updating the usage, and rely on eviction manager,
which runs periodically, to trigger the updates. The caveat is that if
eviction manager is completley turned off, no one would compute the
usage.
2019-03-05 09:25:40 -08:00
Xing Yang
6265f4f78c
CSINodeInfo/CSIDriver controller changes
...
This is the 2nd PR to move CSINodeInfo/CSIDriver APIs to
v1beta1 core storage APIs. It includes controller side changes.
It depends on the PR with API changes:
https://github.com/kubernetes/kubernetes/pull/73883
2019-03-04 16:41:58 -08:00
Yassine TIJANI
5f7c60859c
explicit the restartPolicy on the dockershim
...
This change explicits the restart policy, as on some docker version
(e.g. 11.07-ce) the default for this field is "". which seems to be not
respected by dockerd
2019-03-04 23:11:20 +01:00
Kubernetes Prow Robot
d8d260a09d
Merge pull request #74755 from liggitt/kubelet-watch
...
Revert kubelet to default to ttl cache secret/configmap behavior
2019-03-01 19:14:14 -08:00
Kubernetes Prow Robot
9b8c58644a
Merge pull request #74418 from danielqsj/duration
...
convert latency/latencies in metrics name to duration
2019-03-01 17:58:12 -08:00
Jean Rouge
5e3f3b35e0
Review comments
...
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-03-01 17:57:39 -08:00
Lubomir I. Ivanov
e29c6e1b38
go-1.12: fix 'go vet' failures
2019-03-01 18:48:17 +02:00
Kubernetes Prow Robot
4f01eb528e
Merge pull request #74336 from littleroad/exited_container
...
cri_stats_provider: Implement removeTerminatedContainer correctly
2019-02-28 19:12:07 -08:00
Jordan Liggitt
cd1c9f9018
Revert kubelet to default to ttl cache secret/configmap behavior
2019-02-28 17:54:22 -05:00
Jean Rouge
1908a0ce04
Fixing a small bug with GMSA support
...
A previous PR (https://github.com/kubernetes/kubernetes/pull/73726 )
added GMSA support to the dockershim. Unfortunately, there was a
bug in there: the registry keys used to pass the cred specs down
to Docker were being cleaned up too early, right after the containers'
creation - before Docker would ever try to read them, when trying to
actually start the container.
This patch fixes this.
An e2e test is also provided in a separate PR.
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-02-28 10:26:54 -08:00
wojtekt
6dce4d87a3
Fix secret/configmap management for terminated pods
2019-02-28 18:59:53 +01:00
Fabio Bertinatto
32c0af42e6
Remove last pieces of mount propagation gate
2019-02-28 13:05:02 +01:00
Kubernetes Prow Robot
4b1282d925
Merge pull request #74016 from ahadas/topology_cleanup
...
Cleanup in topology.go
2019-02-27 22:49:24 -08:00
Lu Fengqi
3f8eda37ce
cri_stats_provider: overload nil as 0 for exited containers stats
...
Always report 0 cpu/memory usage for exited containers to make
metrics-server work as expect.
Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
2019-02-28 10:41:15 +08:00
Kubernetes Prow Robot
84dce4d119
Merge pull request #74393 from codenrhoden/refactor-subpath
...
Refactor subpath out of pkg/util/mount
2019-02-27 15:54:36 -08:00
Yecheng Fu
8940976602
Distinguish volume path with mount path
2019-02-27 19:31:26 +08:00
Travis Rhoden
2c4d748bed
Refactor subpath out of pkg/util/mount
...
This patch moves subpath functionality out of pkg/util/mount and into a
new package pkg/volume/util/subpath. NSEnter funtionality is maintained.
2019-02-26 19:59:53 -07:00
Lantao Liu
f9b8d27cef
Lower the log level for non-exist cadvisor stats.
...
For exited container, it is quite normal that cri stats
are returned, but there is no corresponding cadvisor stats.
2019-02-26 16:43:42 -08:00
Kubernetes Prow Robot
cf24d24e66
Merge pull request #70647 from vshn/imagegc_multi_repo_image_removal
...
Always run untag when removing docker image
2019-02-26 11:04:58 -08:00
Kubernetes Prow Robot
44d13d3b77
Merge pull request #73726 from wk8/wk8/gmsa_alpha
...
Kubelet changes for Windows GMSA support
2019-02-25 21:48:21 -08:00
Kubernetes Prow Robot
272d78f1d9
Merge pull request #73966 from alculquicondor/fix/lint-kubelet-server
...
Fix lint on pkg/kubelet/server/...
2019-02-25 20:27:48 -08:00
Jean Rouge
0d392ffcef
Udpated Bazel files
...
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-02-26 03:02:09 +00:00
Kubernetes Prow Robot
77cf7c7b86
Merge pull request #73703 from rphillips/fixes/kubelet_file_fsnotify
...
kubelet: upgrade sourceFile to use fsnotify
2019-02-25 15:15:08 -08:00
Jean Rouge
f1bdfa93f9
Review comments
...
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-02-25 10:59:23 -08:00
Jordan Liggitt
4ac08be206
prevent panic on nil pod.spec.enableServiceLinks
2019-02-25 10:43:29 -05:00
Jordan Liggitt
9788d401e2
Revert "bug: fix segfault when EnableServiceLinks is nil"
...
This reverts commit e9f1700512
.
2019-02-25 10:35:48 -05:00
SataQiu
7181c44230
fix some golint failures for pkg/cloudprovider/providers/vsphere/vclib and pkg/kubelet/apis/...
2019-02-25 18:01:41 +08:00
Kubernetes Prow Robot
8993fbc543
Merge pull request #74328 from daixiang0/delete-blank
...
delete all duplicate empty blanks
2019-02-23 01:43:58 -08:00
Kubernetes Prow Robot
b5566c7818
Merge pull request #71896 from awly/client-go-keyutil
...
client-go: extract new keyutil package from util/cert
2019-02-23 01:43:16 -08:00
Xiang Dai
36065c6dd7
delete all duplicate empty blanks
...
Signed-off-by: Xiang Dai <764524258@qq.com>
2019-02-23 10:28:04 +08:00
Kubernetes Prow Robot
b77e4e2417
Merge pull request #74389 from answer1991/sync-cni-config-in-goroutine
...
sync CNI config in goroutine
2019-02-22 17:58:54 -08:00
Kubernetes Prow Robot
95856e30c4
Merge pull request #73820 from haiyanmeng/runtimeclass
...
Fit RuntimeClass metrics to prometheus conventions
2019-02-22 16:14:59 -08:00
Kubernetes Prow Robot
2f2945732b
Merge pull request #69099 from ehashman/issue-66790
...
Rename cadvisor metric labels to match instrumentation guidelines
2019-02-22 14:56:01 -08:00
danielqsj
f7b437cae0
convert latency in mertics name to duration
2019-02-22 21:40:13 +08:00
chenjun.cj
4fe13c2a99
sync CNI config in goroutine
2019-02-22 16:26:49 +08:00
Aldo Culquicondor
e61cd68bf3
Fix lint on pkg/kubelet/server/...
2019-02-21 10:31:41 -05:00
Kubernetes Prow Robot
5bfea15e7b
Merge pull request #71351 from HotelsDotCom/kep/VolumeSubpathEnvExpansion
...
kep/VolumeSubpathEnvExpansion
2019-02-20 14:05:20 -08:00
Kubernetes Prow Robot
a2a5bd03fd
Merge pull request #71119 from Chenditang/typo
...
Fix typos.
2019-02-20 12:54:30 -08:00
Kubernetes Prow Robot
78573805a7
Merge pull request #66228 from liucimin/fix_cniplugin_get_expose_hostip
...
fix_the_checkpoint_no_hostip_bug
2019-02-20 12:51:14 -08:00
Kevin Taylor
a64b854137
Implementation of KEP Feature Gate VolumeSubpathEnvExpansion
2019-02-20 01:37:16 +00:00
Jean Rouge
a09031dbbd
Typo in comment
...
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-02-19 13:10:23 -08:00
haiyanmeng
ec18200f8b
Fit RuntimeClass metrics to prometheus conventions
...
1) Add suffix (`seconds` or `total`) to metric name
2) Switch Summary metric to Histogram metric (Summary metrics are not
supported completely by prometheus-to-sd and can't be aggregated.)
2019-02-19 12:46:37 -08:00
Andrew Lytvynov
18458392ca
Extract new keyutil package from client-go/util/cert
...
This package contains public/private key utilities copied directly from
client-go/util/cert. All imports were updated.
Future PRs will actually refactor the libraries.
Updates #71004
2019-02-19 09:48:59 -08:00
Kubernetes Prow Robot
d61e878533
Merge pull request #73997 from xichengliudui/fixlintcode
...
Fix golint failures
2019-02-19 01:44:48 -08:00
Wei Huang
c0c93f4a52
kubelet: return mirror pod in GetActivePods()
2019-02-18 12:06:43 -08:00
danielqsj
79a3eb816c
rename latency to duration in metrics
2019-02-18 17:40:04 +08:00
danielqsj
0bfe4c26b1
add default buckets for histogram metrics
2019-02-18 14:07:30 +08:00
danielqsj
4fa0ee7805
Mark deprecated in related kubelet metrics
2019-02-18 14:03:44 +08:00
danielqsj
0e9515c709
Move kubelet metrics to histogram metrics
2019-02-18 14:03:44 +08:00
danielqsj
9fd99a48f5
Change kubelet metrics to conform guideline
2019-02-18 14:01:58 +08:00
Jean Rouge
b1ea622359
Review from @yujuhong
...
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-02-16 07:55:43 -08:00
Kubernetes Prow Robot
c88dcee3e9
Merge pull request #73824 from jiayingz/reallocate
...
Checks whether we have cached runtime state before starting a container
2019-02-15 20:35:30 -08:00
Kubernetes Prow Robot
063e7ff358
Merge pull request #73833 from haiyanmeng/cri_runtimeclass
...
Add `runtime_handler` into PodSandbox and PodSandboxStatus
2019-02-15 18:02:46 -08:00
Kubernetes Prow Robot
3e748958dc
Merge pull request #73333 from yujuhong/os-arch-labels
...
kubelet: promote OS & arch labels to GA
2019-02-15 16:45:57 -08:00
Kubernetes Prow Robot
fbee96d733
Merge pull request #73699 from pivotal-k8s/doc-links
...
Update deprecated and broken links
2019-02-15 14:05:09 -08:00
Kubernetes Prow Robot
6310f9681e
Merge pull request #74114 from feiskyer/revert-70121
...
Revert #70121 : Add network stats for Windows containers #70121
2019-02-15 12:44:06 -08:00
Ben Moss
34ac4d9ee9
Update deprecated links
2019-02-15 09:13:07 -05:00
Kubernetes Prow Robot
bf20886f4e
Merge pull request #73990 from xichengliudui/fixlinterror
...
Fix golint failures pkg/kubelet/util/cache
2019-02-14 22:43:15 -08:00
Pengfei Ni
0d03672e02
Revert "Add network stats for windows node"
...
This reverts commit f9fa1c6a38
.
2019-02-15 12:20:41 +08:00
Pengfei Ni
2449b0997c
Revert "Add network stats for Windows containers"
...
This reverts commit 9cf38de44b
.
2019-02-15 12:20:23 +08:00
Kubernetes Prow Robot
6a9902deee
Merge pull request #73802 from Random-Liu/handle-unknown-state
...
Stop container in unknown state before recreate or remove.
2019-02-14 15:50:12 -08:00
Jean Rouge
b435dbf718
Merge branch 'master' into wk8/gmsa_alpha
...
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-02-14 15:38:25 -08:00
Arik Hadas
c3a533e5b2
Cleanup in topology.go
...
1. Find the minimal thread number within a core using a
single loop rather than by sorting the thread numbers.
2. Inline getUniqueCoreID#err and Discover#numCPUs variables.
3. Narrow the scope of Discover#coreID and Discover#err variables.
Signed-off-by: Arik Hadas <ahadas@redhat.com>
2019-02-14 16:55:37 +02:00
Lantao Liu
de8ee94d14
Stop container in unknown state before recreate or remove.
2019-02-14 02:31:17 -08:00
Yu-Ju Hong
5fd27c38da
Move beta OS/Arch labels back to the kubelet package
...
These labels are being deprecated
2019-02-13 18:09:49 -08:00
Kubernetes Prow Robot
888ff4097a
Merge pull request #73651 from RobertKrawitz/node_pids_limit
...
Support total process ID limiting for nodes
2019-02-13 17:31:18 -08:00
Robert Krawitz
2597a1d97e
Implement SupportNodePidsLimit, hand-tested
2019-02-13 14:56:17 -05:00
Kubernetes Prow Robot
289a60ad71
Merge pull request #72709 from changyaowei/pleg_relist
...
When pleg channel is full, discard events and record its count
2019-02-13 01:44:48 -08:00
changyaowei
19f73899fc
modify test case
2019-02-13 16:27:15 +08:00
Kubernetes Prow Robot
19e57c616c
Merge pull request #73892 from smarterclayton/fix_container_message
...
Make container create, start, and stop events consistent
2019-02-12 20:01:36 -08:00
Kubernetes Prow Robot
a684bd5eb1
Merge pull request #73556 from msau42/triage-72931
...
Mark volume as in use even when node status didn't change
2019-02-12 17:29:05 -08:00
Michelle Au
80a2698a02
Add unit tests for volumesinuse during node status update
2019-02-12 13:46:30 -08:00
Michelle Au
62f874b19b
Mark volume as in use even when node status didn't change
2019-02-12 13:46:29 -08:00
xichengliudui
4c42d542dc
Fix golint failures
...
update pull request
update pull request
2019-02-12 13:01:49 -05:00
xichengliudui
d1d54f81ec
update pull request
...
update pull request
2019-02-12 12:13:19 -05:00
Ryan Phillips
4000ef006c
kubelet: upgrade sourceFile to use fsnotify
...
Mitigate some flakes for deleted watch directories and use the
maintained fsnotify package.
2019-02-12 08:00:56 -06:00
xichengliudui
5aa58efe07
Fix golint failures
...
update pull request
2019-02-12 07:14:57 -05:00
Kubernetes Prow Robot
0480214903
Merge pull request #73804 from Random-Liu/remove-unused-functions
...
Remove unused function from the legacy runtime interface.
2019-02-11 22:56:00 -08:00