Commit Graph

94762 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
33fd5552bb
Merge pull request #95418 from vinayakankugoyal/pki
Update write-pki-data to give read permissions to KUBE_PKI_READERS_GR…
2020-10-09 18:08:47 -07:00
Kubernetes Prow Robot
6d5f928023
Merge pull request #95397 from masap/test-integratio/fix-warning
test-integration: Fix using deprecated default cluster IPs
2020-10-09 15:57:48 -07:00
Shihang Zhang
079cd8ddc2 fix upgrade test 2020-10-09 15:28:28 -07:00
Aldo Culquicondor
c8a0b9e8e7 Add defaultingType to PodTopologySpreadArgs
Change-Id: Ibf6a4fdb39a31fe9deed68de7e7cb24a9bf9d06a
2020-10-09 17:12:12 -04:00
Kubernetes Prow Robot
4fbf5df52b
Merge pull request #95388 from ii/policy
Enable Logging of event requests to audit log in cluster/gce/gci/configure-helper.sh
2020-10-09 14:08:48 -07:00
Kubernetes Prow Robot
b0ca7f1ea5
Merge pull request #95417 from jkh52/master
API server: fix default_konnectivity_socket_path typo.
2020-10-09 11:22:07 -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
Dan Winship
3f4c2d6fe0 Improve logging of iptables canary test
Since it's [Disruptive] it only runs in periodic jobs so it's better
to have too much debugging info than too little.
2020-10-09 11:59:21 -04:00
xing-yang
263c4d70f6 Update addons volumesnapshots owners file 2020-10-09 13:44:24 +00:00
Kubernetes Prow Robot
ee297b6f4d
Merge pull request #95053 from tanjunchen/replace-k8s-master
test/e2e/framework/:use the term 'Control Plane' in comment
2020-10-08 19:31:05 -07:00
Kubernetes Prow Robot
77866160ef
Merge pull request #95342 from nicolehanjing/nicoleh-fix-controller
cloud node controller: handle empty providerID from getProviderID
2020-10-08 17:33:06 -07:00
Hippie Hacker
b1e3a2ac7a Clarify that we don't audit events due to performance impact 2020-10-09 13:30:20 +13:00
Vinayak Goyal
7cbe8070bc Update write-pki-data to give read permissions to KUBE_PKI_READERS_GROUP, for components running as non-root to be able to read the credentials. 2020-10-08 16:25:43 -07:00
Casey Davenport
39dd16d58d Update to Calico v3.16.2 2020-10-08 16:05:45 -07:00
James Sturtevant
78ca71857b
Update Windows Pause version to 1.4.0 2020-10-08 15:39:31 -07:00
Kubernetes Prow Robot
05a46dbb60
Merge pull request #95239 from danwinship/dual-stack-node-ips-basic
DualStack: basic dual-stack node IP handling
2020-10-08 14:21:05 -07:00
cici37
ae8ce0d190 Move cmd/controller-manager to k8s.io/controller-manager and cloud specific configs to k8s.io/cloud-provider. 2020-10-08 13:23:16 -07:00
Joseph Anttila Hall
2f318bdd57 API server: fix default_konnectivity_socket_path typo.
Make it consistent with configure-helper.sh
2020-10-08 13:19:05 -07:00
Anderson Queiroz
8c724d7933 cleanup: fix golint errors in /pkg/kubelet/stats 2020-10-08 21:59:42 +02:00
Nicole Han
db87743913 cloud node controller: handle empty providerID from getProviderID 2020-10-08 12:40:14 -07:00
Saikat Roychowdhury
5a3632df55 Upgrade snapshot controller to 3.0.0 2020-10-08 19:04:54 +00:00
Kubernetes Prow Robot
0a14265b7e
Merge pull request #91513 from jqmichael/awsSDK1316
Upgraded aws-sdk-go dependency to v1.35.5 to support new regions like Milan
2020-10-08 11:57:06 -07:00
Kubernetes Prow Robot
b53ba30c6a
Merge pull request #94762 from joakimr-axis/joakimr-axis_log-dump-array
log-dump.sh: Fix shellcheck issues
2020-10-08 10:10:55 -07:00
Kubernetes Prow Robot
d236e50be7
Merge pull request #95383 from montmanu/kubectl/port-forward
Update the example for kubectl port-forward
2020-10-08 06:56:16 -07:00
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
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
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