Kubernetes Prow Robot
f20a36f784
Merge pull request #95428 from roycaihw/cleanup/generalize-lease-controller
...
Generalize node lease controller
2020-10-23 13:43:02 -07:00
Kubernetes Prow Robot
c6f7fbcfbc
Merge pull request #93220 from wawa0210/fix-93165
...
ingore apparmor on windows
2020-10-22 23:17:59 -07:00
Kubernetes Prow Robot
a4209939f8
Merge pull request #95602 from chenyw1990/master
...
write checkpoint only when allocated devices updated.
2020-10-22 20:35:36 -07:00
Haowei Cai
4af91987a9
generated
2020-10-22 12:00:51 -07:00
Haowei Cai
c9bbd8532f
generalize lease controller
2020-10-22 11:58:59 -07:00
Haowei Cai
c70e3649e1
move node lease controller to component-helpers
2020-10-22 11:58:58 -07:00
chenyw1990
009d46f834
write checkpoint only when allocated devices updated.
2020-10-22 22:45:04 +08:00
wawa0210
e7f319870a
Warn that hyper-v featuregate will be deprecated in 1.20 and will be removed in 1.21
2020-10-20 08:37:55 +08:00
David Eads
ff7d1444f0
kubelet container status calculation doesn't handle suddenly missing data properly
2020-10-15 12:26:16 -04:00
Kubernetes Prow Robot
01f3f67989
Merge pull request #92663 from AndersonQ/68026-golint-/pkg/kubelet/stats
...
cleanup: fix golint errors in /pkg/kubelet/stats
2020-10-12 23:48:26 -07:00
Kubernetes Prow Robot
4bbf4111e2
Merge pull request #92507 from ingvagabund/staging-library-go
...
Initialize k8s.io/component-helpers staging repository
2020-10-12 10:30:48 -07:00
Jan Chaloupka
274c536da3
Removing GetPodPriority from pkg/api and importing PodPriority from k8s.io/component-helpers
2020-10-11 21:40:11 +02:00
Kubernetes Prow Robot
3e36ac3093
Merge pull request #95378 from danwinship/fix-dual-stack-canaries
...
fix kubelet iptables monitoring on dual-stack
2020-10-09 19:38:59 -07:00
Dan Winship
55e6eebae2
kubelet: fix iptables setup under dual-stack
...
Fix stupid golang loop variable closure thing.
Also, if we fail to initially set up the rules for one family, don't
try to set up a canary. eg, on the CI hosts, the kernel ip6tables
modules are not loaded, so any attempt to call ip6tables will fail.
Just log those errors once at startup rather than once a minute.
2020-10-09 11:59:32 -04:00
Anderson Queiroz
8c724d7933
cleanup: fix golint errors in /pkg/kubelet/stats
2020-10-08 21:59:42 +02:00
Dan Winship
971477d9b5
kubelet: Set dual-stack hostNetwork pod IPs on dual-stack nodes
...
Add nodeutil.GetNodeHostIPs to return dual-stack node IPs (in
dual-stack clusters), and make kubelet use it.
2020-10-07 17:26:04 -04:00
Dan Winship
75242fce7a
kubelet: allow specifying dual-stack node IPs on bare metal
...
Discussion is ongoing about how to best handle dual-stack with clouds
and autodetected IPs, but there is at least agreement that people on
bare metal ought to be able to specify two explicit IPs on dual-stack
hosts, so allow that.
2020-10-07 17:25:54 -04:00
Dan Winship
2680095414
kubelet: Remove unnecessary sorting in NodeAddress tests
...
Several of the tests in TestNodeAddress() were no-ops because the test
code was only testing that NodeAddresses() returned all of the
expected addresses, but not testing that it was returning them in the
correct order.
The order that NodeAddresses() returns addresses in is very important,
so fix the tests to actually test it.
One existing test ("NodeIP is external") had its expectedAddresses in
the wrong order, but it seems clear from the name of the test that
this isn't actually what it expected.
Also, previously testKubeletHostname was "127.0.0.1" which ended up
interacting weirdly with the IPv4-vs-IPv6 sorting code in a way that
made some of the test results confusing if you didn't realize that
testKubeletHostname was an IPv4 address. Fix that by making it an
actual hostname instead, which then preserves the expected sorting.
2020-10-07 17:25:25 -04:00
Kubernetes Prow Robot
2ad48d384d
Merge pull request #95364 from deads2k/pending-pods
...
set lastterminationstate for container status even when CRI fails to return termination (or any) data
2020-10-07 09:28:16 -07:00
David Eads
e0516a3e90
set lastterminationstate for container status even when CRI fails to return termination (or any) data
2020-10-07 11:26:53 -04:00
Kubernetes Prow Robot
13be1cb571
Merge pull request #94474 from danwinship/dual-stack-kubelet-iptables
...
DualStack: kubelet: do dual-stack iptables rules
2020-10-07 01:20:42 -07:00
Kubernetes Prow Robot
0969e666dc
Merge pull request #93066 from AnishShah/network-plugin-metrics
...
kubelet: add operations count and error count metrics to network plugin manager
2020-10-05 15:16:19 -07:00
Anish Shah
1b9885d897
add unit tests for network plugin manager metrics
2020-10-05 12:07:32 -07:00
Dan Winship
9a7afa69ef
kubelet: do dual-stack iptables rules
...
When the dual-stack feature gate is enabled, set up dual-stack
iptables rules. (When it is not enabled, preserve the traditional
behavior of setting up IPv4 rules only, unless the user explicitly
passed an IPv6 --node-ip.)
2020-10-03 07:46:02 -04:00
Dan Winship
e91a8f9864
kubelet: remove some redundant iptables option checking
...
These were already fatal errors in NewMainKubelet()
2020-09-30 09:37:53 -04:00
Kubernetes Prow Robot
e92f8c8457
Merge pull request #94911 from wawa0210/fix-94898
...
Enhance log information of verifyRunAsNonRoot, add pod, container information
2020-09-24 13:57:25 -07:00
Kubernetes Prow Robot
d19aec8bf1
Merge pull request #92985 from serathius/summary
...
Move Kubelet Summary API to staging directory
2020-09-22 22:30:08 -07:00
Kubernetes Prow Robot
e6444e01ba
Merge pull request #94494 from SergeyKanzhelev/hostportConflicts
...
Allow to map the same container port to different host ports
2020-09-22 12:23:40 -07:00
Marek Siarkowicz
7d309e0104
Move Kubelet Summary API to staging repo
2020-09-22 18:23:28 +02:00
Kubernetes Prow Robot
402b94f313
Merge pull request #91469 from kinvolk/rata/fix-kubelet-log-msg
...
Fix kubelet log message when starting a container
2020-09-21 22:28:46 -07:00
Kubernetes Prow Robot
82d924cea5
Merge pull request #94840 from dashpole/update_owners
...
Move dashpole to emeritus in kubelet
2020-09-21 21:23:02 -07:00
Kubernetes Prow Robot
6ac2930ef0
Merge pull request #94574 from auxten/pkg-kubelet-staticchecks
...
Fix pkg/kubelet static checks
2020-09-21 21:22:47 -07:00
Kubernetes Prow Robot
48329e7d91
Merge pull request #71269 from DeliangFan/adjust_oom_score_adj
...
Set the oom_score_adj of guaranteed pod to -997
2020-09-21 19:40:47 -07:00
Kubernetes Prow Robot
dd466bccde
Merge pull request #94527 from brahmaroutu/mount-utils-2
...
Change code to use staging/k8s.io/mount-utils
2020-09-21 17:46:47 -07:00
wawa0210
be1c85d915
Enhance the prompt information of verifyRunAsNonRoot, add pod, container information
2020-09-22 08:10:54 +08:00
Kubernetes Prow Robot
b86e725694
Merge pull request #91785 from mattcary/filtereddial
...
Specify a DialContext in storage plugin clients
2020-09-18 15:08:27 -07:00
knight42
808867ba2f
test(kubelet): deflake TestRotateShutsDownConnections
...
Signed-off-by: knight42 <anonymousknight96@gmail.com >
2020-09-18 16:52:58 +08:00
Matthew Cary
299a296c7a
update-bazel
...
Change-Id: Iebc99ee13587f0cd4c43ab85c7295d458d679d1e
2020-09-18 00:44:39 +00:00
Matthew Cary
f2e23afcf1
Adds filtering of hosts to DialContexts.
...
The provided DialContext wraps existing clients' DialContext in an attempt to
preserve any existing timeout configuration. In some cases, we may replace
infinite timeouts with golang defaults.
- scaleio: tcp connect/keepalive values changed from 0/15 to 30/30
- storageos: no change
2020-09-18 00:07:32 +00:00
Matthew Cary
74dbf274d9
update storageos vendor for FilteredDial change
2020-09-18 00:07:32 +00:00
Srini Brahmaroutu
fbe5daed73
Change code to use staging/k8s.io/mount-utils
2020-09-16 21:51:24 -07:00
Kubernetes Prow Robot
09b3f6dbb3
Merge pull request #93214 from trashhalo/prefer-error
...
test: prefer NoError/Error over Nil/NotNil
2020-09-16 15:10:45 -07:00
David Ashpole
0ffc149ccc
move dashpole to emeritus in kubelet
2020-09-16 11:52:35 -07:00
Kubernetes Prow Robot
fd9828b02a
Merge pull request #92632 from RenaudWasTaken/move-podresources-api
...
Move external facing podresources apis to staging
2020-09-15 10:04:07 -07:00
Renaud Gaubert
4eadf40448
Run gofmt
...
Signed-off-by: Renaud Gaubert <rgaubert@nvidia.com >
2020-09-15 06:22:44 -07:00
Renaud Gaubert
ba95a8c641
run hack/update-vendor.sh
...
Signed-off-by: Renaud Gaubert <rgaubert@nvidia.com >
2020-09-15 05:13:33 -07:00
Renaud Gaubert
60304452ff
Move podresources api to k8s.io/kubelet/pkg/apis
...
Signed-off-by: Renaud Gaubert <rgaubert@nvidia.com >
2020-09-15 05:13:33 -07:00
wawa0210
995d654167
ingore apparmor on non Linux operating systems.
2020-09-15 17:30:44 +08:00
Kubernetes Prow Robot
73dda0af5d
Merge pull request #92355 from wawa0210/fix-91482
...
fix windows container root validate
2020-09-14 10:42:59 -07:00
auxten
611ddc10b0
Fix misusage of RLock in timeCache lru.Cache.Get()
2020-09-13 21:08:19 +08:00