Commit Graph

93616 Commits

Author SHA1 Message Date
knight42
de46e81e74
fix(pluginwatcher): watch socket dir before traversing it
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-08-14 12:07:04 +08:00
knight42
3cb3356645
test(kubectl): deflake run_kubectl_apply_tests
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-08-14 11:12:42 +08:00
M. Habib Rosyad
1e780605a9 fix vendor/k8s.io/apimachinery/pkg/util/framer staticcheck 2020-08-14 09:50:30 +07:00
Kubernetes Prow Robot
55412b6af1
Merge pull request #93981 from BenTheElder/upgrade-rules-docker
upgrade rules_docker
2020-08-13 17:34:22 -07:00
Benjamin Elder
be6c81597b upgrade rules_docker 2020-08-13 16:03:10 -07:00
Kubernetes Prow Robot
e97978f924
Merge pull request #93974 from puerco/changelog-fix-118
Add missing changelog entries for v1.18.7
2020-08-13 15:40:48 -07:00
Kubernetes Prow Robot
dcdbae7bb5
Merge pull request #93969 from liggitt/go115
[go115] Require go1.15 in build helper scripts
2020-08-13 15:40:35 -07:00
Kubernetes Prow Robot
5bbc8e10f3
Merge pull request #93954 from Miciah/fix-validation-of-ingress-rules-with-wildcard-host
Fix validation of ingress rules with wildcard host
2020-08-13 15:40:21 -07:00
Kubernetes Prow Robot
3647766cbc
Merge pull request #93938 from alculquicondor/revert-node-delete
Keep track of remaining pods when a node is deleted
2020-08-13 13:25:41 -07:00
Miciah Masters
e648deca3b Fix validation of ingress rules with wildcard host
Fix ingress validation so that it validates the rules of an ingress that
specifies a wildcard host.  Commit 60f4fbf4f2
added an inopportune continue statement that caused this validation to be
skipped.  For backwards compatibility, this change restores validation for
v1 of the api but still skips it on v1beta1.

* pkg/apis/networking/validation/validation.go (IngressValidationOptions):
Add AllowInvalidWildcardHostRule field to indicate that validation of rules
should be skipped for ingresses that specify wildcard hosts.
(ValidateIngressCreate): Set AllowInvalidWildcardHostRule to true if the
request is using the v1beta1 API version.
(ValidateIngressUpdate): Set AllowInvalidWildcardHostRule to true if the
request or old ingress is using the v1beta1 API version.
(validateIngressRules): Don't skip validation of the ingress rules unless
the ingress has a wildcard host and AllowInvalidWildcardHostRule is true.
(allowInvalidWildcardHostRule): New helper for ValidateIngressCreate and
ValidateIngressUpdate.
* pkg/apis/networking/validation/validation_test.go
(TestValidateIngressCreate, TestValidateIngressUpdate): Add test cases to
ensure that validation is performed on v1 objects and skipped on v1beta
objects for backwards compatibility.
(TestValidateIngressTLS): Specify PathType so that the test passes.

Co-authored-by: jordan@liggitt.net
2020-08-13 15:53:17 -04:00
Adolfo García Veytia (Puerco)
5eabc0e284 Add missing changelog entries for v1.18.7
Signed-off-by: Adolfo García Veytia (Puerco) <adolfo.garcia@uservers.net>
2020-08-13 14:36:59 -05:00
Adolfo García Veytia (Puerco)
7175240f18 Add missing changelog entries for v1.17.10
Signed-off-by: Adolfo García Veytia (Puerco) <adolfo.garcia@uservers.net>
2020-08-13 14:09:06 -05:00
Aldo Culquicondor
dfe9e413d9 Keep track of remaining pods when a node is deleted.
The apiserver is expected to send pod deletion events that might arrive at a different time. However, sometimes a node could be recreated without its pods being deleted.

Partial revert of https://github.com/kubernetes/kubernetes/pull/86964

Signed-off-by: Aldo Culquicondor <acondor@google.com>
Change-Id: I51f683e5f05689b711c81ebff34e7118b5337571
2020-08-13 14:24:01 -04:00
Aldo Culquicondor
16d7ecfa45 Remove direct accesses to cache's node map
Signed-off-by: Aldo Culquicondor <acondor@google.com>
Change-Id: Iebb22fc816926aaa1ddd1e4b2e52f335a275ffaa
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-08-13 14:22:06 -04:00
Anago GCB
b497fa1d34 CHANGELOG: Update directory for v1.18.8 release 2020-08-13 18:12:18 +00:00
Jordan Liggitt
bdcffdced3 [go115] Require go1.15 in build helper scripts 2020-08-13 13:46:52 -04:00
Jiawei Wang
0ce86eb553 Make CSI mock driver log parse more flexible 2020-08-13 10:27:38 -07:00
Anago GCB
09a48c2316 CHANGELOG: Update directory for v1.17.11 release 2020-08-13 16:19:31 +00:00
Miciah Masters
7ef8fa7207 Verify that an ingress with empty TLS is valid
Add a test that verifies that an ingress with an empty TLS value or with a
TLS value that specifies an empty list of hosts passes validation.

* pkg/apis/networking/validation/validation_test.go
(TestValidateEmptyIngressTLS): New test.
2020-08-13 11:55:18 -04:00
Davanum Srinivas
5c88b7f25b
Add sigs for root folders
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-08-13 10:24:06 -04:00
Anago GCB
d60c72f214 CHANGELOG: Update directory for v1.16.14 release 2020-08-13 13:35:51 +00:00
RobertKielty
737548a6b2 go fmt fix 2020-08-13 06:03:58 +01:00
Kubernetes Prow Robot
b1b93e3013
Merge pull request #93908 from robscott/endpointslice-err-return
Updating EndpointSlice controllers to return if error encountered
2020-08-12 21:26:14 -07:00
Kubernetes Prow Robot
fa76242bba
Merge pull request #93730 from adtac/MixedSchedulingBasePod
scheduler_perf/MixedSchedulingBasePod: label nodes for pod affinity
2020-08-12 19:14:14 -07:00
lixiaobing1
7920de5b57 remove some notes about scheduler/algorithm 2020-08-13 10:01:54 +08:00
Kubernetes Prow Robot
68168541ea
Merge pull request #93869 from Jiawei0227/namespace-collision
[e2e]Bind csi driver namespace to test namespace to avoid namespace collision
2020-08-12 17:00:28 -07:00
Kubernetes Prow Robot
f4e9c3fd27
Merge pull request #93867 from apelisse/update-smd
Update SMD to v4.0.1 and kube-openapi
2020-08-12 17:00:15 -07:00
Kubernetes Prow Robot
b1d89d67a1
Merge pull request #93939 from justaugustus/go115
[go1.15] Update to go1.15
2020-08-12 14:42:28 -07:00
Kubernetes Prow Robot
6704af40d4
Merge pull request #93916 from justaugustus/base-images
build: Update to debian-base@v2.1.3 and debian-iptables@v12.1.2
2020-08-12 14:42:14 -07:00
Sally O'Malley
01e344feb6
get: -o yaml, json set ServerPrint false 2020-08-12 15:13:48 -04:00
Kubernetes Prow Robot
1e8f7a9265
Merge pull request #93935 from spiffxp/make-spiffxp-build-approver
Promote spiffxp to build/ approver
2020-08-12 11:53:14 -07:00
Stephen Augustus
aa2bb18a2b [go1.15] Update to go1.15
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-12 14:19:59 -04:00
Stephen Augustus
5d1e299230 [go1.15] hack/tools: Update to k/repo-infra@v0.0.12 (supports go1.15.0)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-12 14:19:59 -04:00
Stephen Augustus
eaa2bc29b8 [go1.15] build: Update to k/repo-infra@v0.0.12 (supports go1.15.0)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-12 14:19:59 -04:00
Jiawei Wang
d030c64743 [e2e]Bind csi driver namespace to test namespace to avoid namespace collision 2020-08-12 10:20:30 -07:00
ESWZY
9ce4dfe6d2 Add test for pkg/kubelet/util/util_windows_test.go#GetAddressAndDialer 2020-08-13 01:17:00 +08:00
Aaron Crickenberger
e056241b4f Promote spiffxp to build/ approver
I've been a reviewer here for nearly 2 years, and am now part of
the team that builds the google-hosted .dep and .rpm packages
2020-08-12 10:03:30 -07:00
Rob Scott
4cfe4403b4
Updating EndpointSlice controllers to return if error encountered
Previously the controllers would proceed with additional creates,
updates, or deletes if 1 failed. That could potentially result in
scenarios where an EndpointSlice create or update failing while a delete
worked. This updates the logic so that removals will not happen if
additions fail.
2020-08-12 09:58:03 -07:00
Kubernetes Prow Robot
4a7804ae17
Merge pull request #93929 from liggitt/ingress-secret
Validate ingress TLS secretName in v1
2020-08-12 09:53:45 -07:00
Patrick Ohly
1a510a1bec e2e storage: avoid flaky test failure when watch dies
As discussed in https://github.com/kubernetes/kubernetes/pull/93658,
relying on a watch to deliver all events is not acceptable, not even
for a test, because it can and did (at least for OpenShift testing) to
test flakes.

The solution in #93658 was to replace log flooding with a clear test
failure, but that didn't solve the flakiness.

A better solution is to use a RetryWatcher which "under normal
circumstances" (https://github.com/kubernetes/kubernetes/pull/93777#discussion_r467932080)
should always deliver all changes.
2020-08-12 17:56:24 +02:00
Jordan Liggitt
f87a846e65 Validate ingress TLS secretName in v1 2020-08-12 10:13:08 -04:00
Kubernetes Prow Robot
c780554a64
Merge pull request #93829 from aojea/e2eSvcSlice
e2e services wait for endpoint and endpoint slices
2020-08-12 06:49:45 -07:00
Antonio Ojea
f31839acea e2e services wait for endpoint and endpoint slices
Since 1.19 endpoint slices is enabled by default, so all the e2e
tests should consider them.

The e2e networking tests for services use the jig object for
all the tests, but was not taking into account endpoint slices.

This considers endpoints slices for the method waitForAvailableEndpoint()

 Date:      Sun Aug 9 12:34:06 2020 +0200
2020-08-12 14:13:42 +02:00
Jan Safranek
fea06a204c Reduce test volume sizes
To reduce costs and to increase speed. Formating 5GiB volume took too long
in a badly overloaded CI cluster.

All in-tree volume plugins support at least 1GiB volumes.
2020-08-12 14:00:30 +02:00
Kubernetes Prow Robot
abede62bf0
Merge pull request #93857 from soltysh/fix_lb_test
Skip LB test per schedulable node count
2020-08-12 04:29:44 -07:00
Antonio Ojea
f9a5e5a283 support ipv6 in e2e policy tests 2020-08-12 13:01:07 +02:00
zhouya0
b18e265315 [Flaky test]kubectl log test never restart pod 2020-08-12 18:26:18 +08:00
Stephen Augustus
21863237a7 cluster/images/etcd: Build etcd@3.4.9-3 using debian-base@v2.1.3
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-11 23:20:06 -04:00
Stephen Augustus
13f1a90f74 build: Update to debian-base@v2.1.3 and debian-iptables@v12.1.2
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-11 23:17:26 -04:00
Kubernetes Prow Robot
fa13dc11d1
Merge pull request #93907 from robscott/endpointslice-e2e-test-fix
Updating EndpointSlice e2e tests to accept duplicate EndpointSlices
2020-08-11 20:07:45 -07:00