Commit Graph

93728 Commits

Author SHA1 Message Date
Rob Scott
43ce0c53cc
Fixing a flaky EndpointSliceMirroring integration test
This test was trying to create an Endpoints resource that the Endpoints
controller would also attempt to create. This could result in a failure
if the Endpoints controller created the resource before the test did.
2020-08-18 12:52:54 -07:00
Rob Scott
9180cf2346
Updating EndpointSlice controller to wait for all caches to be synced
Previously the EndpointSlice controller was not waiting for
EndpointSlices or Nodes to be synced.
2020-08-18 12:11:44 -07:00
Kubernetes Prow Robot
544b74c2cb
Merge pull request #94050 from liggitt/remove-flaky-audit-test
Remove flaky audit e2e test
2020-08-18 09:45:31 -07:00
He Jie Xu
dc52b69ddc Only lock statuses map when status isn't successful
Determine the status successful or not first, that will reduce the chance
of lock contention.
2020-08-18 22:40:15 +08:00
Kubernetes Prow Robot
fd74333a97
Merge pull request #93622 from knight42/test/plugin-register-timeout
Fix race condition in pluginWatcher
2020-08-17 19:03:32 -07:00
ymmt
17af029bc5 do not create StatefulSet pods when PVC is being deleted
Pod with PVC will not be scheduled if the PVC is being deleted.
This can happen when the PVC has finalizers of storage plugins.

Such a pod becomes pending.  Unfortunately, after the finalizer
finishes and PVC is deleted, the pod remains pending forever.
The StatefulSet controller does nothing for this pending pod.

This commit prevents the StatefulSet controller from creating
such pods when PVC is to be deleted.
2020-08-17 22:50:42 +00:00
Kubernetes Prow Robot
f55eac08c7
Merge pull request #94055 from liggitt/subresource-flake
Deflake TestSubresourcePatch
2020-08-17 14:05:30 -07:00
Matthew Cary
8ea57e55d7 fix misleading comment in expand_volume.go 2020-08-17 13:51:03 -07:00
Kubernetes Prow Robot
0d1d65661c
Merge pull request #93980 from BenTheElder/emeritus-sig-testing
Emeritus some inactive sig testing approvers
2020-08-17 11:53:31 -07:00
Jeremy Edwards
9a315cc2ec Simplify and de-lint GCE Windows kube-up docs. 2020-08-17 10:23:39 -07:00
Kubernetes Prow Robot
b7d59d37fa
Merge pull request #93721 from gitlawr/speedup-reconciler-tests
Speed up master reconciler tests
2020-08-17 08:38:18 -07:00
Jordan Liggitt
6ca6565274 Deflake TestSubresourcePatch 2020-08-17 11:19:04 -04:00
gitlawr
11b347ca1d Speed up master reconciler tests
Start apiservers in parallel.
Reduce the number of masters.
Reduce the time for ReconcilerMasterLease.* tests from ~85s to ~41s on
average.
2020-08-17 22:28:30 +08:00
Jordan Liggitt
f5490cb5c8 Remove flaky audit e2e test 2020-08-17 09:59:59 -04:00
Harshal Patil
9d5ca30b76 Read ssh username from env variable
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2020-08-17 17:49:26 +05:30
Sascha Grunert
975b8d352e
Use /usr/bin/env bash in Makefiles and scripts
This allows the execution of the Makefiles from distributions which do
have `bash` in a different path.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-08-16 21:13:18 +02:00
Kubernetes Prow Robot
ebbbc57540
Merge pull request #93707 from jingxu97/Aug/subpath
Fix issue in evaluating symlink path for subpath
2020-08-16 08:38:17 -07:00
zhouya0
3a237dd367 Scheduler auth stop using legacy scheme 2020-08-16 18:49:15 +08:00
Kubernetes Prow Robot
8f9f2fb2d6
Merge pull request #94023 from odinuge/go-version-flags
Fix building with GOFLAGS=-v
2020-08-15 12:56:18 -07:00
Odin Ugedal
1524794231
Fix building with GOFLAGS=-v
With go1.15 running go version with "-v" fails, and we should support
it.
2020-08-15 17:44:07 +02:00
Kubernetes Prow Robot
529c13471b
Merge pull request #93789 from jingxu97/Aug/csiproxy
Add test cluster check when starting csi proxy
2020-08-14 19:50:18 -07:00
Jing Xu
5aa817ab43 Fix issue in evaluating symlink path for subpath
This PR tries to fix issue https://github.com/kubernetes/kubernetes/issues/93759
2020-08-14 19:39:55 -07:00
Kubernetes Prow Robot
5d825b8f51
Merge pull request #93888 from dims/sig-arch-approvers-for-folders-that-dont-fall-under-other-sigs
Add sigs for root folders
2020-08-14 15:12:18 -07:00
Manuel Rüger
f289a3d6a7 kubeadm: Separate argument key/value in log msg
Users might be more used to `-o yaml` instead of -oyaml and get
confused event if the command works.

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2020-08-14 23:49:07 +02:00
Kubernetes Prow Robot
d633e03cf6
Merge pull request #94002 from wojtek-t/fix_list_from_etcd
Fix bug for inconsistent lists served from etcd
2020-08-14 12:38:17 -07:00
Morgan Bauer
916c73b8a5
update ResourceMetricsAPI node-e2e test
/metrics/resource/v1alpha1 was deprecated and moved to
/metrics/resource

Renames to remove v1alpha1 from function names and matcher variables.

Pod deletion was taking multiple minutes, so set GracePeriodSeconds to 0.

Commented restart loop during test pod startup.

Move ResourceMetricsAPI out of Orphans by giving it a NodeFeature tag.

API removed in 7b7c73b #88568
Test created 6051664 #73946
2020-08-14 11:28:35 -07:00
Benjamin Elder
22b833b114 move ixdy to emeritus 2020-08-14 09:17:27 -07:00
Benjamin Elder
885b1bc720 move krzyzacy to emeritus 2020-08-14 09:17:27 -07:00
wojtekt
a5b60c352d Fix bug for inconsistent lists served from etcd 2020-08-14 17:30:58 +02:00
Kubernetes Prow Robot
3b5aedcef4
Merge pull request #93998 from justaugustus/pub-bot-go
publishing-bot: Use go1.15.0 as default version and go1.13.15 for previous releases
2020-08-14 05:42:21 -07:00
Stephen Augustus
7681a3a0db publishing: Drop 'go' field from 'controller-manager' 'master' branch
This was previous incorrectly set to go1.13.
Dropping the field allows us to pick up the 'default-go-version'.

Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-14 05:19:49 -04:00
Stephen Augustus
6ed4f7cacd publishing: Use go1.15.0 as default version
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-14 05:19:44 -04:00
Stephen Augustus
310730e94a publishing: Use go1.13.15 for 1.18, 1.17, and 1.16 release branches
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-14 05:19:36 -04:00
Kubernetes Prow Robot
d822b8b230
Merge pull request #93972 from puerco/changelog-fix-117
Add missing changelog entries for v1.17.10
2020-08-14 01:54:29 -07:00
Kubernetes Prow Robot
a42a1c8dea
Merge pull request #93921 from zhouya0/never_restart_agnhost_pod
[Flaky test]kubectl log test never restart pod
2020-08-14 01:54:22 -07:00
Danil-Grigorev
f67774bdb0 Refactor locks on registeredNodesLocks
Their presence brought no need, as internal calls were already using
atomic operatons such as addNode or GetNode. This lock, instead was
blocking volume creation, and destroying the ability to provision
volume with `thin` SC.

Now the node map will be copied, and all group operatons will be
executed on a copy, leaving lock for others to use.
2020-08-14 10:12:17 +02:00
Kubernetes Prow Robot
c2bde256ae
Merge pull request #93990 from knight42/fix/run_kubectl_apply_tests
test(kubectl): deflake run_kubectl_apply_tests(round 2)
2020-08-14 00:48:35 -07:00
Kubernetes Prow Robot
fa1a3e0f74
Merge pull request #93665 from dims/emeritus-bgrant0607
Move bgrant0607 to emeritus status.
2020-08-14 00:48:22 -07:00
Kubernetes Prow Robot
770a59afc4
Merge pull request #93821 from dims/sign-up-dims-for-additional-review-roles
Sign up dims for additional review roles
2020-08-13 21:48:21 -07:00
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