Commit Graph

94664 Commits

Author SHA1 Message Date
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
128b697d55
Merge pull request #95276 from jayunit100/95216_ginkgo
Have udp tests return idiomatic ginkgo errors, update reporting of mutating parts
2020-10-07 10:44:15 -07: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
e99df0e5a7
Merge pull request #95316 from sfowl/mask-token-in-toCurl
Mask bearer token in logs when logLevel >= 9
2020-10-07 03:44:42 -07:00
Kubernetes Prow Robot
777e84e184
Merge pull request #95101 from a1k24/patch-92402-staticcheck
fixes test/integration/ttlcontroller staticcheck
2020-10-07 02:16:42 -07: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
c5a3bf8b04
Merge pull request #95341 from zshihang/hash
make download-or-bust compatible with both sha512/sha1
2020-10-06 20:20:41 -07:00
Kubernetes Prow Robot
7a5b058f27
Merge pull request #95016 from Jefftree/remove-kubeconform
Remove kubeconform
2020-10-06 16:54:42 -07:00
Kubernetes Prow Robot
a1441b2d52
Merge pull request #92201 from cici37/features
Remove dependency pkg/features from CCM
2020-10-06 15:58:42 -07:00
Shihang Zhang
e0dcfbf9c2 make download-or-bust compatible with both sha512/sha1 2020-10-06 15:16:26 -07:00
Kubernetes Prow Robot
558429967a
Merge pull request #95336 from howardjohn/endpointslicecache/doc
Fix documentation on EndpointSliceCache map
2020-10-06 14:14:51 -07:00
Kubernetes Prow Robot
5430a828e1
Merge pull request #95150 from adelina-t/patch-2
Fix test "[sig-windows] DNS should support configurable pod DNS servers"
2020-10-06 14:14:42 -07:00
Kubernetes Prow Robot
810560dc98
Merge pull request #95318 from aojea/fixsudo
e2e hostexec commands does not need sudo
2020-10-06 13:00:56 -07:00
Kubernetes Prow Robot
446da13de1
Merge pull request #94975 from zshihang/hash
replace sha1 with sha512
2020-10-06 13:00:42 -07:00
Kubernetes Prow Robot
9e1e551e83
Merge pull request #95335 from marosset/windows-e2e-owners-update
Adding marosset to test/e2e/windows/OWNERS approver
2020-10-06 11:16:42 -07:00
John Howard
b898266cb1 Fix documentation on EndpointSliceCache map
This is not storing by slice name, it is IP. This can be seen from the
code and tests.
2020-10-06 10:24:09 -07:00
marosset
669d480a4e Adding marosset to test/e2e/windows/OWNERS approver 2020-10-06 17:21:18 +00:00
Kubernetes Prow Robot
f30d6a463d
Merge pull request #93779 from yodarshafrir1/fix_restart_job_failure_with_restart_policy_never
Fix job backoff limit for restart policy Never
2020-10-06 10:02:44 -07:00
Kubernetes Prow Robot
4db8c590ac
Merge pull request #95184 from RenaudWasTaken/disable-accelerator-beta
Graduates the DisableAcceleratorUsageMetrics feature to beta
2020-10-06 08:44:21 -07:00
Kubernetes Prow Robot
838e7bb278
Merge pull request #95253 from sallyom/apigroup-version-output-api-resources
include APIVersion in output of 'kubectl api-resources'
2020-10-06 06:36:21 -07:00
Kubernetes Prow Robot
5e5ff88a5f
Merge pull request #95245 from sfowl/ceph-rbd-log-cleanup
Mask Ceph RBD adminSecrets in logs when logLevel >= 4
2020-10-06 02:24:19 -07:00
Antonio Ojea
33602279a2 e2e hostexec commands does not need sudo 2020-10-06 09:36:49 +02:00
Kubernetes Prow Robot
1a66eb7b8a
Merge pull request #89482 from renatoviana12/master
fixed percentage behaviour in instr
2020-10-05 20:00:19 -07:00
Sam Fowler
f0f5225541 Mask bearer token in logs when logLevel >= 9 2020-10-06 11:10:38 +10:00
Kubernetes Prow Robot
bbbab14216
Merge pull request #95311 from karan/startup-console-logs
Send gce node startup scripts logs to console and journal
2020-10-05 17:58:19 -07:00
Kubernetes Prow Robot
281412b5e9
Merge pull request #95191 from alculquicondor/policy-default-spread
Move predicates and priorities configuration creation to Policy mapping
2020-10-05 17:04:33 -07:00
Kubernetes Prow Robot
2f15024e7d
Merge pull request #95157 from adtac/schedplugins
scheduler framework: document how to make plugins configurable
2020-10-05 17:04:20 -07:00
jay vyas
8630dc924a Update test/e2e/framework/network/utils.go
add logging about min/max interval
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2020-10-05 19:01:33 -04:00
Kubernetes Prow Robot
3f7e26dece
Merge pull request #95242 from jingxu97/sep/gate
Add gate to install CSI proxy
2020-10-05 15:16:42 -07:00
Kubernetes Prow Robot
add19e4680
Merge pull request #95168 from jingxu97/sep/image
Update Windows image patch version
2020-10-05 15:16:32 -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
Adhityaa Chandrasekar
3e7b2c0707 scheduler framework: document how to make plugins configurable
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-10-05 21:29:11 +00:00
Kubernetes Prow Robot
64f8bf24a6
Merge pull request #95243 from MrHohn/kube-addon-staging-2
Update addon-manager makefile to use the new staging repo - take two
2020-10-05 14:22:20 -07:00
Karan Goel
f707db32cc Send node startup scripts to console and journal 2020-10-05 13:25:28 -07:00
Kubernetes Prow Robot
5e44d8ebaf
Merge pull request #95015 from Jefftree/bdd-remove-dependency
Remove dependency on behaviors for conformance walk.go
2020-10-05 13:04:19 -07:00
Renaud Gaubert
c5fc646363 Disable the Accelerator metrics by default 2020-10-05 12:47:26 -07:00
Anish Shah
1b9885d897 add unit tests for network plugin manager metrics 2020-10-05 12:07:32 -07:00
Sally O'Malley
29cd320d89
clarify help for --api-version: note it's API group/version 2020-10-05 14:14:42 -04:00
Sally O'Malley
068dbb44f3
include APIVersion in output of 'kubectl api-resources' 2020-10-05 14:14:42 -04:00
Kubernetes Prow Robot
613ee7f0db
Merge pull request #95233 from jsafrane/framework-start-error
Add error text to kube-system wait error
2020-10-05 10:35:43 -07:00
cici37
33e23c4005 Move cloud related feature gates to controller-manager 2020-10-05 10:19:08 -07:00
Kubernetes Prow Robot
c9051308be
Merge pull request #95179 from stevenshuang/master
Replace AreLabelsInWhiteList with IsSubset
2020-10-05 09:30:33 -07:00
Kubernetes Prow Robot
0ef37070dc
Merge pull request #95271 from monotek/fluentd1113
updates fluentd docker image and all plugins
2020-10-05 08:31:06 -07:00
Kubernetes Prow Robot
9f0a783fb8
Merge pull request #95254 from cmluciano/cml/proxyconfigdefaults
proxy: Add tests for kube-proxy config defaulting
2020-10-05 07:31:06 -07:00
shuang zhang
f0ea54070b Replace AreLabelsInWhiteList with isSubset 2020-10-05 22:07:47 +08:00
Kubernetes Prow Robot
6e9475bcd3
Merge pull request #94910 from yashvardhan-kukreja/issue-94602/fix-comment-declaration-event
Cleaned up: the potentially misleading comment under Event struct
2020-10-05 06:23:06 -07:00
Yashvardhan Kukreja
07d0b4a8bc
Cleaned up and fixed: the potentially misleading comments around Event struct 2020-10-05 15:28:59 +05:30
Kubernetes Prow Robot
086b65a000
Merge pull request #95289 from DataDog/fix-instanceexists-on-deleted-vmss
Azure: fix node removal race condition on VMSS deletion
2020-10-04 18:17:05 -07:00