Kubernetes Prow Robot
72cd1c14ef
Merge pull request #83325 from yutedz/static-mirror-pod
...
Check whether mirror pod is ciritical in managerImpl#evictPod
2019-10-07 22:15:40 -07:00
Kubernetes Prow Robot
39ba488be3
Merge pull request #83069 from fcgravalos/remove_trailing_dots_from_searches
...
remove trailing dots from the parsed searches from host resolv.conf
2019-10-07 11:27:11 -07:00
Kubernetes Prow Robot
7c4ba5909f
Merge pull request #82968 from uzuku/fix-golint-failures
...
Fix golint failures of pkg/kubelet/status/...
2019-10-07 07:47:08 -07:00
Davanum Srinivas
f29d2272c8
fix gofmt and golint failures
...
Change-Id: I6535b506f50558b31663a13cd270b15023afa2c6
2019-10-06 18:43:17 -04:00
Kubernetes Prow Robot
48b90db9c3
Merge pull request #83495 from tanjunchen/fix-typo
...
remove the repeat word in documents
2019-10-06 15:05:08 -07:00
Davanum Srinivas
6ecc0f83af
update bazel BUILD files
...
Change-Id: Ia3917cec1453c0b22a958faf8c22bccd79242d14
2019-10-06 15:29:23 -04:00
Davanum Srinivas
d30c489c54
Move pkg/kubelet/pluginregistration and deviceplugin
...
Change-Id: I06adcb43bd278b430ffad2010869e1524c8cc4ff
2019-10-06 15:28:38 -04:00
tanjunchen
de3cf23414
remove the repeat word in documents
2019-10-06 23:32:01 +08:00
Odin Ugedal
b9cfb19321
Rename cgroupsystemd.Manager to LegacyManager
2019-10-05 14:22:35 +02:00
Kubernetes Prow Robot
d60bda1971
Merge pull request #83043 from ConnorDoyle/cleanup-cpumanger-topo-hints
...
Delegate topology hint gen to CPU manager policy
2019-10-05 00:59:39 -07:00
Ashley Kasim
3be31530d5
cri_stats_provider: do not consider exited containers when calculating cpu usage
2019-10-04 09:07:53 -07:00
Jan Safranek
44a006e0d0
Fix volume map path during reconstruction
2019-10-04 15:49:49 +02:00
SataQiu
77f42c8108
eliminate direct references to prometheus
2019-10-04 21:33:34 +08:00
Fernando Crespo Gravalos
c959b5ef8a
don't add extra variable for searches
2019-10-04 12:23:07 +02:00
Fernando Crespo Gravalos
9dac0c2d02
improve explanatory comment about trailing dots in searches
2019-10-04 11:40:40 +02:00
Kevin Klues
d2b53af7d7
Add klueska as reviewer for CPUManager and devicemanager
2019-10-03 13:01:41 -07:00
Ted Yu
0939f90103
Check whether mirror pod is ciritical in managerImpl#evictPod
2019-10-01 11:12:18 -07:00
Kubernetes Prow Robot
40d4ddc7e5
Merge pull request #83192 from liggitt/improve-token-request-error
...
Improve error message for projected tokens when API is not enabled
2019-10-01 09:35:34 -07:00
Kubernetes Prow Robot
c9f8b8b525
Merge pull request #82374 from xcelsion/fix-dup-containerport-between-address-families
...
Fixed issue with duplicate containerPorts in different address families
2019-09-30 17:55:32 -07:00
Ted Yu
6dbb533e3c
Only kill process where killing failed during previous iterations
2019-09-29 19:53:43 -07:00
RainbowMango
f57bb81e95
Update bazel by hack/update-bazel.sh
2019-09-29 11:52:30 +08:00
RainbowMango
3b89ade154
Remove direct reference to Prometheus
2019-09-29 11:41:28 +08:00
Kubernetes Prow Robot
be1574b741
Merge pull request #83196 from zouyee/cmq
...
using online file instead to fix NUMA nodes init
2019-09-27 22:51:39 -07:00
Connor Doyle
389853894d
Delegate topology hint gen to CPU manager policy
...
- The previous implementation depended on a fixed set of policies.
2019-09-27 22:29:02 -07:00
Kubernetes Prow Robot
67d750bb28
Merge pull request #81916 from hwdef/fix-typo-pkg
...
fix typo in pkg
2019-09-26 08:35:24 -07:00
zouyee
b1f6974f7b
using online instead to fix kubelet service failed with wrong number of possible NUMA nodes
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-09-26 21:48:50 +08:00
Jordan Liggitt
e70a9c6c18
Improve error message for projected tokens when API is not enabled
2019-09-26 09:10:07 -04:00
Kubernetes Prow Robot
b72d550672
Merge pull request #78563 from qingsenLi/k8s-190531
...
Delete the redundant define test
2019-09-26 01:25:10 -07:00
Fernando Crespo Gravalos
0b850c5d82
add comment explaining why we remove trailing dots in searches
2019-09-26 10:05:58 +02:00
Kubernetes Prow Robot
8ad1aba7f5
Merge pull request #82465 from hprateek43/MoveGetPodPriority
...
Move GetPodPriority from /scheduler/util to /api/pod
2019-09-25 11:06:00 -07:00
Kubernetes Prow Robot
327f53ba57
Merge pull request #83064 from liggitt/propagate-context
...
Propagate context to remote authorize/authenticate webhook calls
2019-09-25 09:32:01 -07:00
Sho SHIMIZU
91b9d42109
Fix typo
...
s/namespcae/namespace
2019-09-25 16:38:03 +09:00
zouyee
594fc0f4b9
fix cpumanager reconcileState without sourceready
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-09-25 10:39:06 +08:00
Harsh Singh
6a9ef7f04f
Move GetPodPriority from /scheduler/util to /api/pod
2019-09-24 22:02:13 +05:30
Jordan Liggitt
92eb072989
Propagate context to Authorize() calls
2019-09-24 11:14:54 -04:00
Fernando Crespo Gravalos
a215a88d91
remove trailing dots from the parsed searches from host resolv.conf
2019-09-24 16:35:01 +02:00
Kubernetes Prow Robot
4e63af2324
Merge pull request #83033 from ConnorDoyle/rename-socketmask
...
Rename package socketmask to bitmask.
2019-09-24 00:26:02 -07:00
Kubernetes Prow Robot
f243640e22
Merge pull request #83036 from liyanhui1228/win_portforward
...
Use ipv4 in wincat port forward
2019-09-23 19:01:26 -07:00
Kubernetes Prow Robot
50196ce088
Merge pull request #82300 from lyft/cri-stats-nanocores-overflow-fix
...
pkg/kubelet: fix uint64 overflow when elapsed UsageCoreNanoSeconds exceeds 18446744073
2019-09-23 17:31:38 -07:00
Angela Li
4301bbff08
Use ipv4 in wincat port forward
2019-09-23 17:10:01 -07:00
Connor Doyle
e35301c19f
Rename package socketmask to bitmask.
...
- As discussed in reviews and other public channels,
this abstraction is used to represent numa nodes, not sockets.
- There is nothing inherently related to sockets in this package anyway.
2019-09-23 17:08:45 -07:00
danielqsj
c2a4906152
Bump k8s.io/klog to v1.0.0
2019-09-23 16:51:43 +08:00
Uzuku
5a2e6bd000
Fix golint failures of pkg/kubelet/status/...
2019-09-21 23:43:37 +08:00
Kubernetes Prow Robot
a2760c9c13
Merge pull request #78110 from praseodym/fix-golint-pkg/kubelet/qos
...
Fix golint failures of pkg/kubelet/qos
2019-09-20 09:41:46 -07:00
Kubernetes Prow Robot
53b3c8968e
Merge pull request #82164 from yuxiaobo96/k8s-fix2
...
delete extra comma
2019-09-19 21:22:59 -07:00
Kubernetes Prow Robot
605687dec7
Merge pull request #71653 from liucimin/update_kubelet_cni_lib
...
No timeout when Kubelet Calling cni plugin
2019-09-19 18:00:59 -07:00
Kubernetes Prow Robot
3d897f21fc
Merge pull request #82594 from yutedz/oper-gen-plugin-err
...
Check the error return from AddPlugin
2019-09-19 14:20:58 -07:00
Kubernetes Prow Robot
d05183be41
Merge pull request #82858 from hwdef/del-unused-var
...
delete unused var
2019-09-19 11:05:49 -07:00
liucimin
ddb1c6a127
fix cni timeout
2019-09-19 22:56:03 +08:00
hwdef
4e7ef9ad36
delete unused var
2019-09-19 18:04:13 +08:00
Kubernetes Prow Robot
4097a99fd7
Merge pull request #82800 from Random-Liu/fix-routes
...
Only set ipv4/ipv6 routes when there is corresponding CIDR.
2019-09-18 19:14:59 -07:00
Kubernetes Prow Robot
cfa3e2c499
Merge pull request #82508 from aanm/fix-get-pod-ip-panic
...
dockershim/network: fix panic for cni plugins in IPv4/IPv6 dual-stack mode
2019-09-17 19:43:32 -07:00
Kubernetes Prow Robot
67d928acdc
Merge pull request #82096 from logicalhan/version-deletion
...
remove pkg/version and some of redundant copies of it
2019-09-17 14:27:16 -07:00
Lantao Liu
032c97daee
Only set ipv4/ipv6 routes when there is corresponding CIDR.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-09-17 11:05:17 -07:00
Dan Winship
3948f16ff4
Add iptables.Monitor, use it from kubelet and kube-proxy
...
Kubelet and kube-proxy both had loops to ensure that their iptables
rules didn't get deleted, by repeatedly recreating them. But on
systems with lots of iptables rules (ie, thousands of services), this
can be very slow (and thus might end up holding the iptables lock for
several seconds, blocking other operations, etc).
The specific threat that they need to worry about is
firewall-management commands that flush *all* dynamic iptables rules.
So add a new iptables.Monitor() function that handles this by creating
iptables-flush canaries and only triggering a full rule reload after
noticing that someone has deleted those chains.
2019-09-17 10:19:26 -04: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
Dan Winship
b6c3d5416a
Drop iptables firewalld monitoring support
...
The firewalld monitoring code was not well tested (and not easily
testable), would never be triggered on most platforms, and was only
being taken advantage of from one place (kube-proxy), which didn't
need it anyway since it already has its own resync loop.
Since the firewalld monitoring was the only consumer of pkg/util/dbus,
we can also now delete that.
2019-09-15 15:35:40 -04:00
Niels van Oosterom
ef39312fa5
Fixed an issue where duplicate containerPorts where not allowed across different address families
2019-09-13 14:44:53 +02:00
David Zhu
f15cc60957
Update golang scientific notation using hack/update-gofmt.sh
2019-09-12 18:05:49 -07:00
Kubernetes Prow Robot
579e0c74c1
Merge pull request #82514 from dims/limit-exec-probe-bytes-read
...
Exec probes should not be unbounded
2019-09-11 21:24:35 -07:00
Kubernetes Prow Robot
3f2f5dd36f
Merge pull request #82370 from zhuangqh/kubelet-tdt-containerLogs
...
kubelet: refactor server containerLogs test to table driven test
2019-09-11 18:28:00 -07:00
Kubernetes Prow Robot
07cc813956
Merge pull request #81793 from lmdaly/topology-manager-owners
...
Added OWNERS file for Topology Manager
2019-09-11 18:26:52 -07:00
Kubernetes Prow Robot
93d549cfdf
Merge pull request #82342 from carlosedp/nocgo
...
Bump gonvml module and remove CGO dependency.
2019-09-11 15:26:38 -07:00
Kubernetes Prow Robot
252a7ecbe4
Merge pull request #82233 from SataQiu/fix-golint-kubelet
...
Fix golint failures of pkg/kubelet
2019-09-11 10:41:19 -07:00
Kubernetes Prow Robot
3f4e30a80e
Merge pull request #82113 from kebe7jun/fix/log-format-and-typo
...
Fix sync pod log format
2019-09-11 10:39:14 -07:00
Ted Yu
156c5cb3d3
Check the error return from AddPlugin
2019-09-11 10:38:28 -07:00
Davanum Srinivas
5706a13bd6
Exec probes should not be unbounded
...
In 1f270ef4e2
, we added 10KB as the read
limit for http probes. we should do the same for exec probes as well.
Change-Id: If154c5c4e669829ab94839c56260a894a6714f0f
2019-09-11 10:15:35 -04:00
Davanum Srinivas
1b79c1f6b3
Add 16MB limit to dockershim ExecSync
...
Change-Id: Ia86cfdb9bdaf994d30216621f78aebc6c555cf4a
2019-09-11 09:52:28 -04:00
Tim Allclair
20fc22f461
Add LimitWriter util
2019-09-11 09:52:28 -04:00
Louise Daly
fbccf25e29
Added OWNERS file for Topology Manager
2019-09-11 06:40:24 +01:00
Kubernetes Prow Robot
349143ec35
Merge pull request #81530 from tedyu/dsow-pop-pod-vol
...
Fixing contradictory log messages when AddPodToVolume encounters error
2019-09-10 22:11:22 -07:00
Kubernetes Prow Robot
e972912fe4
Merge pull request #74881 from qingsenLi/k8s190304-fix-syntactic
...
fix syntactic error in kuberuntime_manager.go
2019-09-10 14:28:48 -07:00
André Martins
a5365d5be1
dockershim/network: fix panic for cni plugins in IPv4/IPv6 dual-stack mode
...
```
k8s.io/kubernetes/pkg/kubelet/dockershim/network/cni.(*cniNetworkPlugin).GetPodNetworkStatus(0xc000a04370, 0xc000b89a62, 0xb, 0xc000b89a49, 0x18, 0x42edffb, 0x6, 0xc000cfa340, 0x40, 0xc000ced7d0, ...)
/workspace/anago-v1.16.0-beta.1.787+48ca054daba9e6/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/kubelet/dockershim/network/cni/cni_others.go:78 +0x420
k8s.io/kubernetes/pkg/kubelet/dockershim/network.(*PluginManager).GetPodNetworkStatus(0xc000a51880, 0xc000b89a62, 0xb, 0xc000b89a49, 0x18, 0x42edffb, 0x6, 0xc000cfa340, 0x40, 0x0, ...)
/workspace/anago-v1.16.0-beta.1.787+48ca054daba9e6/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/kubelet/dockershim/network/plugins.go:391 +0x1f9
k8s.io/kubernetes/pkg/kubelet/dockershim.(*dockerService).getIPsFromPlugin(0xc00029b600, 0xc000c25cb0, 0x40, 0x78c0000, 0x7982100, 0x0, 0x0)
/workspace/anago-v1.16.0-beta.1.787+48ca054daba9e6/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/kubelet/dockershim/docker_sandbox.go:335 +0x1c3
k8s.io/kubernetes/pkg/kubelet/dockershim.(*dockerService).getIPs(0xc00029b600, 0xc000b66cc0, 0x40, 0xc000c25cb0, 0x30bd171a, 0xed508364b, 0x0)
/workspace/anago-v1.16.0-beta.1.787+48ca054daba9e6/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/kubelet/dockershim/docker_sandbox.go:373 +0xe3
k8s.io/kubernetes/pkg/kubelet/dockershim.(*dockerService).PodSandboxStatus(0xc00029b600, 0x4ad8b20, 0xc000c25c80, 0xc000cde1c0, 0xc00029b600, 0xc000c25c80, 0xc0005f5bd0)
/workspace/anago-v1.16.0-beta.1.787+48ca054daba9e6/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/kubelet/dockershim/docker_sandbox.go:439 +0x133
k8s.io/kubernetes/vendor/k8s.io/cri-api/pkg/apis/runtime/v1alpha2._RuntimeService_PodSandboxStatus_Handler(0x42c4e00, 0xc00029b600, 0x4ad8b20, 0xc000c25c80, 0xc000c126c0, 0x0, 0x4ad8b20, 0xc000c25c80, 0xc000cb2d20, 0x42)
/workspace/anago-v1.16.0-beta.1.787+48ca054daba9e6/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/k8s.io/cri-api/pkg/apis/runtime/v1alpha2/api.pb.go:7663 +0x23e
k8s.io/kubernetes/vendor/google.golang.org/grpc.(*Server).processUnaryRPC(0xc000a4f760, 0x4b45280, 0xc000b02d80, 0xc000847c00, 0xc000a61b00, 0x78c97c0, 0x0, 0x0, 0x0)
/workspace/anago-v1.16.0-beta.1.787+48ca054daba9e6/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/google.golang.org/grpc/server.go:995 +0x466
k8s.io/kubernetes/vendor/google.golang.org/grpc.(*Server).handleStream(0xc000a4f760, 0x4b45280, 0xc000b02d80, 0xc000847c00, 0x0)
/workspace/anago-v1.16.0-beta.1.787+48ca054daba9e6/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/google.golang.org/grpc/server.go:1275 +0xda6
k8s.io/kubernetes/vendor/google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc000a8e9c0, 0xc000a4f760, 0x4b45280, 0xc000b02d80, 0xc000847c00)
/workspace/anago-v1.16.0-beta.1.787+48ca054daba9e6/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/google.golang.org/grpc/server.go:710 +0x9f
created by k8s.io/kubernetes/vendor/google.golang.org/grpc.(*Server).serveStreams.func1
/workspace/anago-v1.16.0-beta.1.787+48ca054daba9e6/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/google.golang.org/grpc/server.go:708 +0xa1
```
Fixes: dba434c4ba
("kubenet for ipv6 dualstack")
Signed-off-by: André Martins <aanm90@gmail.com>
2019-09-10 21:06:19 +02:00
zhuangqh
057caf7fcf
kubelet: refactor server containerLogs test to table driven test
...
Signed-off-by: zhuangqh <zhuangqhc@gmail.com>
2019-09-09 10:04:45 +08:00
Ted Yu
253797acab
Avoid conflicting log message when AddPodToVolume encounters error
2019-09-05 09:38:56 +08:00
Paul Fisher
d32aa6af1d
Add comment for testing 100+ CPU usage
2019-09-04 11:49:15 -07:00
Carlos de Paula
8cd98fbd60
Bump gonvml module and remove CGO dependency.
...
Signed-off-by: Carlos de Paula <me@carlosedp.com>
2019-09-04 15:27:57 -03:00
Bruce Ma
f9169d29cb
skip recording inputs & outputs in fake script plugin when CNI_COMMAND=VERSION
...
Signed-off-by: Bruce Ma <brucema19901024@gmail.com>
2019-09-04 22:50:13 +08:00
Paul Fisher
f798cee51e
pkg/kubelet: fix uint64 overflow when elapsed UsageCoreNanoSeconds exceeds 18446744073
2019-09-03 15:54:26 -07:00
Kubernetes Prow Robot
542f3c65a0
Merge pull request #78547 from MikeSpreitzer/fix-76699
...
Make iptables and ipvs modes of kube-proxy MASQUERADE --random-fully if possible
2019-09-03 14:34:58 -07:00
SataQiu
6d6b0be36b
fix golint failures of pkg/kubelet
2019-09-02 17:47:08 +08:00
Mike Spreitzer
d86d1defa1
Made IPVS and iptables modes of kube-proxy fully randomize masquerading if possible
...
Work around Linux kernel bug that sometimes causes multiple flows to
get mapped to the same IP:PORT and consequently some suffer packet
drops.
Also made the same update in kubelet.
Also added cross-pointers between the two bodies of code, in comments.
Some day we should eliminate the duplicate code. But today is not
that day.
2019-09-01 22:07:30 -04:00
Kubernetes Prow Robot
7d40536c81
Merge pull request #82024 from codenrhoden/mv-hostutil
...
Move HostUtil to pkg/volume/util/hostutil
2019-08-30 19:21:49 -07:00
Kubernetes Prow Robot
c86da8e2c1
Merge pull request #82048 from cheftako/kas-np4
...
Add support for konnectivity service to the etcd3 client.
2019-08-30 16:15:28 -07:00
Kubernetes Prow Robot
887edd2273
Merge pull request #82099 from lmdaly/single-numa-node-policy
...
Topology Manager Policy: single-numa-node
2019-08-30 11:21:26 -07:00
Walter Fender
edbb0fa2fe
Add support for konnectivity service to the etcd3 client.
...
If konnectivity service is enabled, the etcd client will now use it.
This did require moving a few methods to break circular dependencies.
Factored in feedback from lavalamp and wenjiaswe.
2019-08-30 10:31:53 -07:00
Travis Rhoden
935c23f2ad
Move HostUtil to pkg/volume/util/hostutil
...
This patch moves the HostUtil functionality from the util/mount package
to the volume/util/hostutil package.
All `*NewHostUtil*` calls are changed to return concrete types instead
of interfaces.
All callers are changed to use the `*NewHostUtil*` methods instead of
directly instantiating the concrete types.
2019-08-30 10:14:42 -06:00
Kubernetes Prow Robot
9165f7bf56
Merge pull request #82104 from klueska/upstream-fix-cpu-manager-topology-bug
...
Fix bug in CPUManager with setting topology for policies
2019-08-30 08:00:44 -07:00
Kubernetes Prow Robot
f442b6ef32
Merge pull request #82090 from liggitt/webhook-http2
...
Use http/1.1 for apiserver->webhook clients
2019-08-30 06:26:54 -07:00
Antonio Ojea
cc7257b462
Kubenet can't fail fast on teardown
2019-08-30 10:19:10 +02:00
yuxiaobo
065343933d
delete extra comma
2019-08-30 16:03:33 +08:00
Antonio Ojea
c1e3d375d4
Add IPv6 support to kubenet hostport
2019-08-30 09:59:43 +02:00
Louise Daly
8ad1b5ba3b
Single-numa-node Topology Manager bug fix
...
Added one off fix for single-numa-node policy to correctly
reject pod admission on a resource allocation that spans
NUMA nodes
Co-authored-by: Kevin Klues <kklues@nvidia.com>
2019-08-30 07:17:56 +01:00
Louise Daly
f6c085f60e
Added Single NUMA Node Policy which ensure resource are
...
aligned on a single NUMA node
Co-authored-by: Kevin Klues <kklues@nvidia.com>
2019-08-30 07:17:17 +01:00
Kevin Klues
5ed80dadcf
Update CanAdmitPodResult() in TopologyManager to take a TopologyHint
...
Previously it only took a bool, which limited the logic it could perform
to determine if a pod should be admitted or not based on the merged hint
from the policy.
2019-08-30 07:17:17 +01:00
Kubernetes Prow Robot
7d6f8d8f69
Merge pull request #80570 from klueska/upstream-add-topology-manager-to-devicemanager
...
Add support for Topology Manager to Device Manager
2019-08-29 21:21:44 -07:00
Kubernetes Prow Robot
3ebe6a6a5f
Merge pull request #77807 from matthyx/startupProbe
...
Add startupProbe to health checks
2019-08-29 21:21:30 -07:00
Kubernetes Prow Robot
7da563f0f8
Merge pull request #81573 from irajdeep/irajdeep/change_runningPod_runningContainer_metrics
...
Convert kubelet metrics(running_pod_count and running_container_count) from non-standard prometheus collectors to standard gauges
2019-08-29 18:08:42 -07:00
Matthias Bertschy
a042a4b0ee
startupProbe: make update
2019-08-30 00:42:43 +02:00
Matthias Bertschy
1a08ea5984
startupProbe: Test changes
2019-08-30 00:40:26 +02:00
Matthias Bertschy
323f99ea8c
startupProbe: Kubelet changes
2019-08-30 00:40:26 +02:00
Kubernetes Prow Robot
a9e5c4d6e4
Merge pull request #81968 from mtaufen/node-csr-hash
...
derive node CSR hashes from public keys
2019-08-29 13:31:41 -07:00
Kubernetes Prow Robot
da986c56ab
Merge pull request #73944 from xiaoanyunfei/cleanup/rm_unuse_judge
...
rm unnecessary judgement
2019-08-29 13:30:57 -07:00
Kevin Klues
eb0216e54e
Update semantics to set Preferred field in TopologyHint generation
...
We now only set Preferred to true if resources can be allocated with a
size equal to the minimimum _possible_ mask when all resources are
available.
2019-08-29 14:32:10 -05:00
Kevin Klues
e0e8b3e4fd
Update CPUManager topology helpers to accept multiple ids
2019-08-29 13:22:54 -05:00
Rajdeep Das
c02d49d775
Update running_pod_count and running_container_count metric
...
As already mentioned in this issue https://github.com/kubernetes/kubernetes/issues/79286 , some metrics like
"running_pod_count" and "running_container_count" uses non-standard prometheus metrics, this change converts them to be
standard prometheus gauges
Minor refactor in kubelet/pleg/generic.go and added some test for ruuning container and running pod metrics
Fixed issues related to github CI pipeline failure
* Updated bazel for new deps
* Add comment for exported metrics variables,RuuningContainerCount and RunningPodCount
* Specify keys explicitly in Guage metric instantation
Fix go lint errors
Replace "+=1" with "++", as reported by go lint
Set container state as a label for the metrics "running_container_count"
As per the metrics name "running_container_count" it should "ideally" be showing
the number of containers in "running" state , but it was showing all the container count, irrespective of the state it is in.
This commit adds a new label "container_running_state" to the metrics "running_container_count", which doesn't change the base metrics but adds the
option to query the metrics with "container_state" such as "running"/"unknown/...
remove unused methods reported by staticcheck
Remove variables while instantiating gauge(vec) which are default set to nil
Convert kubelet metrics(running_pod_count and running_container_count) to standard gauges and added label to running_container_count metrics.
Currently kubelet metrics(running_pod_count and running_container_count) use non-standard prometheus collectors , this change
converts them to standard prometheus gauges. Also this adds a new label(container_state) to running_container_count which does a breakdown of
containers tracked by kubelet based on the containers' state(running/unknown/created/exited).
Set statbility explicitly for running_pod_count and running_container_count and reformat test
register metrics explicitly in test , so that they don't become no-op
2019-08-29 17:23:04 +02:00
Kevin Klues
dcc9f66311
Add devicemanager tests for TopologyHint consumption
2019-08-29 08:22:50 -05:00
Kevin Klues
cc567afaf0
Consume TopologyHints in the devicemanager
2019-08-29 08:22:50 -05:00
Kevin Klues
a3320f80d9
Add devicemanager tests for TopologyHint generation
2019-08-29 07:45:43 -05:00
Kevin Klues
d3d7a8f5d4
Generate TopologyHints from the devicemanager
2019-08-29 07:45:43 -05:00
Louise Daly
9a118ceac4
Added stub support for Topology Manager to Device Manager
...
Co-authored-by: Conor Nolan <conor.nolan@intel.com>
Co-authored-by: Sreemanti Ghosh <sreemanti.ghosh@intel.com>
Co-authored-by: Kevin Klues <kklues@nvidia.com>
2019-08-29 07:45:43 -05:00
Kevin Klues
1c1f19c61c
Change Topology.NUMANode in device plugin interface to a repeated field
2019-08-29 07:45:43 -05:00
Kubernetes Prow Robot
7d4d17583b
Merge pull request #81722 from klueska/upstream-add-socket-awreness-to-topologymanager
...
Add NUMA Node awareness to the TopologyManager
2019-08-29 05:30:58 -07:00
sunxiaofei03
45d41ed9e5
replace iteration with hashmap in *state_of_world
2019-08-29 19:22:25 +08:00
KEBE
8dc401d141
Fix sync pod log format and a func typo.
2019-08-29 14:39:43 +08:00
xieyanker
4b775046d4
remove stateCheckPeriod
...
If exec logForceCheckPeriod, there is no need to exec stateCheckPeriod
2019-08-29 11:06:45 +08:00
Kubernetes Prow Robot
ca5babc1da
Merge pull request #81534 from logicalhan/kubelet-migration
...
migrate kubelet's metrics/probes & metrics endpoint to metrics stability framework
2019-08-28 18:26:45 -07:00
Kevin Klues
ddfd9ac0ca
Fix bug in CPUManager with setting topology for policies
...
Also add a check in the unit tests to avoid regressions
2019-08-28 17:32:25 -05:00
Jordan Liggitt
aef05c8dca
Plumb NextProtos to TLS client config, honor http/2 client preference
2019-08-28 16:51:56 -04:00
Kubernetes Prow Robot
c6a506bb8c
Merge pull request #78174 from gaorong/oom-event
...
enrich kubelet system oom event message info
2019-08-28 12:01:13 -07:00
Han Kang
3a50917795
migrate kubelet's metrics/probes & metrics endpoint to metrics stability framework
2019-08-28 11:16:38 -07:00
Kevin Klues
df1b54fc09
Fail fast with TopologyManager on machines with more than 8 NUMA Nodes
2019-08-28 11:04:52 -05:00
Kevin Klues
5660cd3cfb
Add NUMA Node awareness to the TopologyManager
2019-08-28 11:04:52 -05:00
Kubernetes Prow Robot
35867b160a
Merge pull request #81951 from klueska/upstream-update-cpu-amanger-numa-mapping
...
Update the CPUManager to include NUMANodeID in its topology information
2019-08-28 08:55:40 -07:00
Kubernetes Prow Robot
879418a714
Merge pull request #81828 from mars1024/bugfix/delete_lo_network
...
delete lo network when TearDownPod to avoid CNI cache leak
2019-08-28 03:09:11 -07:00
Kubernetes Prow Robot
de1cfa9bc1
Merge pull request #81787 from lmdaly/topology-manager-rename-strict-policy
...
Renaming strict policy to restricted policy
2019-08-28 01:38:04 -07:00
Kubernetes Prow Robot
08b67378d3
Merge pull request #81397 from ddebroy/win-socket
...
Support Kubelet PluginWatcher in Windows
2019-08-28 01:37:12 -07:00
Kubernetes Prow Robot
6cf7f3c342
Merge pull request #80320 from wk8/wk8/gmsa_cleanup
...
Make container removal fail if platform-specific containers fail
2019-08-27 22:41:29 -07:00
Deep Debroy
1321c9115b
Support PluginWatcher in Windows
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-08-27 16:24:38 -07:00
Kevin Klues
f4dbd29cdb
Rename TopologyHint.SocketAffinity to TopologyHint.NUMANodeAffinity
...
As part of this, update the logic to use the NUMA information instead of
the Socket information when generating and consuming TopologyHints in
the CPUManager.
2019-08-27 16:51:05 -05:00
Kevin Klues
ecc14fe661
Update CPUManager to include NUMANodeID in CPUTopology
...
Unfortunately, the NUMA information is not readily available from
cadvisor, so we have to roll the logic to discover it by hand. In the
future, we should remove this custiom code to use the information
provided by cadvisor once it is made available.
2019-08-27 16:51:05 -05:00
Kevin Klues
869962fa48
Cache the discovered topology in the CPUManager instead of MachineInfo
2019-08-27 16:23:07 -05:00
Michael Taufen
9dcf4d4ae2
derive node CSR hashes from public keys
...
These hashes were previously derived from the private key.
This is not a best practice. After this PR they are derived from public
keys.
2019-08-27 09:41:41 -07:00
Bruce Ma
ec342ec98f
delete lo network when TearDownPod to avoid CNI cache leak
...
Signed-off-by: Bruce Ma <brucema19901024@gmail.com>
2019-08-27 19:26:23 +08:00
hwdef
9b3f577b1d
fix typo in pkg
2019-08-26 09:25:39 +08:00
Kubernetes Prow Robot
f105fef3d5
Merge pull request #81429 from huffmanca/resize_block_volume
...
Enables resizing of block volumes.
2019-08-23 17:59:05 -07:00
Kubernetes Prow Robot
d5f9a81d0f
Merge pull request #79873 from tedyu/kube-runtime
...
Set runtimeState when RuntimeReady is not set or false
2019-08-23 17:58:37 -07:00
Kubernetes Prow Robot
0e1bad3764
Merge pull request #81747 from Random-Liu/fix-windows-log-follow
...
Fix windows kubectl log -f.
2019-08-23 06:53:24 -07:00
Kubernetes Prow Robot
10bd85a127
Merge pull request #81663 from jfbai/update-existing-node-lease-with-retry
...
Update existing node lease with retry.
2019-08-22 22:03:30 -07:00
Hemant Kumar
9dbe0b3ad8
Fix devicePath for raw block expansion
...
Fix tests
2019-08-22 22:48:46 -04:00
Jianfei Bai
aa173c834f
Remove duplicated log.
2019-08-23 10:09:24 +08:00
Jean Rouge
4d4edcb27b
Make container removal fail if platform-specific containers fail
...
https://github.com/kubernetes/kubernetes/pull/74737 introduced a new in-memory
map for the dockershim, that could potentially (in pathological cases) cause
memory leaks - for containers that use GMSA cred specs, get created
successfully, but then never get started nor removed.
This patch addresses this issue by making container removal fail altogether
when platform-specific clean ups fail: this allows clean ups to be retried
later, when the kubelet attempts to remove the container again.
Resolves issue https://github.com/kubernetes/kubernetes/issues/74843 .
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-08-22 18:03:48 -07:00
Kubernetes Prow Robot
a3488b4cee
Merge pull request #81206 from tallclair/staticcheck-kubelet-push
...
Cleanup Kubelet static analysis issues
2019-08-22 15:09:43 -07:00
Kubernetes Prow Robot
37651f1cef
Merge pull request #80368 from danwinship/iptables-checks
...
iptables feature detection improvements
2019-08-22 13:31:20 -07:00
Christian Huffman
7a4cdf5ab2
Included resizing for CSI-based block volumes.
...
Perform a no-op when volume is of type raw block
Fix bug with checking volume mounts for readonly
2019-08-22 15:45:57 -04:00
Kubernetes Prow Robot
6b47754740
Merge pull request #81627 from tallclair/copy
...
Delete duplicate resource.Quantity.Copy()
2019-08-22 11:13:13 -07:00
Kubernetes Prow Robot
2af52db689
Merge pull request #81529 from tedyu/asoww-get-pod
...
Drop GetPods from ActualStateOfWorld
2019-08-22 08:43:24 -07:00
Kubernetes Prow Robot
53f4e0fa26
Merge pull request #57741 from dixudx/container_hash
...
Compute container hash based on API content, not go type
2019-08-22 08:42:46 -07:00
Louise Daly
2fb94231d0
Renaming strict policy to restricted policy
...
Restricted policy will fail admission of guaranteed pods where
all requested resources are not available on a single NUMA Node
2019-08-22 07:57:55 +01:00
Di Xu
739cdc8a8c
Omit nil or empty field when calculating hash value
2019-08-22 13:46:52 +08:00
Kubernetes Prow Robot
ebf15029da
Merge pull request #80003 from wongma7/cloudprovider-authoritative-hostname
...
Fix cloud reported hostname being overridden if nodeIP set
2019-08-21 20:50:32 -07:00
Matthew Wong
fc28045220
Fix cloud reported hostname being overridden if nodeIP set
2019-08-21 19:07:12 -07:00
Lantao Liu
7767ff3bb2
Fix windows kubectl log -f.
2019-08-21 15:44:20 -07:00
Tim Allclair
a2c51674cf
Cleanup more static check issues (S1*,ST*)
2019-08-21 10:40:21 -07:00
Tim Allclair
8a495cb5e4
Clean up error messages (ST1005)
2019-08-21 10:40:21 -07:00
Tim Allclair
e06912ca3e
Clean up deprecated references
2019-08-21 10:40:21 -07:00
Tim Allclair
6510d26b6a
Fix misc static check issues
2019-08-21 10:40:21 -07:00
Tim Allclair
3f510c69f6
Remove dead code from pkg/kubelet/...
2019-08-21 10:40:21 -07:00
Kubernetes Prow Robot
59d29b67d9
Merge pull request #59484 from verb/debug-kubelet-1
...
Add support for Ephemeral Containers to the kubelet
2019-08-21 00:29:17 -07:00
Jianfei Bai
7773662b6a
Update existing node lease with retry.
2019-08-21 11:50:06 +08:00
Kubernetes Prow Robot
8cf05f514c
Merge pull request #79247 from egernst/kubelet-PodOverhead
...
Kubelet enabling to support pod-overhead
2019-08-20 13:27:15 -07:00
Lee Verberne
cb3976c02b
Fix returning logs from ephemeral containers
2019-08-20 17:45:38 +00:00
Kubernetes Prow Robot
ddd45b7986
Merge pull request #80569 from klueska/upstream-get-topology-hints-map
...
Update GetTopologyHints() for TopologyManager Hint Providers to return a map
2019-08-20 00:15:34 -07:00
Tim Allclair
49f50484b8
Delete duplicate resource.Quantity.Copy()
2019-08-19 17:23:14 -07:00
Kubernetes Prow Robot
29c87cbfff
Merge pull request #80482 from mars1024/bugfix/cni_validation
...
add CNI config validation to getDefaultCNINetwork
2019-08-19 10:11:31 -07:00
Kubernetes Prow Robot
e319abf274
Merge pull request #81163 from jsafrane/skip-unused-volumes
...
Skip unused volumes in VolumeManager
2019-08-16 17:02:36 -07:00
Ted Yu
e85e0bafbd
Drop GetPods from ActualStateOfWorld
2019-08-16 12:59:23 -07:00
Kubernetes Prow Robot
9b54021c65
Merge pull request #81456 from fredkan/bugfix/error-config-attachable-plugin
...
Bugfix/error config attachable plugin
2019-08-16 06:44:44 -07:00
Kevin Klues
4fdd52b058
Update GetTopologyHints() API to return a map
...
At present, there is no way for a hint provider to return distinct hints
for different resource types via a call to GetTopologyHints(). This
means that hint providers that govern multiple resource types (e.g. the
devicemanager) must do some sort of "pre-merge" on the hints it
generates for each resource type before passing them back to the
TopologyManager.
This patch changes the GetTopologyHints() interface to allow a hint
provider to pass back raw hints for each resource type, and allow the
TopologyManager to merge them using a single unified strategy.
This change also allows the TopologyManager to recognize which
resource type a set of hints originated from, should this information
become useful in the future.
2019-08-16 08:06:12 +02:00
Kubernetes Prow Robot
78a73e71a3
Merge pull request #81332 from cwdsuzhou/Aug/rwmutex_watchbaseManager
...
Use RWMutex in watchBasedManager
2019-08-15 16:18:35 -07:00
fredkan
67aeb09c6a
error config attachable plugin
2019-08-15 22:29:18 +08:00
Kubernetes Prow Robot
273e9262bb
Merge pull request #80342 from draveness/feature/remove-critical-pod-annotation
...
feat: cleanup pod critical pod annotations feature
2019-08-15 07:20:34 -07:00
Kubernetes Prow Robot
f2dd24820a
Merge pull request #73920 from nolancon/topology-manager-cpu-manager
...
Changes to make CPU Manager a Hint Provider for Topology Manager
2019-08-15 05:44:33 -07:00
fredkan
6524b83d53
error config attachable plugin
2019-08-15 20:41:32 +08:00
Kubernetes Prow Robot
3645041af5
Merge pull request #81377 from sjenning/add-eviction-metrics
...
kubelet: add eviction counter to kubelet metrics
2019-08-15 02:32:46 -07:00
fredkan
87243f49a4
fix error set csiplugin attachable
2019-08-15 17:08:21 +08:00
Jan Safranek
5b69362ff0
Skip unused volumes in VolumeManager
...
DesiredStateOfWorldPopulator should skip a volume that is not used in any
pod. "Used" means either mounted (via volumeMounts) or used as raw block
device (via volumeDevices).
Especially when block feature is disabled, a block volume must not get into
DesiredStateOfWorld, because it would be formatted and mounted there.
2019-08-15 10:48:38 +02:00
Jan Safranek
8d580262f9
Refactor makeMountsMap into GetPodVolumeNames
...
The function will be handy in subsequent patches. Also change custom maps
into sets.String.
2019-08-15 10:48:38 +02:00
Kubernetes Prow Robot
f6a70ef271
Merge pull request #80376 from ehashman/issue-66790-2
...
Drop deprecated cadvisor metric labels
2019-08-14 09:10:38 -07:00
Kevin Klues
b3f4bed97f
Add CPUManager tests for TopologyHint consumption
2019-08-14 06:22:56 +02:00
Kevin Klues
8278d1134c
Consume TopologyHints in the CPUManager
...
Co-Authored-By: Conor Nolan <conor.nolan@intel.com>
2019-08-14 06:22:56 +02:00
Sreemanti Ghosh
7c626a2a00
Add CPUManager tests for TopologyHint generation
...
Co-Authored-By: Conor Nolan <conor.nolan@intel.com>
Co-Authored-By: Kevin Klues <kklues@nvidia.com>
2019-08-14 06:22:56 +02:00
Kevin Klues
156b3f6af8
Generate TopologyHints from the CPUManager
2019-08-14 06:22:56 +02:00
Kevin Klues
9a6788cb13
Add IterateSocketMasks() function to socketmask abstraction
2019-08-14 06:22:56 +02:00
Eric Ernst
476c1c7a2b
kube-eviction: use common resource summation functions
...
Utilize resource helpers' GetResourceRequestQuantity instead of
duplicating the logic here.
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-08-13 16:23:28 -07:00
Seth Jennings
23b69cf02d
kubelet: add eviction counter to metrics
2019-08-13 15:21:38 -05:00
Kubernetes Prow Robot
c505bb9533
Merge pull request #80985 from ethan-daocloud/patch-6
...
fixup: correct file name in log message
2019-08-13 12:29:42 -07:00
Kubernetes Prow Robot
ac2295a24d
Merge pull request #78587 from kad/socketmask-string
...
Use go standard library for common bit operations
2019-08-13 00:03:39 -07:00
caiweidong
92851d213a
Use RWMutex in watchBasedManager
2019-08-13 13:09:21 +08:00
Kubernetes Prow Robot
76e19a1619
Merge pull request #81204 from codenrhoden/rename-hu-pathexists
...
Rename HostUtils.ExistsPath to PathExists
2019-08-12 20:12:12 -07:00
Kubernetes Prow Robot
56b5f8b47c
Merge pull request #80519 from ethan-daocloud/patch-1
...
fix typos in kubelet.go
2019-08-12 20:11:51 -07:00
Yuqi Wang
f82be3d3d0
Fix Container exit message lost due to FallbackToLogsOnError is not compatible with ContainerCannotRun
2019-08-12 16:15:59 +08:00
Kubernetes Prow Robot
46e58df837
Merge pull request #79578 from cezarsa/stable-node-images
...
kubelet: ensure stable order for images in node status
2019-08-10 08:59:12 -07:00
Kubernetes Prow Robot
c0997e8dc1
Merge pull request #81174 from answer1991/reduce-node-lease-get
...
reduce kubelet getting node lease
2019-08-10 02:59:26 -07:00
Ted Yu
3865e2b956
Set runtimeState when RuntimeReady is not set or false
2019-08-09 18:52:27 -07:00
Travis Rhoden
14e25b7c04
Rename HostUtils.ExistsPath to PathExists
2019-08-09 12:40:19 -06:00
Travis Rhoden
4574473753
Rename mount.NewOsExec to mount.NewOSExec
2019-08-09 12:30:56 -06:00
Bruce Ma
9903cb3ad3
add validation for CNI config before loading and fix some typo
...
1. add validation for CNI config before loading
2. make some CNI capabilities constants
3. add Capabilities field to cniNetwork struct
Signed-off-by: Bruce Ma <brucema19901024@gmail.com>
2019-08-09 21:22:23 +08:00
chenjun.cj
acdac6e999
reduce kubelet getting node lease
2019-08-09 19:00:50 +08:00
Kubernetes Prow Robot
d47f9ff132
Merge pull request #81086 from dims/fix-incorrect-readlink-check-for-checking-kernel-pids
...
[TOB-K8S-027] Fix Incorrect isKernelPid check
2019-08-08 17:58:04 -07:00
draveness
495faa22db
feat: cleanup pod critical pod annotations feature
2019-08-09 08:41:23 +08:00
Kubernetes Prow Robot
aecc1e829c
Merge pull request #81083 from dims/fix-docker-daemon-process-name
...
[TOB-K8S-025] Incorrect docker daemon process name in container manager
2019-08-08 16:12:18 -07:00
Kubernetes Prow Robot
806ced34a4
Merge pull request #80491 from hpandeycodeit/static_pod_priority
...
Changed IsCriticalPod to return true in case of static pods
2019-08-08 16:11:39 -07:00
Johannes M. Scheuermann
a9cf6cec72
Correct typos in docs and add better explanation for burstrate
2019-08-08 22:11:40 +02:00
Johannes M. Scheuermann
cfb24eeebc
Update internal traffic shaping docs
2019-08-08 16:26:21 +02:00
Kubernetes Prow Robot
ef8869466c
Merge pull request #80978 from wojtek-t/selflink_deprecation
...
Deprecate SelfLink and introduce feature gate to disable its propagation
2019-08-08 03:47:20 -07:00
Himanshu Pandey
c05d506019
changed IsCriticalPod to return true in case of static pods
2019-08-07 15:47:43 -07:00
Kubernetes Prow Robot
4c315aa8d9
Merge pull request #78543 from cheftako/kas-np3
...
Get network-proxy working with GCE.
2019-08-07 14:44:44 -07:00
Davanum Srinivas
bd925d6611
[TOB-K8S-027] Fix Incorrect isKernelPid check
...
isKernelPid should explicitly check the error returned from os.Readlink and return true
only if the error value is ENOENT. Without this fix, if Readlink
returned say ENAMETOOLONG or EACESS, we would still count the process as
a kernel process (which is not true).
2019-08-07 11:19:19 -04:00
Davanum Srinivas
bc71c23bee
[TOB-K8S-025] Incorrect docker daemon process name in container manager
...
The container manager used in kubelet checks for docker daemon process either via pidfile
or process name. While the pidfile points to the docker daemon process PID, the
dockerProcessName constant stores a docker cli name ( docker ) instead of docker daemon
name ( dockerd ).
2019-08-07 10:59:37 -04:00
wojtekt
399d09ce4a
Fix GetReference function
2019-08-07 16:49:29 +02:00
Conor Nolan
e33af11add
Add stub support for TopologyManager to CPUManager
...
Co-Authored-By: Louise Daly <louise.m.daly@intel.com>
2019-08-07 15:56:05 +02:00
Walter Fender
ebb65c5f4c
Get network-proxy working with GCE.
...
Got the proxy-server coming up in the master.
Added certs and have it comiung up with those certs.
Added a daemonset to run the network-agent.
Adding support for agent running as a sameon set on every node.
Added quick hack to test that proxy server/agent were correctly
tunneling traffic to the kubelet.
Added more WIP for reading network proxy configuration.
Get flags set correctly and fix connection services.
Adding missing ApplyTo
Added ConnectivityService.
Fixed build directives. Added connectivity service configuration.
Fixed log levels.
Fixed minor issues for feature turned off.
Fixed boilerplate and format.
Moved log dialer initialization earlier as per Liggits suggestion.
Fixed a few minor issues in the configuration for GCE.
Fixed scheme allocation
Adding unit test.
Added test for direct connectivity service.
Switching to injecting the Lookup method rather than using a Singleton.
First round of mikedaneses feedback.
Fixed deployment to use yaml and other changes suggested by MikeDanese.
Switched network proxy server/agent which are kebab-case not camelCase.
Picked up DIAL_RSP fix.
Factored in deads2k feedback.
Feedback from mikedanese
Factored in second round of feedback from David.
Fix path in verify.
Factored in anfernee's feedback.
First part of lavalamps feedback.
Factored in more changes from lavalamp and mikedanese.
Renamed network-proxy to konnectivity-server and konnectivity-agent.
Fixed tolerations and config file checking.
Added missing strptr
Finished lavalamps requested rename.
Disambiguating konnectivity service by renaming it egress selector.
Switched feature flag to KUBE_ENABLE_EGRESS_VIA_KONNECTIVITY_SERVICE
2019-08-06 23:09:49 -07:00
Kubernetes Prow Robot
7f1ae0e32d
Merge pull request #80105 from ASankaran/dockershim-linux
...
Add ImageFSInfo, ContainerStats, and ListContainerStats impl for linux to dockershim
2019-08-06 18:14:51 -07:00
Kubernetes Prow Robot
663796e624
Merge pull request #78345 from obitech/fix_golint_pkg_kubelet_stats_client
...
Fix golint pkg/kubelet/stats/client.go
2019-08-06 13:14:49 -07:00
Kubernetes Prow Robot
345e58b434
Merge pull request #75071 from mkimuram/issue/74552e2e
...
Fix volume reconstruction and add e2e tests
2019-08-06 06:05:55 -07:00
Kubernetes Prow Robot
1fcd3d6bac
Merge pull request #80369 from jsafrane/dswp-error
...
Propagate errors from DSW to pod events
2019-08-05 15:08:16 -07:00
Kubernetes Prow Robot
cea34cc1a5
Merge pull request #75303 from obitech/fix_golint_failures_pkg_kubelet
...
Fix golint failures in some pkg/kubelet packages
2019-08-05 15:07:50 -07:00
Mark Janssen
e58b4d4324
Fix golint failures of pkg/kubelet/qos
2019-08-05 15:54:15 +02:00
ethan
d21e9a8747
fixup: correct file name in log message
2019-08-05 21:31:38 +08:00
Jan Safranek
c744385804
Add limit of stored errors
...
There should be a limit so the set of errors does not grow too much in
case of some bug in the populator.
2019-08-05 10:06:44 +02:00
Jianfei Bai
5726b22fbc
Move docker specific const to dockershim.
2019-08-05 10:28:08 +08:00
obitech
17d2ba0b3d
Re-import api/core/install for init function
2019-08-03 21:07:12 +02:00
obitech
a5bc997aa9
Fixed pull-kubernetes-verify issues
2019-08-03 21:07:12 +02:00
obitech
457972f1a4
Fix suggestions, track removed library in bazel
2019-08-03 21:07:12 +02:00
obitech
898c40a484
Fix golint failures in some pkg/kubelet packages
...
Fixed:
- pkg/kubelet/pod
- pkg/kubelet/metrics
- pkg/kubelet/configmap
- pkg/kubelet/config
2019-08-03 21:07:12 +02:00
Lee Verberne
b5d592e735
Simplify VisitContainers pattern in volumemanager populator
2019-08-03 14:13:46 +00:00
Kubernetes Prow Robot
c63000ef81
Merge pull request #78793 from mattjmcnaughton/mattjmcnaughton/78629-fix-reserved-cgroup-systemd
...
Fix reserved cgroup systemd
2019-08-02 17:23:52 -07:00
Lee Verberne
906286c743
Change order kubelet starts containers
...
This starts ephemeral containers prior to init containers so that
ephemeral containers will still be started when init containers fail to
start.
Also improves tests and comments with review suggestions.
2019-08-02 19:56:38 +00:00
Masaki Kimura
c130b77a48
Move nil check for mapperPlugin earlier in reconstructVolume
2019-08-01 20:36:21 +00:00
Jan Safranek
bab81b809b
Don't create mounter when reconstructing block volume
...
CSI mounter will create a new directory + json for a filesystem volume,
leading to even more orphaned files/directories.
2019-08-01 20:04:10 +00:00
Kubernetes Prow Robot
b91d64bfc1
Merge pull request #74423 from lmdaly/topology-manager-device-plugin-api-change
...
Device Plugin API change to include Topology Info in Devices
2019-08-01 11:52:31 -07:00
Kubernetes Prow Robot
93e6fb30f0
Merge pull request #74357 from lmdaly/topology-manager-container-manager
...
Updates to container manager and internal container lifecycle to accommodate TopologyManager
2019-08-01 11:52:17 -07:00
Dan Winship
81cd27a51e
iptables: simplify version handling
2019-08-01 12:05:31 -04:00
Kubernetes Prow Robot
e8559f7565
Merge pull request #75229 from andrewsykim/kubelet-node-address-external
...
kubelet: lookup node address for external provider if none is set
2019-08-01 08:16:16 -07:00
Kubernetes Prow Robot
0775e6b2db
Merge pull request #80591 from danwinship/no-localhost-snat
...
hostport: Don't masquerade localhost-to-localhost traffic
2019-07-31 22:36:50 -07:00
Kubernetes Prow Robot
1a8844cd03
Merge pull request #80683 from moshe010/rename_files
...
TopologyManager: Fix rename best-effort policy files
2019-07-31 00:25:00 -07:00
Kubernetes Prow Robot
4f15c017ea
Merge pull request #80657 from rphillips/fixes/log_metrics_add_uid
...
kubelet: add UID to kubelet_container_log_filesystem_used_bytes metric
2019-07-30 08:53:43 -07:00
Kubernetes Prow Robot
b4f6b0bf50
Merge pull request #79963 from RainbowMango/pr_fix_typo_for_informer
...
Fix go lint error for cache directory
2019-07-30 05:33:03 -07:00
Kubernetes Prow Robot
4c191fde89
Merge pull request #73829 from alculquicondor/fix/comment
...
Fix/Add comments on cadvisor implementations
2019-07-30 05:32:51 -07:00
Kubernetes Prow Robot
40b31794ab
Merge pull request #79623 from aaronbbrown/abb-quote-container-in-use
...
quote container name in container already use error matching
2019-07-30 03:35:31 -07:00
Kubernetes Prow Robot
320bc21dbe
Merge pull request #78762 from klueska/upstream-inherit-cpus-from-init-containers
...
Proactively remove init Containers in CPUManager static policy
2019-07-30 03:35:18 -07:00
Aldo Culquicondor
a626a2972e
Fix/Add comments on cadvisor implementations
...
Fix lint issues.
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-07-29 09:31:35 -04:00
Kubernetes Prow Robot
f18833ee58
Merge pull request #80429 from gaorong/expose-node-lease-renewal-frequency
...
kubelet: change node-lease-renew-interval to 0.25 of lease-renew-duration
2019-07-29 02:29:56 -07:00
Rong Gao
cda783699b
change node-lease-renew-interval to 0.25 of renew-duration
...
0.25 is a dedicated value to align before default value
of renew-interval but get more heuristic interval
2019-07-29 15:02:11 +08:00
Moshe Levi
3b83c5c7c6
TopologyManager: Fix rename best-effort policy files
...
PR https://github.com/kubernetes/kubernetes/pull/80301 rename
the preferred policy to best-effort, but the files names are
still policy_preferred.go and policy_preferred_test.go. This
PR fix that.
2019-07-28 19:35:16 +03:00
Kubernetes Prow Robot
23649560c0
Merge pull request #80301 from klueska/upstream-rename-topologymanager-preferred-best-effort
...
Rename 'preferred' TopologyManager policy to 'best-effort'
2019-07-27 09:25:56 -07:00
RainbowMango
0e0e1f7dab
1. Fix lint errors for the whole directory staging/src/k8s.io/client-go/tools/cache;
...
2. Remove staging/src/k8s.io/client-go/tools/cache from .golint_failures;
3. Fix some typo from comments.
2019-07-27 15:49:03 +08:00
Ryan Phillips
2bdf975d5b
kubelet: add UID to kubelet_container_log_filesystem_used_bytes metric
...
buildPodRef creates a unique key with the {podName, namespace, UID}
tuple. By omitting the UID in the metric, duplicate metrics can be sent
to prometheus causing 500's on the /metrics endpoint.
2019-07-26 14:59:43 -05:00
Kevin Klues
9f36f1a173
Add tests for proactive init Container removal in the CPUManager static policy
2019-07-26 14:34:51 +02:00
Kevin Klues
6a7db380de
Add tests for new containertMap type in the CPUManager
2019-07-26 14:34:51 +02:00
Kevin Klues
c6d9bbcb74
Proactively remove init Containers in CPUManager static policy
...
This patch fixes a bug in the CPUManager, whereby it doesn't honor the
"effective requests/limits" of a Pod as defined by:
https://kubernetes.io/docs/concepts/workloads/pods/init-containers/#resources
The rule states that a Pod’s "effective request/limit" for a resource
should be the larger of:
* The highest of any particular resource request or limit
defined on all init Containers
* The sum of all app Containers request/limit for a
resource
Moreover, the rule states that:
* The effective QoS tier is the same for init Containers
and app containers alike
This means that the resource requests of init Containers and app
Containers should be able to overlap, such that the larger of the two
becomes the "effective resource request/limit" for the Pod. Likewise,
if a QoS tier of "Guaranteed" is determined for the Pod, then both init
Containers and app Containers should run in this tier.
In its current implementation, the CPU manager honors the effective QoS
tier for both init and app containers, but doesn't honor the "effective
request/limit" correctly.
Instead, it treats the "effective request/limit" as:
* The sum of all init Containers plus the sum of all app
Containers request/limit for a resource
It does this by not proactively removing the CPUs given to previous init
containers when new containers are being created. In the worst case,
this causes the CPUManager to give non-overlapping CPUs to all
containers (whether init or app) in the "Guaranteed" QoS tier before any
of the containers in the Pod actually start.
This effectively blocks these Pods from running if the total number of
CPUs being requested across init and app Containers goes beyond the
limits of the system.
This patch fixes this problem by updating the CPUManager static policy
so that it proactively removes any guaranteed CPUs it has granted to
init Containers before allocating CPUs to app containers. Since all init
container are run sequentially, it also makes sure this proactive
removal happens for previous init containers when allocating CPUs to
later ones.
2019-07-26 14:34:51 +02:00
Louise Daly
674ecba935
Change Socket to Node
...
Change Node from int in TopologyInfo to type NUMANode which is an int
2019-07-26 06:35:48 +01:00
lmdaly
c1fb5bd508
Device Plugin API change to include Topology Info in Devices
2019-07-26 05:14:14 +01:00
Antoine Pelisse
6568325ca2
Regenerate
2019-07-25 11:54:00 -07:00
Dan Winship
bf077b19d4
hostport: Don't masquerade localhost-to-localhost traffic
2019-07-25 13:34:14 -04:00
Kevin Klues
7eccc71c9e
Rename 'preferred' TopologyManager policy to 'best-effort'
2019-07-25 10:44:36 +02:00
Kubernetes Prow Robot
70521fbf32
Merge pull request #80486 from liyanhui1228/systemuuid
...
Set the systemUUID for windows nodes
2019-07-24 13:50:33 -07:00
Lee Verberne
7bce18b0ce
Generated code for Ephemeral Containers in kubelet
2019-07-24 16:25:52 +00:00
Lee Verberne
ea212d5d49
Add support for ephemeral containers to the kubelet
2019-07-24 16:24:26 +00:00
ethan
5d1a42bbbc
fix typos in kubelet.go
2019-07-24 21:16:23 +08:00
Louise Daly
9f0081cc36
Updates to container manager and internal container lifecycle to accommodate Topology Manager
...
Co-authored-by: Conor Nolan <conor.nolan@intel.com>
2019-07-24 08:09:38 +01:00
Angela Li
6acc08508c
fix lint
2019-07-23 16:01:39 -07:00
Angela Li
e242bbe12c
Changed to use cmd for getting system uuid
2019-07-23 15:59:32 -07:00
Angela Li
e56db7d407
Move to getMachineInfo()
2019-07-23 13:25:12 -07:00
Kubernetes Prow Robot
5b496fe8f5
Merge pull request #80315 from klueska/upstream-cleanup-socketmask
...
Cleanup the TopologyManager socketmask abstraction
2019-07-23 11:40:28 -07:00
Kubernetes Prow Robot
304e2c247a
Merge pull request #80294 from klueska/upstream-fail-fast-cpumanager-topologymanager
...
Update the cpumanager and topologymanager to error out if an invalid policy is given
2019-07-23 11:40:14 -07:00
Angela Li
da966f33f4
Add unit test
2019-07-23 11:22:51 -07:00
Angela Li
7adb0a2656
Set the systemUUID for windows nodes
2019-07-23 10:59:24 -07:00
Kubernetes Prow Robot
04c9bd9bfa
Merge pull request #80176 from liyanhui1228/cpuusage
...
Add CPU usage nano cores for windows nodes
2019-07-22 13:52:53 -07:00
Angela Li
8851a42655
gofmt
2019-07-22 10:56:28 -07:00
Angela Li
e6e8615db3
address comments
2019-07-22 10:53:15 -07:00
Jan Safranek
af0c2fe572
Fix some error messages
2019-07-22 10:54:33 +02:00
Elana Hashman
e0b66c792b
Drop "pod_name" and "container_name" metric labels
...
These labels were deprecated in 1.14 (#69099 ) and should no longer be
used in metric queries.
2019-07-19 10:08:21 -07:00
Jan Safranek
17be780651
Add events to dswp
2019-07-19 17:46:21 +02:00
Kubernetes Prow Robot
96f02fd0a4
Merge pull request #80104 from mattjmcnaughton/mattjmcnaughton/image-manager-test-readability-improvements
...
Improve readability for image manager tests
2019-07-18 21:33:11 -07:00
Kubernetes Prow Robot
a5fcaa87f6
Merge pull request #80324 from tallclair/server-metrics
...
Register Kubelet server metrics
2019-07-18 19:31:49 -07:00
Kubernetes Prow Robot
49f6510d9a
Merge pull request #80277 from draveness/feature/revert-cleanup-critical-pod
...
Revert "feat: cleanup pod critical pod annotations feature"
2019-07-18 19:31:37 -07:00
Kubernetes Prow Robot
cff86e7861
Merge pull request #80234 from tallclair/kubelet-authz
...
Cleanup kubelet authz tests & make explicit
2019-07-18 19:31:12 -07:00
Kevin Klues
65b07312b0
Cleanup comments in TopologyManager socketmask abstraction
2019-07-18 18:52:19 -07:00
Angela Li
99a7a0a53b
fix gofmt
2019-07-18 16:15:39 -07:00
Angela Li
3764360ccc
Make kubelet report usageNanoCores for node on Windows
2019-07-18 15:20:53 -07:00
Tim Allclair
1eb5aed0dd
Register Kubelet server metrics
2019-07-18 14:29:59 -07:00
Tim Allclair
72951efdaf
Cleanup kubelet authz tests & make explicit
2019-07-18 13:35:11 -07:00
Kevin Klues
0edfd4be35
Add package level And/Or calls to TopologyManager socketmask abstraction
2019-07-18 09:06:51 -07:00
Kevin Klues
434fd34e0b
Add NewEmtpySocketMask() call to TopologyManager socketmask abstraction
2019-07-18 09:05:55 -07:00
mattjmcnaughton
1d2c96ad5e
Improve readability for image manager tests
...
Use named variables so boolean arguments are more readable.
2019-07-18 10:14:43 -04:00
Kubernetes Prow Robot
ab266f725f
Merge pull request #80173 from gaorong/node-lease-renew-interval
...
make node lease renew interval more heuristic
2019-07-18 07:08:11 -07:00
Kevin Klues
4ee5d5409e
Update the topologymanager to error out if an invalid policy is given
...
Previously, the topologymanager would simply fall back to the None() policy
if an invalid policy was specified. This patch updates this to return an
error when an invalid policy is passed, forcing the kubelet to fail
fast when this occurs.
These semantics should be preferable because an invalid policy likely
indicates operator error in setting the policy flag on the kubelet
correctly (e.g. misspelling 'strict' as 'striict'). In this case it is
better to fail fast so the operator can detect this and correct the
mistake, than to mask the error and essentially disable the
topologymanager unexpectedly.
2019-07-18 13:24:09 +02:00
Kevin Klues
5dc5f1de06
Update the cpumanager to error out if an invalid policy is given
...
Previously, the cpumanager would simply fall back to the None() policy
if an invalid policy was specified. This patch updates this to return an
error when an invalid policy is passed, forcing the kubelet to fail
fast when this occurs.
These semantics should be preferable because an invalid policy likely
indicates operator error in setting the policy flag on the kubelet
correctly (e.g. misspelling 'static' as 'statiic'). In this case it is
better to fail fast so the operator can detect this and correct the
mistake, than to mask the error and essentially disable the cpumanager
unexpectedly.
2019-07-18 13:24:09 +02:00
draveness
d83526d253
Revert "feat: cleanup pod critical pod annotations feature"
...
This reverts commit b6d41ee5cc
.
2019-07-18 13:31:12 +08:00
Kubernetes Prow Robot
1125054612
Merge pull request #80235 from moshe010/remove_string
...
Remove unnecessary string() from policy_none
2019-07-17 19:34:49 -07:00
Kubernetes Prow Robot
2b21e478b1
Merge pull request #79489 from bclau/feature/run-as-username
...
Adds WindowsOptions.RunAsUserName field
2019-07-17 19:34:24 -07:00
James Sturtevant
a8c78d1359
Windows: Sets the effective SecurityContext's RunAsUserName
...
Co-Authored-By: Claudiu Belu <cbelu@cloudbasesolutions.com>
2019-07-17 15:03:11 +00:00
Rong Gao
95f3e64785
make node lease renew interval more heuristic
2019-07-17 20:57:21 +08:00
Louise Daly
9d7e31e66e
Topology Manager Implementation based on Interfaces
...
Co-authored-by: Kevin Klues <kklues@nvidia.com>
Co-authored-by: Conor Nolan <conor.nolan@intel.com>
Co-authored-by: Sreemanti Ghosh <sreemanti.ghosh@intel.com>
2019-07-17 02:30:21 +01:00
Kubernetes Prow Robot
74f371ce48
Merge pull request #75260 from jsafrane/fix-secret-timeout-msg
...
Fix message of failed sync
2019-07-16 17:36:33 -07:00
Moshe Levi
d52985d3a0
Remove unnecessary string() from policy_none
...
Signed-off-by: Moshe Levi <moshele@mellanox.com>
2019-07-17 01:58:43 +03:00
Kubernetes Prow Robot
c92e7b4980
Merge pull request #79989 from tedyu/kube-metric-del
...
Log warning if config labels deletion returns false
2019-07-16 13:23:00 -07:00
Kubernetes Prow Robot
4197adaf2d
Merge pull request #79343 from nolancon/topology-manager-none
...
Add Policy None for Topology Manager
2019-07-16 13:22:47 -07:00
Ted Yu
5d1bb99fcd
Log warning if config labels deletion returns false
2019-07-16 09:46:12 -07:00
Kubernetes Prow Robot
7c90f7d96c
Merge pull request #77686 from tedyu/preempt-qty
...
Break out of inner loop when newQuantity is negative in admissionRequirementList#subtract
2019-07-15 14:53:37 -07:00
Kubernetes Prow Robot
80537a9c5f
Merge pull request #77323 from tedyu/cgroup-mgr-linux
...
Check error return from Update
2019-07-15 14:53:24 -07:00
Arnav Sankaran
0c1d6d330f
Run gofmt
2019-07-15 09:58:09 -07:00
Arnav Sankaran
82b6b19173
Add test for ContainerStats
2019-07-15 09:57:21 -07:00
Arnav Sankaran
cd8d8f2dce
Add tracing to GetContainerStats
2019-07-15 09:56:55 -07:00
Arnav Sankaran
2cfc85c8b3
Fix compile on non windows linux systems
2019-07-15 09:04:22 -07:00
Arnav Sankaran
9ed8340306
Removed duplicate code
2019-07-15 08:41:06 -07:00
Arnav Sankaran
5a26fe5696
Rename unused variable
2019-07-15 08:26:49 -07:00
Arnav Sankaran
db8e47a965
Run gofmt
2019-07-15 08:24:51 -07:00
wojtekt
93d7feb8a2
Fix kubelet watches to propagate all options
2019-07-15 12:49:45 +02:00
Ted Yu
0ec1f85b47
Break out of inner loop when newQuantity is negative
2019-07-12 09:40:22 -07:00
Arnav Sankaran
0d907e015b
Add ImageFSInfo, ContainerStats, and ListContainerStats impl for linux to dockershim
2019-07-12 08:44:54 -07:00
Kubernetes Prow Robot
642a06e552
Merge pull request #79554 from draveness/feature/remove-critical-pod-annotation
...
feat: cleanup pod critical pod annotations feature
2019-07-11 22:03:04 -07:00
Kubernetes Prow Robot
923f08e29b
Merge pull request #79900 from mikebrow/todo-cleanup-container-manager-linux
...
update code documentation to reflect change in status
2019-07-11 18:33:35 -07:00
Kubernetes Prow Robot
00fe158623
Merge pull request #78414 from tedyu/hdl-pod-addition
...
Check limits for resolve conf outside the loop
2019-07-11 18:33:22 -07:00
Kubernetes Prow Robot
fc9db7a042
Merge pull request #79681 from tedyu/clean-pods-param
...
Pass desiredPods to CleanupPods
2019-07-11 17:01:47 -07:00
Kubernetes Prow Robot
920ac08361
Merge pull request #76518 from haiyanmeng/limit
...
Limit the read length of ioutil.ReadAll in `pkg/kubelet` and `pkg/probe`
2019-07-11 17:01:07 -07:00
Kubernetes Prow Robot
1c99825adf
Merge pull request #79566 from sukeesh/auditlog
...
Cleanup: Audit log and error capitalization
2019-07-11 14:33:59 -07:00
Kubernetes Prow Robot
becf718143
Merge pull request #78368 from tedyu/evict-sandboxes
...
Call getKubeletSandboxes first in containerGC#evictSandboxes
2019-07-11 14:33:21 -07:00
Kubernetes Prow Robot
f0d1b10092
Merge pull request #77429 from tedyu/container-linux-err
...
Avoid unnecessary concatenation of errors
2019-07-11 14:33:08 -07:00
Haiyan Meng
1f270ef4e2
Limit the read length of ioutil.ReadAll in pkg/kubelet
and pkg/probe
...
Signed-off-by: Haiyan Meng <haiyanmeng@google.com>
2019-07-11 13:18:06 -07:00
Kubernetes Prow Robot
d4d8daea73
Merge pull request #78558 from tedyu/policy-str
...
Remove unnecessary string()
2019-07-11 13:13:06 -07:00
Kubernetes Prow Robot
b168ab1f99
Merge pull request #79892 from mikebrow/todo-cleanup-status-manager
...
update code docs around old todo that is not going to happen
2019-07-10 21:39:33 -07:00
draveness
b6d41ee5cc
feat: cleanup pod critical pod annotations feature
2019-07-11 08:54:19 +08:00
Brian Goff
45b0261290
Use EPOLL/O_CLOEXEC in evicition notifier
...
This prevents fd's from leaking to subprocesses.
2019-07-09 10:03:31 -07:00
Kubernetes Prow Robot
858fce1634
Merge pull request #79531 from odinuge/kubelet-dead-code
...
Remove unnecessary variable declaration
2019-07-08 14:28:01 -07:00
Kubernetes Prow Robot
2309b584ee
Merge pull request #79017 from sttts/sttts-apiserver-healthz-stack-trace
...
apiserver: don't log stack trace on /healthz error
2019-07-08 14:27:48 -07:00
Mike Brown
6da266784a
update code documentation to reflect change in status
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2019-07-08 16:15:59 -05:00
Mike Brown
7b6bb58f3a
update code docs around old todo that is not going to happen
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2019-07-08 09:24:50 -05:00
Sukeesh
346fdbccf0
Cleanup: Audit log and error capitalization
2019-07-08 20:20:12 +09:00
Kubernetes Prow Robot
8482582094
Merge pull request #79700 from khenidak/fix-downward
...
kubelet: fix ip reporting for downward api
2019-07-03 16:46:13 -07:00
Kubernetes Prow Robot
bbef01a202
Merge pull request #74411 from nolancon/topology-manager-flags-feature-gate
...
Add feature gate and kubelet flags for Topology Manager
2019-07-03 15:16:13 -07:00
tiffany jernigan
27a0d91f2d
Remove lazy provide from credential provider and kubelet ( #79674 )
...
* Remove LazyProvide from kubelet
* Remove LazyProvide from cloud providers
* Remove LazyProvide from credential provider keyring and provider
2019-07-03 13:52:52 -07:00
Kubernetes Prow Robot
8f7bb1fe71
Merge pull request #79321 from shufanhao/fix_golint_issue_for_network
...
Fix golint failure in pkg/kubelet/dockershim/network/cni
2019-07-03 13:52:26 -07:00
Kubernetes Prow Robot
03aeab967a
Merge pull request #79306 from vllry/gogo-dep-tag
...
Updated github.com/gogo/protobuf from v0.5 SHA to v1.0.0 tag
2019-07-03 12:29:39 -07:00
Kubernetes Prow Robot
2a82853614
Merge pull request #72420 from Pingan2017/cleanup-outofdisk
...
clean up redundant conditiontype ‘OutOfDisk’
2019-07-03 09:12:33 -07:00
Pingan2017
e94d7b3802
clean up redundant conditiontype OutOfDisk
2019-07-03 14:34:52 +08:00
Khaled Henidak(Kal)
491804001c
kubelet: fix ip reporting for downward api
2019-07-03 05:12:39 +00:00
fanhao01
24a95a6c3e
Fix golint failure in pkg/kubelet/dockershim/network/cni
2019-07-03 12:57:24 +08:00
Vallery Lancey
fe59ee8aaf
Updated github.com/gogo/protobuf from SHA to nearest-pinnable tag (v1.0.0), as part of dependency management cleanup: #79234
2019-07-02 21:44:06 -07:00
Kubernetes Prow Robot
c8cee54240
Merge pull request #79391 from danwinship/nodeaddresses-update-fix
...
Don't use strategic merge patch on Node.Status.Addresses
2019-07-02 21:08:29 -07:00
Kubernetes Prow Robot
090e5233f2
Merge pull request #72974 from sjenning/sysctl-kubeconfig
...
kubelet: add allowed sysctl to KubeletConfiguration
2019-07-02 19:58:29 -07:00
Ted Yu
2242e396d4
Pass desiredPods to CleanupPods
2019-07-03 10:35:13 +08:00
Dan Winship
05a9634fb3
Hack PatchNodeStatus() to override the patch type on Status.Addresses
2019-07-02 19:16:30 -04:00
Khaled Henidak(Kal)
dba434c4ba
kubenet for ipv6 dualstack
2019-07-02 22:26:25 +00:00
Seth Jennings
0c7ce5a7d7
kubelet: add allowed sysctl to KubeletConfiguration
2019-07-02 12:19:47 -05:00
nolancon
705f97e171
Enable feature gate and kubelet flags for Topology Manager
...
Nit: remove capitalization of preferred
Remove line from kubelet and add to separate PR for easier merge
nit: dependency added to separate PR
Add check to ensure strict policy cannot be set without feature gate enabled
Topology Manager runs "none" policy by default.
Added constants for policies and updated documentation.
2019-07-02 06:50:17 +01:00
Kubernetes Prow Robot
6f73ab2219
Merge pull request #78908 from dcbw/cni-0.7.1-snapshot
...
vendor: bump CNI to v0.7.1 snapshot
2019-07-01 21:33:21 -07:00
Kubernetes Prow Robot
cdddcf9b48
Merge pull request #71170 from atlassian/rand-cleanup2
...
Cleanup math/rand package usage
2019-07-01 21:33:08 -07:00
Kubernetes Prow Robot
dcd57c9e5e
Merge pull request #79076 from draveness/feature/read-nodes-from-scheduler-cache
...
fix: predicates read nodes from scheduler cache
2019-07-01 15:09:33 -07:00
Aaron Brown
d1066ead3f
quote container name in container already use error matching
...
https://github.com/moby/moby/pull/27510 switched the container already
in use message from a bare string to a quoted string, so the
auto-deletion of "in use" containers no longer works in Docker > 17.04.
2019-07-01 17:37:35 -04:00
Dan Williams
8739ade3fa
kubelet: add CNI cache dir option and plumb through to CNI and kubenet
...
libcni 0.7.0 caches ADD operation results and allows the runtime to
retrieve these from the cache. In case the user wants a different
cache directory than the defaul, plumb that through like we do
for --cni-bin-dir and --cni-conf-dir.
2019-07-01 12:14:07 -05:00
Alexey Perevalov
a2ea2996f3
move to libcni 0.7.0
...
Previous commit "Use ip address from CNI output" introduces
ability to run pod which can havn't eth0. But also it
add problem: after kubelet restart, if we have already started
pod w/o eth0, kubelet can't find proper interface (it's
normal for vhostuser type of cni plugin when eth0 doesn't exist)
and kubelet restarts "broken" pod.
Fix of this issue requeres new feature of libcni - caching
results.
Looks like new libcni requires cniVersion in CNI output.
This patch specifies version both for CNI conf and CNI output.
Signed-off-by: Alexey Perevalov <a.perevalov@samsung.com>
2019-07-01 12:14:06 -05:00
Cezar Sa Espinola
d96c2f63e9
kubelet: ensure stable order for images in node status
...
By using the image ID as part of the sort function we ensure a stable
order even for images with the same size.
2019-07-01 11:23:24 -03:00
Kubernetes Prow Robot
6a2d0f67d1
Merge pull request #79527 from wojtek-t/cleanup_etcd_dir_1
...
Cleanup etcd code
2019-06-29 07:37:22 -07:00
wojtekt
cba13eb9ad
Autogenerate code
2019-06-29 15:26:09 +02:00
Kubernetes Prow Robot
ca6113fb8b
Merge pull request #78495 from odinuge/cgroups-hugetlb
...
Fix cgroup hugetlb size prefix for kB
2019-06-28 16:09:29 -07:00
Kubernetes Prow Robot
2501a9083d
Merge pull request #68513 from codenrhoden/mount-refactor
...
Refactor util/mount interface in prep for moving out of k/k
2019-06-28 13:57:28 -07:00
Odin Ugedal
4ee5fe23e8
Fix cgroup hugetlb size prefix for kB
...
Use the exported list from runc that uses "KB" and not "kB".
This issue breaks kubelet on AArch64 (arm 64).
var HugePageSizeUnitList = []string{"B", "KB", "MB", "GB", "TB", "PB"}
The hugetlb cgroup control files (introduced here in 2012:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=abb8206cb0773 )
use "KB" and not "kB"
(https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/mm/hugetlb_cgroup.c?h=v5.0#n349 ).
The behavior in the kernel has not changed since the introduction, and
the current code using "kB" will therefore fail on devices with huge
pages smaller than 1MiB. This is the case for AArch64.
As seen from the code in "mem_fmt" inside hugetlb_cgroup.c, only "KB",
"MB" and "GB" are used, so the others may be removed as well.
Here is a real world example of the files inside the
"/sys/kernel/mm/hugepages/" directory:
- "hugepages-64kB"
- "hugepages-2048kB"
- "hugepages-32768kB"
- "hugepages-1048576kB"
And the corresponding cgroup files:
- "hugetlb.64KB._____"
- "hugetlb.2MB._____"
- "hugetlb.32MB._____"
- "hugetlb.1GB._____"
Signed-off-by: Odin Ugedal <odin@ugedal.com>
2019-06-28 21:28:26 +02:00
Odin Ugedal
2bcdb944f0
Update dependency opencontainer/runc
2019-06-28 21:23:05 +02:00
wojtekt
fd819f8fdc
Move APIObjectVersioner
2019-06-28 21:16:49 +02:00
draveness
30b0f8bf3b
fix: predicates read nodes from scheduler cache
2019-06-29 02:34:08 +08:00
Odin Ugedal
9c2aa843bd
Remove unnecessary variable declaration
2019-06-28 18:03:23 +02:00
Kubernetes Prow Robot
dfb7748542
Merge pull request #78347 from obitech/fix_golint_pkg_kubelet_prober
...
Fix golint issues in pkg/kubelet/{prober,secret}
2019-06-27 17:43:21 -07:00
Kubernetes Prow Robot
f3a03f71af
Merge pull request #79473 from wojtek-t/coordination_v1
...
Use coordination v1 API
2019-06-27 15:30:14 -07:00
Kubernetes Prow Robot
b51f62186a
Merge pull request #79451 from yujuhong/fix-pod-restarts
...
kubelet: retry pod sandbox creation when containers were never created
2019-06-27 15:30:01 -07:00
wojtekt
e8ca50c43c
Use coordination v1 API
2019-06-27 18:08:40 +02:00
Kubernetes Prow Robot
f20876908f
Merge pull request #79341 from krzysied/kubelet_lease_fix
...
Handling OptimisticLockError in kubelet node lease controller
2019-06-27 05:53:24 -07:00
Krzysztof Siedlecki
d45197a8b0
handling OptimisticLockError in kubelet
2019-06-27 13:44:09 +02:00
Yu-Ju Hong
3fac48f86a
kubelet: retry pod sandbox creation when containers were never created
...
If kubelet never gets past sandbox creation (i.e., never attempted to
create containers for a pod), it should retry the sandbox creation on
failure, regardless of the restart policy of the pod.
2019-06-26 18:19:27 -07:00
Dr. Stefan Schimanski
e848eaa566
apiserver: store httplog in context
2019-06-26 18:33:19 +02:00
Kubernetes Prow Robot
c64f81d082
Merge pull request #78653 from sjenning/add-sjenning-owners
...
kubelet: add sjenning to kubelet subdirectory owners files
2019-06-25 14:47:15 -07:00
nolancon
2d7ac702d6
Add Policy None for Topology Manager
...
Update naming of test functions.
2019-06-25 03:24:31 +01:00
Kubernetes Prow Robot
231033bd15
Merge pull request #79148 from RobertKrawitz/mirror-pod-delete-loop-fix
...
Issue 79147: Do not delete an incorrect pod when replacing a mirror pod
2019-06-24 11:24:02 -07:00
Kubernetes Prow Robot
2a366773e9
Merge pull request #76281 from zgfh/patch-5
...
fix typo: "inidvidual"-> "individual"
2019-06-24 11:23:50 -07:00
Kubernetes Prow Robot
2109c1a7a3
Merge pull request #79310 from draveness/feature/cleanup-KubeletPluginsWatcher-feature-gates
...
feat: cleanup feature gates for KubeletPluginsWatcher
2019-06-23 23:04:09 -07:00
Kubernetes Prow Robot
8ce45b642e
Merge pull request #79262 from draveness/feature/graduate-pod-priority-to-ga
...
feat: cleanup PodPriority features gate
2019-06-23 02:45:54 -07:00
draveness
35bc5dc6b6
feat: cleanup feature gates for KubeletPluginsWatcher
2019-06-23 16:59:36 +08:00
draveness
ca6003bc75
feat: cleanup PodPriority features gate
2019-06-23 11:57:24 +08:00
Kubernetes Prow Robot
caf6b67ce2
Merge pull request #79073 from rafatio/cgroup-pid-not-required
...
Ignore cgroup pid support if related feature gates are disabled
2019-06-21 18:52:50 -07:00
Kubernetes Prow Robot
5c61d51a32
Merge pull request #79104 from avorima/refactor_vol_resize_unit_tests
...
Refactor online volume resize unit tests
2019-06-21 12:16:52 -07:00
Robert Krawitz
12713b3ee4
Do not delete an incorrect pod when replacing a mirror pod
2019-06-20 23:02:16 -04:00
obitech
cbdfccc9f8
Fix golint issues in pkg/kubelet/secret
2019-06-20 19:56:29 +02:00
obitech
b767b1b250
Fix golint issues in pkg/kubelet/prober/results
2019-06-20 19:55:15 +02:00
obitech
897e8c0de6
Fix golint issues in pkg/kubelet/prober
2019-06-20 19:55:14 +02:00
Kubernetes Prow Robot
40a2927bcc
Merge pull request #78031 from mattjmcnaughton/mattjmcnaughton/cleanup-probe-http
...
Code cleanup for for probe/http
2019-06-19 18:36:48 -07:00
Kubernetes Prow Robot
9988239125
Merge pull request #79011 from cwdsuzhou/June/remove_useless_returned_value
...
Remove returned value of func handleCreateEvent
2019-06-18 06:04:20 -07:00
Mario Valderrama
a44b754405
Refactor online volume resize unit tests
2019-06-17 18:24:22 +02:00
Kubernetes Prow Robot
2dc0c01068
Merge pull request #78222 from humblec/volume_stats
...
Fix nil pointer dereference in metrics value calculator.
2019-06-17 04:36:11 -07:00
Kubernetes Prow Robot
08b4d4b371
Merge pull request #78335 from mysunshine92/remove-unused-events
...
remove unused events in event.go
2019-06-15 22:54:09 -07:00
rafatio
08c258add9
Ignore cgroup pid support if related feature gates are disabled
2019-06-15 18:45:27 -03:00
mattjmcnaughton
46267759bc
Code cleanup for for probe/http
...
Two small code cleanup changes for `probe/http`.
- Tests name the `followNonLocalRedirects` variable before passing to
`New`, so its clear what the boolean flag in the construct impacts.
- Change import name from `httprobe` to `httpprobe` when used by
`pkg/kubelet/prober/prober.go`. Establishes consistency with other uses
in the repo.
2019-06-15 12:09:00 -04:00
Kubernetes Prow Robot
6602f61596
Merge pull request #79002 from jiayingz/add-cadvisor-metrics
...
Enable cadvisor ProcessMetrics collecting.
2019-06-15 08:53:04 -07:00
Kubernetes Prow Robot
480457994d
Merge pull request #78015 from SataQiu/fix-golint-kubelet-20190517
...
Fix golint failures of pkg/kubelet/configmap pkg/kubelet/custommetrics
2019-06-15 00:46:09 -07:00
Kubernetes Prow Robot
ec02afb46e
Merge pull request #78777 from tedyu/preempt-bench
...
Use no-priority best-effort pod as the preemptor in BenchmarkGetPodsToPreempt
2019-06-14 16:51:00 -07:00
Kubernetes Prow Robot
145232c1a0
Merge pull request #78673 from tedyu/threshold-min-reclaim
...
Remove inner loop for finding MinReclaim in ParseThresholdConfig
2019-06-14 13:27:02 -07:00
Kubernetes Prow Robot
51164f11ae
Merge pull request #78603 from Random-Liu/fix-image-status
...
Fix image status
2019-06-14 13:26:22 -07:00
Travis Rhoden
be7da5052f
Refactor pkg/util/mount to be more reusable
...
This patch refactors pkg/util/mount to be more usable outside of
Kubernetes. This is done by refactoring mount.Interface to only contain
methods that are not K8s specific. Methods that are not relevant to
basic mount activities but still have OS-specific implementations are
now found in a mount.HostUtils interface.
2019-06-14 09:35:18 -06:00
Kubernetes Prow Robot
11abb58a5b
Merge pull request #78626 from tedyu/img-cache-mutex
...
Use Mutex for synchronization in imageCache
2019-06-14 07:59:18 -07:00
Kubernetes Prow Robot
3fc21aff76
Merge pull request #78624 from tedyu/evict-mgr-threshold
...
Iterate through thresholds in managerImpl#synchronize
2019-06-14 07:59:05 -07:00
Kubernetes Prow Robot
a08084d475
Merge pull request #78571 from SataQiu/fix-golint-kubelet-20190531
...
Fix golint failures of pkg/kubelet/prober pkg/kubelet/secret
2019-06-14 05:32:51 -07:00
Kubernetes Prow Robot
2bfcdc6601
Merge pull request #78559 from mysunshine92/fix-typo-retrieve
...
fix typo in /pkg/kubelet/container/cache.go
2019-06-14 05:32:38 -07:00
Kubernetes Prow Robot
b2be0753dd
Merge pull request #78493 from tedyu/ignore-pod-kill-err
...
Continue admitting the pod regardless of return value from killPodFunc
2019-06-14 04:09:00 -07:00
Kubernetes Prow Robot
d30fbab4b8
Merge pull request #77915 from SataQiu/fix-golint-util-20190515
...
Fix golint failures of pkg/util/parsers pkg/util/sysctl pkg/util/system
2019-06-14 00:29:00 -07:00
caiweidong
017aad3b60
Remove returned value of func handleCreateEvent
2019-06-14 15:27:59 +08:00
Jiaying Zhang
edcfdc4cbf
Enable cadvisor ProcessMetrics collecting.
2019-06-13 16:21:24 -07:00
mattjmcnaughton
5539e61032
Fix reserved cgroup systemd
...
Fix an issue in which, when trying to specify the `--kube-reserved-cgroup`
(or `--system-reserved-cgroup`) with `--cgroup-driver=systemd`, we will
not properly convert the `systemd` cgroup name into the internal cgroup
name that k8s expects. Without this change, specifying
`--kube-reserved-cgroup=/test.slice --cgroup-driver=systemd` will fail,
and only `--kube-reserved-cgroup=/test --crgroup-driver=systemd` will succeed,
even if the actual cgroup existing on the host is `/test.slice`.
Additionally, add light unit testing of our process from converting to a
systemd cgroup name to kubernetes internal cgroup name.
2019-06-07 10:48:42 -04:00
Ted Yu
22556aed17
Use no-priority best-effort pod as the preemptor in BenchmarkGetPodsToPreempt
2019-06-06 14:51:53 -07:00
goodluckbot
8a7aaad6bd
Fix log level for runtime error in kubelet.go
2019-06-05 16:41:08 +08:00
David Ashpole
80ed28b15b
disable kubelet local endpoints on windows
2019-06-04 14:07:10 -07:00
Lantao Liu
e27b263f37
Support image status by ID.
2019-06-04 11:34:38 -07:00
Ted Yu
f7d9e037d9
Remove inner loop for finding MinReclaim in ParseThresholdConfig
2019-06-03 19:20:19 -07:00
Kubernetes Prow Robot
e0ae55059d
Merge pull request #78592 from tedyu/plugin-mgr
...
Use read lock for reconciler#getHandlers and clean up for the pluginmanager
2019-06-03 18:17:14 -07:00
Ted Yu
19c91a59ab
Iterate through thresholds in managerImpl#synchronize
2019-06-03 13:16:09 -07:00
qingsenLi
94e4f27725
Delete the redundant define test
2019-06-04 01:13:09 +08:00
Hemant Kumar
0f62e3fbe8
Make language of error msgs and func names consistent: ExpandVolumeInUse
...
change feature flag
Fix the e2e test for online and offline expansion
2019-06-03 12:26:56 -04:00
Seth Jennings
89dc2c65e4
kubelet: add sjenning to kubelet subdirectory owners files
2019-06-03 08:26:24 -05:00
Kubernetes Prow Robot
acb321e614
Merge pull request #78594 from benmoss/windows-kubelet-memory-leak
...
Fix memory leak from not closing hcs containers
2019-06-03 04:40:20 -07:00
Ben Moss
1fcad1b4ab
Fix memory leak from not closing hcs container handles
2019-06-02 10:52:07 -04:00
Ted Yu
f6edee0fe1
Use Mutex for synchronization in imageCache
2019-06-01 15:48:55 -07:00
Alexander Kanevskiy
89481f8c27
Use go standard library for common bit operations
...
PR#72913 introduced own versions of the bit operations that are
less efficient than ones from standard library.
2019-06-01 19:54:38 +03:00
Kubernetes Prow Robot
9ac58bae56
Merge pull request #78515 from klueska/upstream-socketmask-updates
...
Updates to the SocketMask abstraction for the TopologyManager
2019-06-01 09:50:16 -07:00
Kubernetes Prow Robot
46c74629cf
Merge pull request #78516 from klueska/upstream-topology-manager-interface-updates
...
Update the TopologyManager interfaces
2019-06-01 08:00:19 -07:00
Kubernetes Prow Robot
6b6bdc760a
Merge pull request #78504 from dashpole/deprecate_cadvisor_json
...
Add kubelet flag to disable cadvisor json apis, and mark it deprecrated
2019-06-01 04:44:55 -07:00
Kubernetes Prow Robot
162912e12a
Merge pull request #78496 from dashpole/dashpole_owners
...
Add dashpole to kubelet subdirectory owners files
2019-06-01 02:55:07 -07:00
Kubernetes Prow Robot
408735e9da
Merge pull request #77975 from logicalhan/process-metrics
...
add process start time metric to metric probes since they use counters
2019-05-31 20:45:01 -07:00
Kubernetes Prow Robot
89ae84d478
Merge pull request #75479 from pivotal-k8s/windows-portforward
...
Implement port forwarding for windows
2019-05-31 19:22:20 -07:00
Kubernetes Prow Robot
fc005789c1
Merge pull request #77274 from RenaudWasTaken/kubeletpodresources-beta
...
Graduate 3rd party device monitoring plugins to beta!
2019-05-31 10:58:26 -07:00
Ted Yu
ff83754a6b
Use read lock for reconciler#getHandlers
2019-05-31 10:39:14 -07:00
Kubernetes Prow Robot
fe37733a12
Merge pull request #73891 from taragu/plugin-manager
...
Add kubelet plugin manager
2019-05-31 07:12:29 -07:00
Ben Moss
202841dfe3
Implement port forwarding for windows
...
On Windows the only way to access the container's network interfaces is
by running another process in the pod from which we can use a
netcat-like program to proxy the TCP stream
Proposed wincat.exe can be found here: https://github.com/benmoss/wincat
2019-05-31 09:20:27 -04:00
yameiwang
abda563ce2
fix typo in /pkg/kubelet/container
2019-05-31 18:50:39 +08:00
SataQiu
c6a0f820d8
fix golint failures of pkg/kubelet/prober pkg/kubelet/secret
2019-05-31 17:08:53 +08:00
Kubernetes Prow Robot
f49fe2a750
Merge pull request #72787 from dashpole/cadvisor_prefix_whitelist
...
Only collect metrics for cgroups required by the summary API
2019-05-31 00:28:26 -07:00
Kubernetes Prow Robot
cf76868b34
Merge pull request #66928 from RobertKrawitz/ephemeral-storage-quota-exp
...
Ephemeral storage monitoring via filesystem quotas
2019-05-30 20:44:26 -07:00
Ted Yu
1a755d13a6
Remove unnecessary string()
2019-05-30 19:48:26 -07:00
Tara Gu
5e18554442
Implement plugin manager - a controller that manages plugin registration/unregistration
2019-05-30 19:00:59 -04:00
Ted Yu
4979686a81
Check limits for resolve conf outside the loop
2019-05-30 13:51:36 -07:00
Renaud Gaubert
a03d2d4d4e
Fix improper cleanup when creating a unix socket
2019-05-30 13:21:37 -07:00
Ted Yu
132556e13a
Continue admitting the pod regardless of return value from killPodFunc
2019-05-30 11:36:34 -07:00
David Ashpole
785d40923a
add kubelet flag to disable cadvisor json apis, and mark it deprecrated
2019-05-30 10:39:45 -07:00
yameiwang
91b5af0608
remove unused events in event.go
2019-05-30 22:01:19 +08:00
Kevin Klues
0a43d21c26
Add IsNarrowerThan() function to socketmask abstraction
2019-05-30 06:00:22 -07:00
Kevin Klues
617a1fa394
Update the TopologyManager interfaces
...
These updates are based on discussions had about the preferred semantics
of the TopologyManager and will be reflected in changes to an upcoming
PR that adds the actual TopologyManager implementation.
2019-05-30 05:52:11 -07:00
Kevin Klues
cdb59d3c7a
Fix incorrect names for tests in socketmask
2019-05-30 04:16:53 -07:00
nolancon
0244c0e658
remove dependency on implementation from policy preferred and strict
...
update build
2019-05-30 05:57:39 +01:00
nolancon
ef9baf313d
Update unit tests for TopologyHints - Topology Manager Policies
2019-05-30 05:44:01 +01:00
nolancon
e82fa41fb2
More Intuitive TopologyHints - topology manager policies
2019-05-30 05:44:01 +01:00
Sreemanti Ghosh
4e503597b8
Unit test for Topology Manager policy_strict and policy_preferred
2019-05-30 05:44:01 +01:00
nolancon
eff568e496
Add Policies Strict and Preferred for Topology Manager
2019-05-30 05:44:01 +01:00
Kubernetes Prow Robot
68f728a89e
Merge pull request #78375 from mysunshine92/remove-unused-events-2
...
delete unused events
2019-05-29 21:29:08 -07:00
Ted Yu
c46ec66a1f
Avoid unnecessary concatenation of errors
2019-05-29 17:25:53 -07:00
David Ashpole
a95cf017e1
add dashpole to kubelet owners files
2019-05-29 13:33:48 -07:00
Robert Krawitz
38753efcc7
Set sizeLimit to the smaller of the ephemeral storage limit and the emptydir limit (if set)
2019-05-29 15:17:47 -04:00
Robert Krawitz
f8661d6240
Use xfs_quota command to apply quotas
2019-05-29 15:12:28 -04:00
Robert Krawitz
448e0c44c6
Apply quotas via syscalls using cgo.
2019-05-29 15:12:28 -04:00
Robert Krawitz
5b97b2860d
Change fsGroup to mounterArgs in volume.SetUp() to allow for future extension.
2019-05-29 15:12:28 -04:00
Kubernetes Prow Robot
38468e4338
Merge pull request #70536 from mysunshine92/golint-hostpath
...
fix golint for pkg/volume/host_path
2019-05-29 11:25:46 -07:00
Kubernetes Prow Robot
9ca472da03
Merge pull request #72885 from lmdaly/topology-manager-interfaces
...
Add Topology Manager Interfaces
2019-05-29 09:44:25 -07:00
Kubernetes Prow Robot
f0812288a9
Merge pull request #78303 from mysunshine92/fix-typo-0524
...
fix some spelling error
2019-05-29 05:33:42 -07:00
lmdaly
c1a4457573
Update Bazel files to include SocketMask
2019-05-29 02:21:51 +01:00
Conor Nolan
d99bac12e6
Update Remove/AddPod to Container ( #26 )
...
More intuitive TopologyHints
2019-05-29 02:11:15 +01:00
lmdaly
e64c558a11
Added BUILD files and updates to Boilerplates
2019-05-29 02:11:15 +01:00
lmdaly
71bbc6d538
Add Topology Manager Interfaces
...
*Topology Manager
*Policy
2019-05-29 02:10:46 +01:00
yameiwang
af24f2a507
delete unused events
2019-05-29 06:52:11 +08:00
Kubernetes Prow Robot
3b4473f45a
Merge pull request #72913 from nolancon/topology-manager-socket-mask
...
Add Socket Mask for Topology Manager
2019-05-28 10:58:41 -07:00
Ted Yu
3f043dd8a0
Sort init container statuses using non-nested loop
2019-05-28 07:51:30 -07:00
nolancon
b7f6b8f8f1
Updated unit test for socketmask
2019-05-28 05:00:04 +01:00
obitech
5efe2c1bb7
Fix golint issues in pkg/kubelet/stats/log_metrics_provider.go
2019-05-27 22:03:21 +02:00
obitech
16d64d6925
Fix golint issues in pkg/kubelet/client
...
Add comments to exported functions in `pkg/kubelet/client/client.go`
In `KubeletClientConfig` rename `EnableHttps` to `EnableHTTPS`. This requires
renaming it in `pkg/kubelet/client/client_test.go`
2019-05-27 22:03:21 +02:00
Humble Chirammal
cada0270fe
Fix nil pointer dereference in metrics value calculator.
...
The metrics structure passed to volume stat calculator
can contain real stats on subset of metrics fields. For example,
the metrics structure filled by a CSI driver can have
either INODES or BYTES filled, IOW it a valid return.
In such cases the volume stat calculator panic with below
trace:
0516 21:36:19.013143 14452 runtime.go:69] Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference)
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:76
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:65
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:51
/usr/local/go/src/runtime/panic.go:522
/usr/local/go/src/runtime/panic.go:82
/usr/local/go/src/runtime/signal_unix.go:390
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/api/resource/quantity.go:697
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/api/resource/quantity.go:685
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/kubelet/server/stats/volume_stat_calculator.go:144
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/kubelet/server/stats/volume_stat_calculator.go:125
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/kubelet/server/stats/volume_stat_calculator.go:65
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:152
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:153
/usr/local/go/src/runtime/asm_amd64.s:1337
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-05-27 16:36:39 +05:30
nolancon
283dff9335
Update SocketMask based on feedback
...
TODO: Unit tests to be updated
2019-05-27 07:19:03 +01:00
Ted Yu
58dfe186d8
Call getKubeletSandboxes first in containerGC#evictSandboxes
2019-05-26 14:40:11 -07:00
Kubernetes Prow Robot
eaece39c86
Merge pull request #78323 from tallclair/docker
...
Add a special-cased runtime handler for dockershim
2019-05-25 09:01:50 -07:00
yameiwang
23b7d5e606
fix some spelling error
2019-05-25 06:51:31 +08:00
Tim Allclair
19a588eeda
Add a special-cased runtime handler for dockershim
2019-05-24 15:30:34 -07:00
Mikhail Mazurskiy
4ce1fb7d40
Cleanup math/rand package usage
2019-05-24 09:25:04 +10:00
Tim Allclair
91e593546c
Revert "Use consistent imageRef during container startup"
...
This reverts commit 26e3c8674e
.
2019-05-23 11:36:32 -07:00
Kubernetes Prow Robot
585fa3acc8
Merge pull request #78073 from mattjmcnaughton/mattjmcnaughton/fix-housekeeping-typos
...
Standardize housekeeping capitalization
2019-05-22 18:44:37 -07:00
Kubernetes Prow Robot
4f33b5f421
Merge pull request #77820 from dims/charrywanganthony-pr-71835-delete-kubelet-security-controls
...
Remove deprecated Kubelet security controls
2019-05-22 13:52:25 -07:00
Kubernetes Prow Robot
43b4d218b0
Merge pull request #75053 from RobertKrawitz/pid-limit-comment-typo
...
Fix typo in comments on SystemReserved and KubeReserved
2019-05-21 18:44:07 -07:00
Kubernetes Prow Robot
3517197bcb
Merge pull request #77699 from chardch/reset-extended
...
Reset extended resources only when node is recreated.
2019-05-21 17:02:08 -07:00
Kubernetes Prow Robot
b7b8addd62
Merge pull request #77068 from monstercy/nodeStatusReportFrequency
...
fix comment about nodeStatusReportFrequency in kubelet.go
2019-05-21 14:30:10 -07:00
Richard Chen
c9f1b57b5b
Reset extended resources only when node is recreated.
2019-05-21 14:16:54 -07:00
Kubernetes Prow Robot
ae2a1628f6
Merge pull request #75459 from wk8/wk8/gmsa_beta
...
Kubelet & API changes for Windows GMSA support
2019-05-21 11:40:08 -07:00
Rong Gao
2d5020e3b6
enrich oom event message info
2019-05-21 21:24:59 +08:00
Kubernetes Prow Robot
e476a60ccb
Merge pull request #73241 from vikaschoudhary16/selinux-label
...
Add correct selinux label at plugin socket directory
2019-05-20 11:07:17 -07:00
SataQiu
80bee6d965
fix golint failures of pkg/kubelet/configmap pkg/kubelet/custommetrics
2019-05-20 09:56:19 +08:00
mattjmcnaughton
c68690c640
Standardize housekeeping capitalization
...
Previously, the code base had both `housekeeping` and `houseKeeping`,
which made case sensitive search in vim difficult. Standardize on
`housekeeping`, which was by far the most popular.
2019-05-18 11:30:47 -04:00
vikaschoudhary16
58d1b4d564
Add correct selinux label at plugin socket directory
2019-05-18 12:35:17 +05:30
Andrew Sy Kim
0d8861114d
kubelet: lookup node address for external provider if none is set
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-05-17 11:06:38 -04:00
Kubernetes Prow Robot
a6b546eb72
Merge pull request #77936 from liggitt/shorten-cert-wait
...
Interrupt WaitForCertificate if desired kubelet serving cert changes
2019-05-17 00:26:19 -07:00
Kubernetes Prow Robot
3c02a38fdc
Merge pull request #77609 from tedyu/union-all-test
...
Add test for CPUSet#UnionAll
2019-05-16 20:39:26 -07:00
Jean Rouge
b39d8f4777
Kubelet & implementation changes for Windows GMSA support
...
This patch comprises the kubelet changes outlined in the Windows GMSA KEP
(https://github.com/kubernetes/enhancements/blob/master/keps/sig-windows/20181221-windows-group-managed-service-accounts-for-container-identity.md )
to add GMSA support to Windows workloads.
Updated tests.
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-05-16 22:07:03 -04:00
Kubernetes Prow Robot
b276043051
Merge pull request #77421 from tedyu/cpu-free-no-sort
...
Obtain unsorted slice in cpuAccumulator#freeCores
2019-05-16 16:26:53 -07:00
Jean Rouge
181706b0f0
Auto-generated changes for Windows GMSA support
...
This patch comprises the auto-generated changes for the API changes outlined in
the Windows GMSA KEP
(https://github.com/kubernetes/enhancements/blob/master/keps/sig-windows/20181221-windows-group-managed-service-accounts-for-container-identity.md )
to add GMSA support to Windows workloads.
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-05-16 15:34:22 -07:00
Jordan Liggitt
739a75fc32
Interrupt WaitForCertificate if desired kubelet serving cert changes
2019-05-16 15:14:47 -04:00
Ted Yu
52f797188f
Add test for CPUSet#UnionAll
...
Signed-off-by: Ted Yu <yute@vmware.com>
2019-05-16 12:13:33 -07:00
chaowang
9ba0d47465
Remove deprecated Kubelet security controls
...
Change-Id: I9f770e6780b60e881092690f6f177d726f474fe3
2019-05-16 13:33:52 -04:00
Han Kang
2d48b3e81e
add process start time metric to metric probes since they use counters
2019-05-16 08:19:29 -07:00
Kubernetes Prow Robot
066549b4b5
Merge pull request #77892 from mikedanese/pluginwatcher
...
simplify pluginwatcher close by removing waitgroup
2019-05-16 06:06:26 -07:00
Kubernetes Prow Robot
ce3ce9a57a
Merge pull request #77023 from obitech/fix_golint_issues_in_kubelet_packages_oom
...
Fix golint issues in pkg/kubelet/oom
2019-05-15 22:56:21 -07:00
Kubernetes Prow Robot
37281a400d
Merge pull request #76442 from viegasdom/fix-golint-utils-bandwith
...
Fix golint failures of util/bandwith/*.go
2019-05-15 22:56:08 -07:00
Kubernetes Prow Robot
c50ff35a55
Merge pull request #77839 from mcrute/migrate-fake-cp
...
Staging legacy fake cloud provider
2019-05-15 12:32:23 -07:00
SataQiu
b36d8d431f
fix golint failures of pkg/util/parsers pkg/util/sysctl pkg/util/system
2019-05-15 23:19:47 +08:00
Kubernetes Prow Robot
adf6fa6987
Merge pull request #77888 from tallclair/standalone
...
Don't create a RuntimeClassManager without a KubeClient
2019-05-15 00:04:48 -07:00
Kubernetes Prow Robot
116f06e96e
Merge pull request #77661 from mfpierre/fix-static-pods-kubelet-status
...
Kubelet status manager sync the status of local Pods
2019-05-14 20:36:28 -07:00
Mike Danese
531a50c776
simplify pluginwatcher closing
2019-05-14 18:55:13 -07:00
Kubernetes Prow Robot
032b4d39c6
Merge pull request #77304 from cwdsuzhou/fix_leak_when_stop_error
...
Bugfix: fix chan leak when stop error
2019-05-14 18:24:55 -07:00
Tim Allclair
41ccf4c77e
Don't create a RuntimeClassManager without a KubeClient
2019-05-14 16:41:50 -07:00
Mike Crute
7d62316f8f
Migrate fake cloud provider to staging
2019-05-14 13:32:18 -07:00
Kubernetes Prow Robot
2525ab8572
Merge pull request #77759 from haiyanmeng/host
...
Remove the `host` label from the kubelet http traffic metrics
2019-05-13 13:15:36 -07:00
Kubernetes Prow Robot
0252a32342
Merge pull request #77788 from mysunshine92/wym-0510
...
fix typos
2019-05-13 11:52:31 -07:00
nolancon
e8566caa3f
Update to unit test and comment bug fixed
2019-05-13 06:41:44 +01:00
yameiwang
503ac59abe
fix typo in kuberuntime_manager.go
2019-05-13 08:35:01 +08:00
Kubernetes Prow Robot
ace60e8acb
Merge pull request #77684 from tedyu/pre-empt
...
Correct CriticalPodAdmissionHandler in godoc
2019-05-12 02:24:09 -07:00
Haiyan Meng
4751f40319
Remove the host
label from the kubelet http traffic metrics
...
Signed-off-by: Haiyan Meng <haiyanmeng@google.com>
2019-05-10 13:46:35 -07:00
David Ashpole
f8dff6bd5b
only collect metrics for cgroups required by the summary API
2019-05-10 12:12:41 -07:00
Kubernetes Prow Robot
ef9e794a36
Merge pull request #77656 from yastij/check-cstat-mem
...
check if Memory is not nil for container stats
2019-05-09 17:52:23 -07:00
Kubernetes Prow Robot
b7dc0124a0
Merge pull request #77379 from tedyu/http-stat-map
...
Use map to check whether stack trace is needed
2019-05-09 14:13:34 -07:00
Ted Yu
0a9bf0d05e
Correct CriticalPodAdmissionHandler in godoc
2019-05-09 10:51:46 -07:00
JulienBalestra
27cccad822
Kubelet provides an updated and complete status of local-static Pods
2019-05-09 14:56:31 +02:00
Yassine TIJANI
f6087365e9
check if Memory is not nil for container stats
2019-05-09 14:53:38 +02:00
Kubernetes Prow Robot
60a4c3c003
Merge pull request #76603 from changyaowei/generic_ut_fix
...
fix TestEventChannelFull random fail
2019-05-08 17:14:47 -07:00
Ted Yu
85fc089855
Use map to check whether stack trace is needed
...
Signed-off-by: Ted Yu <yute@vmware.com>
2019-05-08 14:31:50 -07:00
Kubernetes Prow Robot
09c4e10333
Merge pull request #74021 from andrewsykim/move-features-component-base
...
Move feature gate package from k8s.io/apiserver to k8s.io/component-base
2019-05-08 13:06:34 -07:00
Daniel (Shijun) Qian
5268f69405
fix duplicated imports of k8s code ( #77484 )
...
* fix duplicated imports of api/core/v1
* fix duplicated imports of client-go/kubernetes
* fix duplicated imports of rest code
* change import name to more reasonable
2019-05-08 10:12:47 -07:00
Andrew Kim
c919139245
update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate
2019-05-08 10:01:50 -04:00
nolancon
7c525ffaa8
More intuitive TopologyHints - socketmask.go
2019-05-08 04:22:39 +01:00
Kubernetes Prow Robot
946087b422
Merge pull request #77426 from Random-Liu/remove-terminated-pod
...
Remove terminated pod from summary api.
2019-05-07 15:55:23 -07:00
Kubernetes Prow Robot
caad1635ce
Merge pull request #77409 from gnufied/add-volume-manager-approvers
...
Add jan and msau42 as approver for volumemanager
2019-05-07 15:54:59 -07:00
Kubernetes Prow Robot
b4211dea98
Merge pull request #77422 from tedyu/policy-set-union
...
Union all CPUSets in one round
2019-05-06 14:02:05 -07:00
caiweidong
a01f0b4e5e
Bugfix: fix channel leak when stop error
2019-05-05 23:06:13 +08:00
Lantao Liu
11cd4242f6
Remove terminated pod from summary api.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-05-03 18:34:54 -07:00
Ted Yu
e967c37068
Union all CPUSets in one round
2019-05-03 14:40:33 -07:00
Ted Yu
f83bac61a4
Obtain unsorted slice in cpuAccumulator#freeCores
2019-05-03 14:07:47 -07:00
Hemant Kumar
15e2421f90
Add jan and msau42 as approver for volumemanager
2019-05-03 13:34:50 -04:00
Kubernetes Prow Robot
6a8a368291
Merge pull request #77287 from tedyu/kube-long-running
...
Use map to check for long-running request
2019-05-02 16:23:09 -07:00
Ted Yu
89c8a91c0f
Check error return from Update
...
Signed-off-by: Ted Yu <yute@vmware.com>
2019-05-02 09:56:40 -07:00
Kubernetes Prow Robot
98c4c1e2d8
Merge pull request #77291 from tedyu/cpu-pod-stat
...
Query pod status outside loop over containers
2019-05-01 23:28:56 -07:00
Kubernetes Prow Robot
a5a70b4de3
Merge pull request #74859 from ahadas/static_policy
...
kubelet/cm: code optimization for the static policy
2019-05-01 23:28:19 -07:00
Kubernetes Prow Robot
7d14d53999
Merge pull request #77162 from klueska/upstream-cpu-manager-find-init-containers
...
Add ability to find init Container IDs in cpumanager reconcileState()
2019-05-01 18:42:30 -07:00
Ted Yu
3fc16a7e82
Log pod name when pod status cannot be queried
2019-05-01 15:01:56 -07:00
Kubernetes Prow Robot
d457a5d214
Merge pull request #77157 from tedyu/kubelet-node-addr-read
...
Utilize read lock for getLastObservedNodeAddresses
2019-05-01 14:32:42 -07:00
Kubernetes Prow Robot
b219272a76
Merge pull request #77165 from mattjmcnaughton/mattjmcnaughton/77138-increase-max-msg-size-dockershim
...
Increase maxMsgSize for dockershim
2019-04-30 20:50:56 -07:00
Ted Yu
66ce52578a
Query pod status outside loop over containers
2019-04-30 19:35:32 -07:00
Ted Yu
fe6e50df3d
Use map to check for long-running request
...
Signed-off-by: Ted Yu <yute@vmware.com>
2019-04-30 19:32:35 -07:00
Jan Safranek
96c41f8a1e
Fix message of failed sync
...
From:
MountVolume.SetUp failed for volume "secret-prometheus-k8s-proxy" :
couldn't propagate object cache: timed out waiting for the condition
To:
MountVolume.SetUp failed for volume "secret-prometheus-k8s-proxy" : failed
to sync secret cache: timed out waiting for the condition
2019-04-30 13:05:07 +02:00
Kubernetes Prow Robot
16085784bc
Merge pull request #75110 from bertinatto/fix_race_watcher
...
Send events before adding watchers in traversePluginDir
2019-04-29 17:19:38 -07:00
mattjmcnaughton
0547167ad0
Increase maxMsgSize for dockershim
...
Increase the grpc max message size to be the same as the value defined
in `pkg/kubelet/remote/utils.go`.
Increase the limit because, `ListPodSandbox` (and possibly other) calls
are hitting the limit. Long term, the best solution to this issue is to
use pagination, but that is not currently available.
2019-04-27 13:26:31 -04:00
Kevin Klues
ef27f5f1a5
Add ability to find init Container IDs in cpumanager reconcileState()
...
The cpumanager loops through all init Containers and app Containers when
reconciling its state. However, the current implementation of
findContainerIDByName(), which is call by the reconciler, does not
resolve for init Containers.
This patch updates findContainerIDByName() to account for init
Containers and adds a regression test that fails before the change and
succeeds after.
2019-04-27 06:18:55 -07:00
obitech
9e35d3d709
Fix golint issues in pkg/kubelet/oom
2019-04-27 10:00:07 +02:00
Ted Yu
1be83c9d4d
Utilize read lock for getLastObservedNodeAddresses
2019-04-26 20:05:49 -07:00
changyaowei
850f4bbd36
modify random failure
2019-04-27 08:04:58 +08:00
Kubernetes Prow Robot
5b43333291
Merge pull request #76884 from SataQiu/fix-golint-pkg/kubelet/pod
...
Fix golint failures of pkg/kubelet/pod
2019-04-25 13:37:06 -07:00
Kubernetes Prow Robot
f4937619a2
Merge pull request #75442 from mars1024/bugfix/bandwidth_unit
...
change bandwidth units from Kb to b
2019-04-25 13:36:54 -07:00
Kubernetes Prow Robot
3bbd0e92e8
Merge pull request #75228 from haiyanmeng/kubelet
...
Add metrics to monitor the kubelet http server
2019-04-25 13:36:31 -07:00
Kubernetes Prow Robot
40a7a2370b
Merge pull request #76940 from cwdsuzhou/use_locked_func
...
fix: use locked func to replace the raw one to avoid concurrent read
2019-04-25 12:04:08 -07:00
Yu Cao
e8b60b1d8d
fix comment about nodeStatusReportFrequency in kubelet.go
2019-04-25 19:49:48 +08:00
SataQiu
1581055c3a
fix golint failures of pkg/kubelet/pod
2019-04-25 11:54:14 +08:00
SataQiu
bf37c8a217
fix golint failures of pkg/kubelet/checkpointmanager/checksum
2019-04-25 09:56:43 +08:00
yameiwang
f130e48deb
fix golint errors in pkg/volume/host_path
2019-04-25 06:46:47 +08:00
Kubernetes Prow Robot
5c4a59f9af
Merge pull request #76690 from SataQiu/fix-golint-kubelet-20190417
...
Fix some golint failures of pkg/kubelet
2019-04-24 12:24:51 -07:00
Kubernetes Prow Robot
8ec6167f61
Merge pull request #74942 from WanLinghao/event_replace
...
Migrate oom watcher not relying on cAdviosr's API any more
2019-04-24 05:50:05 -07:00
Kubernetes Prow Robot
5a790bce3b
Merge pull request #76763 from SataQiu/ifx-golint-kubelet-20190419
...
Fix golint failures of pkg/kubelet/apis
2019-04-24 01:24:14 -07:00
Kubernetes Prow Robot
ea38af74a9
Merge pull request #76925 from SataQiu/fix-golint-kubelet-2019042302
...
Fix golint failures of pkg/kubelet/dockershim/cm
2019-04-23 23:50:50 -07:00
Kubernetes Prow Robot
970e5929fe
Merge pull request #76806 from SataQiu/fix-kubelet-golint-20190419
...
Fix golint failures of pkg/kubelet/checkpoint
2019-04-23 22:10:11 -07:00
SataQiu
828125c725
fix golint failures of pkg/kubelet/apis
2019-04-24 12:56:28 +08:00
Fabio Bertinatto
f56455753b
Remove unnecessary in-line function
2019-04-23 22:24:33 +02:00
Fabio Bertinatto
817c9ca953
Process plugins found before the ones watched
...
Currently, the method `pluginwatcher.traversePluginDir` descends into
a directory adding filesystem watchers and creating synthetic `create`
events when it finds sockets files. However, a race condition might
happen when a recently-added watcher observes a `delete` event in a
socket file before `pluginwatcher.traversePlugindir` itself notices
this file.
This patch changes this behavior by registering watchers on
directories, enqueueing and processing `create` events from sockets
found, and only then processing the events from the registered watchers.
2019-04-23 22:24:33 +02:00
caiweidong
2fe823ba46
fix: use locked func to replace the raw one to avoid concurrent read
2019-04-23 21:00:13 +08:00
SataQiu
423e8f0292
fix golint failures of pkg/kubelet/dockershim/cm
2019-04-23 12:59:13 +08:00
Kubernetes Prow Robot
4ec29a1a2b
Merge pull request #76889 from SataQiu/fix-golint-kubelet-util-20190422
...
Fix golint failures of pkg/kubelet/util
2019-04-22 20:44:25 -07:00
Tim Allclair
c12b053390
Reregister cAdvisor cloud info providers in Kubelet
2019-04-22 15:43:45 -07:00
SataQiu
cd6828bae0
fix golint failures of pkg/kubelet/util
2019-04-22 15:23:07 +08:00
SataQiu
f5736f3fd1
fix some golint failures of pkg/kubelet
2019-04-22 10:40:51 +08:00
Davanum Srinivas
7b8c9acc09
remove unused code
...
Change-Id: If821920ec8872e326b7d85437ad8d2620807799d
2019-04-19 08:36:31 -04:00
SataQiu
0e1956b762
fix golint failures of pkg/kubelet/checkpoint
2019-04-19 18:27:32 +08:00
Kubernetes Prow Robot
1192ca09f0
Merge pull request #76634 from xichengliudui/addConsts
...
Using const() defines constants together
2019-04-18 01:50:10 -07:00
Kubernetes Prow Robot
6bc42d5bc0
Merge pull request #75869 from WanLinghao/cm_log_fix
...
Fix a log info error
2019-04-17 21:14:01 -07:00
Kubernetes Prow Robot
32a49828fe
Merge pull request #76456 from codenrhoden/mv-exec-mounter
...
Move ExecMount to pkg/volume/util/exec
2019-04-17 12:16:20 -07:00
Kubernetes Prow Robot
aff3f0c61c
Merge pull request #76665 from tallclair/imageref
...
Use consistent imageRef during container startup
2019-04-16 19:14:34 -07:00
Kubernetes Prow Robot
dffbae622a
Merge pull request #76633 from xichengliudui/little-bug
...
Small bug: Comments and function names do not match
2019-04-16 17:48:34 -07:00
Yu-Ju Hong
903f635ab3
dockershim: Fix negotiating docker API version
...
API version negotiation needs to happen before any meaningful docker
calls, including simple commands such as "/version".
2019-04-15 15:25:06 -07:00
changyaowei
123d1a925f
modify random failure
2019-04-15 20:26:00 +08:00
viegasdom
9d3d7a7b51
Changes another usage of the BandwidthShaper to Shaper
2019-04-12 17:24:57 +01:00
Kubernetes Prow Robot
097d58523a
Merge pull request #75278 from Nessex/updatecontainerresources-label-fix
...
Fix label on UpdateContainerResources operation
2019-04-12 08:44:48 -07:00
Kubernetes Prow Robot
78f571dcfc
Merge pull request #76291 from dims/update-to-latest-cadvisor-remove-mesos-rkt
...
Update to latest cadvisor - cleanup mesos/rkt
2019-04-12 06:15:00 -07:00
Kubernetes Prow Robot
b7858e31d4
Merge pull request #76074 from danielqsj/probe
...
change kubelet probe metrics to counter
2019-04-12 03:23:04 -07:00
Kubernetes Prow Robot
c6338979ff
Merge pull request #75843 from alok87/update-dep-docker-docker-18.09.3
...
Update docker/docker dependency to release 18.09.4
2019-04-12 03:22:48 -07:00
Haiyan Meng
538cd87864
Add metrics to monitor the kubelet http server
...
Signed-off-by: Haiyan Meng <haiyanmeng@google.com>
2019-04-11 14:16:57 -07:00
Davanum Srinivas
1707144b0d
Adjust our use of cadvisor to pull in just runtimes we need
...
- We drop mesos and rkt support in cadvisor
Change-Id: Id4dcafdecc97802b2def95a572e67842e7507f7b
2019-04-11 14:59:48 -04:00
Davanum Srinivas
70d562a6ac
Update to latest cadvisor - cleanup mesos/rkt
...
Change-Id: Ib5ae0cb13b93f8c87bb74e3ba33040df5f3d6a6f
2019-04-11 14:49:23 -04:00
Travis Rhoden
f38d4938be
Move ExecMount to pkg/volume/util/exec
...
This patch moves the ExecMounter found in pkg/util/mount to
pkg/volume/util/exec. This is done in preparation for pkg/util/mount to
move out of tree. This specific implemention of mount.Interface is only
used internally to K8s and does not need to move out of tree.
2019-04-11 12:19:55 -06:00
viegasdom
80578d5bf1
Changes code that still used BandWidthShaper instead of Shaper
2019-04-11 18:50:32 +01:00
Alok Kumar Singh
5b3a44fd56
Use docker api IsErrNotFound(). String handling is not required anymore
...
Why? https://github.com/kubernetes/kubernetes/pull/75843#discussion_r273785877
Moby support: https://github.com/moby/moby/pull/38689
Moby def: 053c6f097a/client/errors.go (L44-L49)
2019-04-11 20:52:57 +05:30
aaa
bad985dc3a
Using const() defines constants together
2019-04-10 17:41:29 -04:00
aaa
49a2b1fd8f
Small bug: Comments and function names do not match
...
add a function
2019-04-10 17:37:24 -04:00
Tim Allclair
26e3c8674e
Use consistent imageRef during container startup
2019-04-10 12:06:42 -07:00
Kubernetes Prow Robot
98104e44f3
Merge pull request #76020 from qingsenLi/k8s190402-fix-healty
...
fix typo healty
2019-04-09 15:18:45 -07:00
Kubernetes Prow Robot
c2acec5c77
Merge pull request #71679 from RobertKrawitz/logspam-cleanup
...
Clean up PR #71617
2019-04-09 11:20:48 -07:00
Alan
b00911a920
fix typo: "inidvidual"-> "individual"
...
fix typo: "inidvidual"-> "individual"
2019-04-09 03:02:50 +08:00
Daniel Mueller
9050c510e6
Remove unused variables from computePodPhase
...
The initialized and failed variables in the computePodPhase function are
effectively write only. Remove them.
2019-04-08 09:09:09 -07:00
Robert Krawitz
022f7c2cd7
Clean up PR #71617
2019-04-08 10:34:40 -04:00
Xing Yang
000ab86788
Move CSIDriver Lister to the controller
2019-04-05 12:20:11 -07:00
Kubernetes Prow Robot
a727bddc5e
Merge pull request #75523 from freehan/bug-fix
...
reconcile pod ready condition when message is not expected
2019-04-04 23:53:19 -07:00
Kubernetes Prow Robot
28295b0e78
Merge pull request #76098 from smarterclayton/move_direct_encoder
...
Move DirectEncoder to runtime, rename, add .WithoutConversion() on CodecFactory
2019-04-04 21:07:55 -07:00
Kubernetes Prow Robot
dc1ff116dc
Merge pull request #74220 from tedyu/master
...
Aggregate errors for kube runtime GC
2019-04-04 17:47:19 -07:00
danielqsj
6d041abba7
remove metrics prober_probe_result
2019-04-04 17:03:11 +08:00
Clayton Coleman
7f9dfe58f4
Use CodecFactory.WithoutConversion() everywhere
...
Clarifies that requesting no conversion is part of the codec factory, and
future refactors will make the codec factory less opionated about conversion.
2019-04-03 22:19:13 -04:00
Dr. Stefan Schimanski
37046e3028
Handle feature gate errors
2019-04-03 16:52:05 +02:00
danielqsj
295d672d54
change kubelet probe metrics to counter type
2019-04-03 17:44:17 +08:00
qingsenLi
4db2227629
fix typo healty
2019-04-03 03:29:22 +08:00
Giuseppe Scrivano
a561196bfe
logs: consume all file until EOF on exited container
...
If the container is not found, do not stop reading the log file
immediately but wait until we reach again EOF.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-03-30 17:42:21 +01:00
Giuseppe Scrivano
8f68b281e4
kubelet: force checking the log file every second
...
it seems fsnotify can miss some read events, blocking the kubelet to
receive more data from the log file.
If we end up waiting for events with fsnotify, force a read from the
log file every second so that are sure to not miss new data for longer
than that.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-03-30 17:42:20 +01:00
Giuseppe Scrivano
341c2c0d1f
kubelet: handle recreated log files
...
if the runtime is configured to rotate the log file, we might end up
watching the old fd where there are no more writes.
When a fsnotify event other than Write is received, reopen the log
file and recreate the watcher.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-03-30 17:42:20 +01:00
Giuseppe Scrivano
2c30eee92f
kubelet: read immediately after creating the watcher
...
if some events happen between the Read and while we set the watcher,
we might miss them.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-03-30 17:42:11 +01:00
Kubernetes Prow Robot
dabeb20a1a
Merge pull request #75587 from tiffanyfay/cred-provider
...
Refactor AWS credential provider
2019-03-29 14:48:47 -07:00
WanLinghao
62d8081eda
Fix a log info error
2019-03-29 13:27:10 +08:00
Kubernetes Prow Robot
4b3eb60081
Merge pull request #75531 from dims/add-new-staging-repository-for-cri-api
...
New staging repository for cri-api
2019-03-26 18:10:49 -07:00
tiffany jernigan
847cb24aa1
Credential provider Provide takes image (general)
2019-03-27 01:00:26 +00:00
Davanum Srinivas
33081c1f07
New staging repository for cri-api
...
Change-Id: I2160b0b0ec4b9870a2d4452b428e395bbe12afbb
2019-03-26 18:21:04 -04:00
Kubernetes Prow Robot
531dbd409f
Merge pull request #75445 from shinytang6/enhance/fmt
...
Replace all time.Now().Sub with time.Since
2019-03-26 13:55:17 -07:00
Kubernetes Prow Robot
428a8e04d4
Merge pull request #75458 from jingxu97/March/raceofActualDesiredState
...
Fix race condition between actual and desired state in kublet volume manager
2019-03-25 13:24:51 -07:00
Clayton Coleman
b28e82ad4a
Avoid using %#v
for errors when using only a portion of the object
...
`%#v` may have significant performance costs in frequently invoked code.
2019-03-21 22:52:09 -04:00
shinytang6
5c9f4d9dc6
replace time.Now().Sub with time.Since
2019-03-21 18:02:55 +08:00
Minhan Xia
47bc948fe3
reconcile pod ready condition when message is not expected
2019-03-20 14:05:40 -07:00
Kubernetes Prow Robot
26fea2361a
Merge pull request #75166 from qingsenLi/k8s190308-fix-heatbeat
...
spelling error 'heatbeat'
2019-03-20 13:30:59 -07:00
Kubernetes Prow Robot
795c96aa9d
Merge pull request #71822 from houjun41544/20181207-event
...
Remove unused kubelet event reasons
2019-03-20 11:07:47 -07:00
Kubernetes Prow Robot
155688b2f3
Merge pull request #75309 from cwdsuzhou/remove_unused_variable
...
Remove the unused variabe: syncDuration in volumemanager
2019-03-20 07:42:08 -07:00
Kubernetes Prow Robot
16b5f7d3c5
Merge pull request #67487 from tianshapjq/validate-system-kube-reserved
...
validate systemReservedCgroup and kubeReservedCgroup
2019-03-19 21:26:22 -07:00
Kubernetes Prow Robot
046dcbd1ed
Merge pull request #73917 from droslean/cleanup
...
replace loops with go idiomatic.
2019-03-19 19:01:04 -07:00
Jing Xu
7cb5df6728
Fix race condition between actual and desired state in kublet volume
...
manager
This PR fixes the issue #75345 . This fix modified the checking volume in
actual state when validating whether volume can be removed from desired state or not. Only if volume status is already mounted in actual state, it can be removed from desired state.
For the case of mounting fails always, it can still work because the
check also validate whether pod still exist in pod manager. In case of
mount fails, pod should be able to removed from pod manager so that
volume can also be removed from desired state.
2019-03-18 17:08:48 -07:00
Bruce Ma
183247ca5c
change bandwidth units from Kb to b
...
Signed-off-by: Bruce Ma <brucema19901024@gmail.com>
2019-03-18 21:22:34 +08:00
Kubernetes Prow Robot
1a24040447
Merge pull request #74781 from liggitt/http2-watch
...
kubelet watch-manager test, restore watch-based manager default
2019-03-16 12:52:56 -07:00
Kubernetes Prow Robot
3512757882
Merge pull request #75416 from tallclair/local-redirects
...
Don't follow non-local redirects from HTTP probes
2019-03-16 09:14:57 -07:00
Kubernetes Prow Robot
0f6196878d
Merge pull request #75367 from feiskyer/fix-dockershim-panic
...
Fix panic when removing docker images
2019-03-16 01:08:56 -07:00
Tim Allclair
e6ea4f0538
Don't follow non-local redirects for http probes
2019-03-15 11:04:30 -07:00
caiweidong
92aee22646
Remove the unused variabe: syncDuration in volumemanager
2019-03-15 10:04:41 +08:00
Kubernetes Prow Robot
b3ec6c17f1
Merge pull request #75144 from Huang-Wei/followup-74222
...
kubelet: updated logic of verifying a static critical pod
2019-03-14 14:41:00 -07:00
Pengfei Ni
a304297c99
Fix panic when removing docker images
2019-03-14 18:53:02 +08:00
Jordan Liggitt
f2a0c0342c
Revert "Revert kubelet to default to ttl cache secret/configmap behavior"
...
This reverts commit cd1c9f9018
.
2019-03-13 15:12:26 -07:00
Wei Huang
d67e7fd47f
kubelet: updated logic of verifying a static critical pod
...
- check if a pod is static by its static pod info
- meanwhile, check if a pod is critical by its corresponding mirror pod info
2019-03-12 23:40:20 -07:00
Nathan Essex
394c581a56
Fix label on UpdateContainerResources operation
2019-03-12 14:18:53 +09:00
Kubernetes Prow Robot
243e740885
Merge pull request #74809 from oxddr/secrets-and-maps
...
Fix secret/configmap management for terminated pods
2019-03-11 16:42:36 -07:00
Lantao Liu
0ac651bfc3
Include pod logs in the pod ephemeral storage.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-03-08 16:42:14 -08:00
Lantao Liu
f14c6c95d6
New pod log directory /var/log/pods/NAMESPACE_NAME_UID.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-03-08 16:42:14 -08:00
qingsenLi
147666f10f
spelling error 'heatbeat'
2019-03-09 00:22:06 +08:00
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
Arik Hadas
4a47148afe
kubelet/cm: fix test description
...
Signed-off-by: Arik Hadas <ahadas@redhat.com>
2019-03-07 21:23:15 +02:00
Arik Hadas
26e1c1cee7
kubelet/cm: code optimization for the static policy
...
Minor optimization in the code that attempts to assign whole
sockets/cores in case the number of CPUs requested is higher
than CPUs-per-socket/core: check if the number of requested
CPUs is higher than CPUs-per-socket/core before retrieving
and iterating the free sockets/cores, and break the loops
when that is no longer the case.
Signed-off-by: Arik Hadas <ahadas@redhat.com>
2019-03-07 21:23:15 +02: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
Robert Krawitz
9fe4efea03
Fix typo in comments on SystemReserved and KubeReserved
2019-03-06 14:22:46 -05: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
WanLinghao
611563c913
golint fix
2019-03-06 19:47:54 +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
WanLinghao
c16d9193c1
bazel fix
2019-03-05 17:22:35 +08:00
WanLinghao
b2ce446a88
Migrate oom watcher not relying on cAdviosr any more, it is part of plan
...
of removing cAdvisor from k8s.
For more informations about this plan, please refer:
https://github.com/kubernetes/kubernetes/issues/68522
2019-03-05 17:06:34 +08:00
Sreemanti-Ghosh
ce56956409
Socket mask unit test ( #4 )
2019-03-05 08:00:04 +00:00
nolancon
a273333f1f
Add BUILD files and Boilerplates
...
Updates based on comments
* Export comments added
* glog changed to klog
* Other small edits
2019-03-05 07:59:51 +00: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
nolancon
f10e76962f
Add Socket Mask for Topology Manager
2019-03-01 07:20:47 +00: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
qingsenLi
8086b8f71d
fix syntactic error in kuberuntime_manager.go-2
2019-02-23 10:51:17 +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
Ted Yu
dae6950f04
Aggregate errors for kube runtime GC
...
Signed-off-by: Ted Yu <yute@vmware.com>
2019-02-18 13:29:22 -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
sunxiaofei03
91e6dab9f8
rm unused judgement
2019-02-15 10:57:42 +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
xichengliudui
5dd26ecab5
Fix function comment to consistent with its name
...
update pull request
update pull request
2019-02-12 01:37:20 -05:00
Kubernetes Prow Robot
c9964aa519
Merge pull request #73342 from szuecs/fix/period-not-reset-if-gate-not-set
...
cpuPeriod was not reset
2019-02-11 19:58:07 -08:00
Yu-Ju Hong
04575f01b0
kubelet: promote OS & arch labels to GA
...
kubelet now applies both the beta and the GA labels to ensure backward
compatibility.
2019-02-11 11:24:58 -08:00
Nikolaos Moraitis
6e820cdcaf
replace loops with go idiomatic.
2019-02-11 11:21:52 +01:00
Clayton Coleman
49250c6efc
Make container create, start, and stop events consistent
...
The messages for container lifecycle events are subtly inconsistent
and should be unified.
First, the field format for containers is hard to parse for a human,
so include the container name directly in the message for create
and start, and for kill remove the container runtime prefix.
Second, the pulling image event has inconsistent capitalization, fix
that to be sentence without punctuation.
Third, the kill container event was unnecessarily wordy and inconsistent
with the create and start events. Make the following changes:
* Use 'Stopping' instead of 'Killing' since kill is usually reserved for
when we decide to hard stop a container
* Send the event before we dispatch the prestop hook, since this is an
"in-progress" style event vs a "already completed" type event
* Remove the 'cri-o://' / 'docker://' prefix by printing the container
name instead of id (we already do that replacement at the lower level
to prevent high cardinality events)
* Use 'message' instead of 'reason' as the argument name since this is a
string for humans field, not a string for machines field
* Remove the hash values on the container spec changed event because no
human will ever be able to do anything with the hash value
* Use 'Stopping container %s(, explanation)?' form without periods to
follow event conventions
The end result is a more pleasant message for humans:
```
35m Normal Created Pod Created container
35m Normal Started Pod Started container
10m Normal Killing Pod Killing container cri-o://installer:Need to kill Pod
10m Normal Pulling Pod pulling image "registry.svc.ci.openshift.org/openshift/origin-v4.0-2019-02-10-172026@sha256:3da5303d4384d24691721c1cf2333584ba60e8f82c9e782f593623ce8f83ddc5"
```
becomes
```
35m Normal Created Pod Created container installer
35m Normal Started Pod Started container installer
10m Normal Killing Pod Stopping container installer
10m Normal Pulling Pod Pulling image "registry.svc.ci.openshift.org/openshift/origin-v4.0-2019-02-10-172026@sha256:3da5303d4384d24691721c1cf2333584ba60e8f82c9e782f593623ce8f83ddc5"
```
2019-02-10 16:39:42 -05:00
Kubernetes Prow Robot
ee44e24cd3
Merge pull request #73659 from feiskyer/usage-nano-cores
...
Kubelet: add usageNanoCores from CRI stats provider
2019-02-08 19:26:21 -08:00
Kubernetes Prow Robot
5b7a790d35
Merge pull request #72185 from dcbw/owners-label-sig-network
...
OWNERS: add label:sig/network to a bunch of places
2019-02-08 10:36:16 -08:00
Kubernetes Prow Robot
5bedff6625
Merge pull request #73836 from Random-Liu/clarify-hostname-in-cri
...
Clarify hostname emptiness in CRI.
2019-02-08 09:06:27 -08:00
Kubernetes Prow Robot
b50c643be0
Merge pull request #73540 from rlenferink/patch-5
...
Updated OWNERS files to include link to docs
2019-02-08 09:05:56 -08:00
Kubernetes Prow Robot
eac19a3ab9
Merge pull request #73616 from dims/move-part-of-kubelet-apis-well-known-lables
...
move pkg/kubelet/apis/well_known_labels.go to staging/src/k8s.io/api/core/v1/
2019-02-07 19:44:34 -08:00
Lantao Liu
5b86ee1c82
Clarify hostname emptiness in CRI.
2019-02-07 18:37:59 -08:00
Lantao Liu
1a92e218e0
Remove unused function from the legacy runtime interface.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-02-07 16:57:19 -08:00
haiyanmeng
c35335808c
Add runtime_handler
into PodSandbox and PodSandboxStatus
2019-02-07 15:52:09 -08:00
Jiaying Zhang
00b88c14b0
Checks whether we have cached runtime state before starting a container
...
that requests any device plugin resource. If not, re-issue Allocate
grpc calls. This allows us to handle the edge case that a pod got
assigned to a node even before it populates its extended resource
capacity.
2019-02-07 11:12:36 -08:00
Pengfei Ni
01fbca29cb
Kubelet: add usageNanoCores from CRI stats provider
2019-02-07 22:31:30 +08:00
Kubernetes Prow Robot
6796645672
Merge pull request #73758 from sjenning/priority-based-oom-score-adj
...
kubelet: set low oom_score_adj for containers in critical pods
2019-02-06 21:13:55 -08:00
Kubernetes Prow Robot
ae45068688
Merge pull request #72323 from danielqsj/dockershim
...
Change docker metrics to conform metrics guidelines
2019-02-06 09:30:54 -08:00
Jean Rouge
c4806186d4
Review comments
...
* value names are now purely random
* cleaning up leaked registry keys at Kubelet init
* fixing a small bug masking create errors
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-02-05 16:53:17 -08:00
Kubernetes Prow Robot
459e509f94
Merge pull request #73549 from haiyanmeng/runtimeclass
...
Add monitoring for RuntimeClass
2019-02-05 15:14:38 -08:00
Kubernetes Prow Robot
a20cd49d6d
Merge pull request #72910 from danielqsj/kn
...
Add kubelet_node_name metrics
2019-02-05 15:14:06 -08:00
Kubernetes Prow Robot
dc1244c6cd
Merge pull request #72785 from derekwaynecarr/hugepages-ga
...
Graduate HugePages feature to GA
2019-02-05 13:56:51 -08:00
Seth Jennings
7dcf1fe5f8
kubelet: set low oom_score_adj for containers in critical pods
2019-02-05 14:28:36 -06:00
Davanum Srinivas
274c9976d2
DefaultFailureDomains does not need to be global
...
Change-Id: I5ccfe8b836133b0db402a37a6974fc011aa6335e
2019-02-05 13:39:07 -05:00
Davanum Srinivas
b975573385
move pkg/kubelet/apis/well_known_labels.go to staging/src/k8s.io/api/core/v1/
...
Co-Authored-By: Weibin Lin <linweibin1@huawei.com>
Change-Id: I163b2f2833e6b8767f72e2c815dcacd0f4e504ea
2019-02-05 13:39:07 -05:00
Jean Rouge
3f5675880d
Kubelet changes for Windows GMSA support
...
This patch comprises the kubelet changes outlined in the GMSA KEP
(https://github.com/kubernetes/enhancements/blob/master/keps/sig-windows/20181221-windows-group-managed-service-accounts-for-container-identity.md )
to add GMSA support to Windows workloads.
More precisely, it includes the logic proposed in the KEP to resolve
which GMSA spec should be applied to which containers, and changes
`dockershim` to copy the relevant GMSA credential specs to Windows
registry values prior to creating the container, passing them down
to docker itself, and finally removing the values from the registry
afterwards; both these changes need to be activated with the `WindowsGMSA`
feature gate.
Includes unit tests.
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-02-05 09:17:46 -08:00
Kubernetes Prow Robot
6a149864fb
Merge pull request #73285 from tallclair/typed-runtimeclass
...
Migrate RuntimeClass support to the generated typed client
2019-02-04 16:13:30 -08:00
haiyanmeng
18bcdcecce
Add monitoring for RuntimeClass
2019-02-04 16:01:29 -08:00
Roy Lenferink
b43c04452f
Updated OWNERS files to include link to docs
2019-02-04 22:33:12 +01:00
Kubernetes Prow Robot
9d6ebf6c78
Merge pull request #73467 from ashishranjan738/newpackage
...
Refactor to use k8s.io/utils/net/ package instead of kubernetes/pkg/util/net/sets
2019-02-04 11:43:14 -08:00
Kubernetes Prow Robot
f52713515b
Merge pull request #73413 from joejulian/enableservicelinks_segfault
...
bug: fix segfault when EnableServiceLinks is nil
2019-02-04 09:36:31 -08:00
Kubernetes Prow Robot
ca1336957e
Merge pull request #73404 from tsmetana/fix-kubelet-volume-test
...
Kubelet: Fix volumemanager test race
2019-02-04 06:21:11 -08:00
Ashish Ranjan
7be223e798
Refactor to use k8s.io/utils/net/ package instead of kubernetes/pkg/util/net/sets
...
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>
2019-02-04 10:34:53 +05:30
Kubernetes Prow Robot
c2570acc0c
Merge pull request #70936 from yanghaichao12/dev1112
...
correct some spelling wrong in DevicePlugin files
2019-02-03 13:10:25 -08:00
Kubernetes Prow Robot
6fb69d3967
Merge pull request #71648 from houjun41544/20181203-volume
...
Fix an error in comment
2019-02-03 12:02:45 -08:00
Kubernetes Prow Robot
03b434c9d4
Merge pull request #58122 from tianshapjq/nit-int-is-enough
...
Len() is already int
2019-02-03 12:02:24 -08:00
Derek Carr
deae071d78
Graduate HugePages feature to GA
2019-02-02 00:21:10 -05:00
Kubernetes Prow Robot
235b32e8ad
Merge pull request #72832 from MrHohn/pod-dns-config-ga
...
Graduate CustomPodDNS feature to GA
2019-02-01 18:29:17 -08:00
Kubernetes Prow Robot
4331660fcd
Merge pull request #73445 from danielqsj/fix-exec
...
migrate the rest reference of pkg/util/exec to k8s.io/utils/exec
2019-02-01 17:14:15 -08:00
Kubernetes Prow Robot
ae2b176439
Merge pull request #71727 from mikedanese/fixcrm
...
pkg/kubelet/cloudresource: fallback to old addresses if sync loop fails
2019-02-01 14:31:52 -08:00
Kubernetes Prow Robot
53a7601e6a
Merge pull request #64648 from dcbw/remove-unused-param
...
kubelet: remove unused parameter from runtime's SyncPod()
2019-02-01 09:03:45 -08:00
Sandor Szücs
fd0cff9c77
fix #73264 cpuPeriod was not reset, but used as it is if alpha gate is disabled
...
Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
2019-02-01 16:45:43 +01:00
Kubernetes Prow Robot
c0457488b6
Merge pull request #63901 from weipeng1213/branch-3
...
fix typo: writeable->writable
2019-02-01 07:44:26 -08:00
Kubernetes Prow Robot
91d2bd3951
Merge pull request #73306 from Pingan2017/args-type-statusmanager
...
correct the type in status_manager.go
2019-01-31 16:05:44 -08:00
Kubernetes Prow Robot
7b7f18c6c8
Merge pull request #70978 from Pingan2017/gracePeriod
...
correct log output when specifed delete gracePeriod < minimumGracePer…
2019-01-31 16:05:33 -08:00
Kubernetes Prow Robot
a5ade16abd
Merge pull request #73603 from sjenning/fix-kubelet-test
...
TestCreatePodSandbox_RuntimeClass should not expect RunPodSandbox when runtime class is not found
2019-01-31 14:10:30 -08:00
Joe Julian
e9f1700512
bug: fix segfault when EnableServiceLinks is nil
...
When upgrading to 1.13, pods that were created prior to the upgrade have
no pod.Spec.EnableServiceLinks set. This causes a segfault and prevents
the pod from ever starting.
Check and set to the default if nil.
Fixes #71749
2019-01-31 11:07:32 -08:00
Seth Jennings
6b51d48c4f
TestCreatePodSandbox_RuntimeClass should not expect RunPodSandbox when runtime class is not found
2019-01-31 12:55:56 -06:00
danielqsj
cf1fb8a1cd
fix format issue
2019-01-31 22:01:13 +08:00
Daniel (Shijun) Qian
e72b32558c
Merge branch 'master' into keymutex
2019-01-31 20:50:57 +08:00
changyaowei
c70ee4272b
delete prometheus in unit testing
2019-01-31 12:18:02 +08:00
changyaowei
b52afc350f
when pleg channel is full, discard events and record how many events discard
2019-01-30 20:43:54 +08:00
danielqsj
657a1a1a34
change import alias of utils/strings
2019-01-30 10:44:09 +08:00
danielqsj
093328e57f
migrate to k8s.io/utils/strings
2019-01-30 10:24:00 +08:00
Andrew Kim
84191eb99b
replace pkg/util/file with k8s.io/utils/path
2019-01-29 15:20:13 -05:00
Mike Danese
bf99565fbb
fallback to previously collected addresses if a sync loop fails
2019-01-29 11:05:27 -08:00
Mike Danese
33fc5b354b
remove artificial sleeps that made tests passes
2019-01-29 10:34:25 -08:00
Mike Danese
9ece24c33f
remove custom timeout in test that is never exercised
...
and misc cleanup
2019-01-29 10:34:25 -08:00
Kubernetes Prow Robot
b2d2432291
Merge pull request #73234 from baltendo/master
...
Fix golint failures
2019-01-29 01:21:03 -08:00
Kubernetes Prow Robot
cc1be28943
Merge pull request #72624 from danielqsj/clean_unmount
...
Cleanup callers of deprecated functions in volume/util
2019-01-28 23:06:20 -08:00
danielqsj
c7a012f033
migrate the rest reference of pkg/util/exec to k8s.io/utils/exec
2019-01-29 10:55:10 +08:00
Elana Hashman
3539e89af2
Rename labels to match instrumentation guidelines
...
For the next release, we include both sets of labels for pods and
containers: "container_name" and "container", "pod_name" and "pod".
In future releases, the "*_name" metrics will be deprecated.
2019-01-28 12:36:20 -05:00
Tomas Smetana
45464f0349
Kubelet: Fix volumemanager test race
2019-01-28 15:05:26 +01:00
Kubernetes Prow Robot
697c2316fa
Merge pull request #70121 from feiskyer/win-net-stats3
...
Add network stats for Windows containers
2019-01-25 14:12:34 -08:00
Pingan2017
fddaf257af
correct the type in status_manager.go
2019-01-25 14:34:11 +08:00
Andrew Kim
0bc5508aca
replace client-go/util/integer with k8s.io/utils/integer
2019-01-24 15:34:21 -05:00
Tim Allclair
954f43a10d
Migrate RuntimeClass E2E to typed client
2019-01-24 11:08:30 -08:00
Tim Allclair
aab3523e0e
Migrate RuntimeClass support to the generated typed client
2019-01-24 11:08:30 -08:00
Pengfei Ni
9cf38de44b
Add network stats for Windows containers
2019-01-24 14:20:30 +08:00
Pengfei Ni
f9fa1c6a38
Add network stats for windows node
2019-01-24 14:17:54 +08:00
Bernhard Altendorfer
736f35ec29
Fix golint failures
2019-01-24 00:14:25 +01:00
Kubernetes Prow Robot
cb09d4d317
Merge pull request #72507 from dixudx/remove_stale_OutOfDisk
...
remove stale OutOfDisk condition from kubelet side
2019-01-18 19:14:04 -08:00
Kubernetes Prow Robot
76961c517e
Merge pull request #73048 from yujuhong/labels-ga
...
kubelet: promote OS & arch labels to GA
2019-01-18 05:17:24 -08:00
Kubernetes Prow Robot
54c4428eb4
Merge pull request #71276 from jingxu97/Oct/uncertain
...
Handle failed attach operation leave uncertain volume attach state
2019-01-17 22:52:57 -08:00
Kubernetes Prow Robot
b1b6cb8cb4
Merge pull request #73034 from dashpole/fix_allocatable_e2e
...
[Text Fix] Fix panic in NodeAllocatable node e2e test
2019-01-17 17:11:59 -08:00
Yu-Ju Hong
00d93f0cc3
kubelet: promote OS & arch labels to GA
...
kubelet now applies both the beta and the GA labels to ensure backward
compatibility.
2019-01-17 14:57:43 -08:00
David Ashpole
2b8bc85f75
fix panic in NodeAllocatable node e2e test
2019-01-17 10:57:09 -08:00
Marek Counts
1739e343a8
autogen files
...
all the autogen files that got updated due to the changes to move logs.
2019-01-17 09:16:36 -05:00
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
Kubernetes Prow Robot
5d19fda5e8
Merge pull request #72844 from dashpole/fork_bomb_test
...
Fix PidPressure, and add fork-bomb e2e-node test
2019-01-16 15:59:01 -08:00
Kubernetes Prow Robot
5818be6205
Merge pull request #68619 from ailusazh/CleanContainersInReconcileStateOfCpuManager
...
clean containers in reconcileState of cpuManager
2019-01-16 11:34:04 -08:00
Kubernetes Prow Robot
56e88f5b47
Merge pull request #70805 from danwinship/cloud-node-ip
...
Fix a CloudProvider-vs-nodeIP edge case
2019-01-16 09:04:54 -08:00
Kubernetes Prow Robot
ce19aad22b
Merge pull request #70527 from qingsenLi/git181101
...
remove repetitive word in annotation
2019-01-15 20:19:09 -08:00
Kubernetes Prow Robot
591ef236e0
Merge pull request #72705 from WanLinghao/cadvisor_test_improve
...
Improve pkg/kubelet/cadvisor package
2019-01-15 17:32:30 -08:00
danielqsj
1d73c7daed
Add kubelet_node_name metrics
2019-01-15 18:01:04 +08:00
ailusazh
10995f661d
clean containers in reconcileState of cpuManager
2019-01-15 16:09:28 +08:00
David Ashpole
8b440c6424
Fix PidPressure, make it evict by priority, and add fork-bomb node e2e test
2019-01-14 09:41:36 -08:00
WanLinghao
ce7003262f
Improve pkg/kubelet/cadvisor package:
...
1. Perfect unit test code
2. Clean unused function&&test file
2019-01-14 09:39:22 +08:00
Kubernetes Prow Robot
dc6f3d645d
Merge pull request #72831 from yujuhong/bump-docker-version
...
Bump minimum docker version to 1.13.1
2019-01-11 15:54:11 -08:00
Zihong Zheng
f2750dd043
Graduate CustomPodDNS feature to GA
2019-01-11 11:28:26 -08:00