Joakim Roubert
d4dd0ad53c
log-dump.sh: Fix shellcheck issues
...
Mitigate the shellcheck warning for the assignment of local variable.
Add rest of shellcheck fixes from #88349
Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
2020-10-08 13:58:00 +02:00
Masashi Honma
bcbd16b94b
test-integration: Fix using deprecated default cluster IPs
...
The integration test for pods produces a warning caused by using deprecated
default cluster IPs.
$ make test-integration WHAT=./test/integration/pods GOFLAGS="-v"
W1007 17:25:28.217410 100721 services.go:37] No CIDR for service cluster IPs specified. Default value which was 10.0.0.0/24 is deprecated and will be removed in future releases. Please specify it using --service-cluster-ip-range on kube-apiserver.
This warning appears 36 times after running all tests. This patch removes all
the warnings.
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
2020-10-08 20:38:58 +09:00
Jan Chaloupka
75cee7818b
Initialize k8s.io/kubernetes/staging/src/k8s.io/component-helpers
2020-10-08 12:11:11 +02:00
Christopher Montoro
68e8fd5f33
Update the example for kubectl port-forward
...
Clarify that `REMOTE_PORT` is interpreted as identifying a _Service_ port when provided `TYPE` is `service`.
Also, highlight support for specifying a named port as `REMOTE_PORT`.
2020-10-07 22:12:49 -04:00
Qing Ju
b57d040247
Upgraded aws-sdk-go to v1.35.5 to include more regions, i.e. Millan
...
./hack/pin-dependency.sh github.com/aws/aws-sdk-go v1.35.5
./hack/update-vendor.sh
./hack/lint-dependencies.sh
// Additional changes required by lint-dependencies
hack/pin-dependency.sh github.com/jmespath/go-jmespath v0.4.0
./hack/update-vendor.sh
./hack/lint-dependencies.sh
2020-10-07 16:48:19 -07:00
Kubernetes Prow Robot
c9c24b46c3
Merge pull request #95363 from wojtek-t/fix_npl_reporting_in_kube_proxy
...
Fix reporting network_programming_latency metrics in kube-proxy
2020-10-07 14:34:16 -07: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
0b43753be7
utilnode: fix incorrect documentation about node name vs hostname
...
(The behavior is unchanged; the function always took a node name
rather than a hostname. Now it just documents that correctly.)
2020-10-07 17:25:56 -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
c1ce63ab73
Merge pull request #95059 from zhouya0/clean_up_nits_delete_cascade
...
Clean up nits in delete cascade flag parsing
2020-10-07 12:38:16 -07:00
Abu Kashem
fd7bf9a5dc
allocate service-account flowschema to global-default
2020-10-07 14:59:58 -04:00
wojtekt
6e4aa0f27d
Fix reporting network_programming_latency metrics in kube-proxy
2020-10-07 20:57:14 +02: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
Antonio Ojea
a0887285f5
add ipv6 support to the image issue-74839
...
Co-authored-by: Dan Winship <danwinship@redhat.com>
2020-10-07 18:30:47 +02: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
Sai Harsha Kottapalli
0222f2d033
Remove the dependency between create quota command and generators
2020-10-07 20:34:48 +05:30
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
Harshal Patil
a4cd6f13c8
Add SELinux labels for kubelet on Fedora CoreOS
...
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2020-10-06 14:53:47 +05:30
Harshal Patil
17e5f4e836
add CAP_NET_RAW capability to CRI stats summery test
...
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2020-10-06 13:37:08 +05:30
Antonio Ojea
33602279a2
e2e hostexec commands does not need sudo
2020-10-06 09:36:49 +02:00
Joakim Roubert
2868e07b98
Update after code review
...
Change-Id: I89b66f2bdcb68be7eee325e6246183638d3983b3
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2020-10-06 08:40:05 +02:00
Joakim Roubert
62ee0f5a1a
Update cluster/gce/util.sh
...
Co-authored-by: Aaron Crickenberger <spiffxp@google.com>
2020-10-06 08:37:12 +02:00
Joakim Roubert
e924c3568e
Fix some shellcheck warnings/errors in cluster/gce/util.sh
...
This patch fixes the use of arrays.
Change-Id: I6c7f7eaf89387ed96c7b2ddf4fbb4627ec2c6075
Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
2020-10-06 08:37:12 +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