Commit Graph

93322 Commits

Author SHA1 Message Date
Lubomir I. Ivanov
ebf163684a kubeadm: adjust the logic around etcd data directory creation
- Ensure the directory is created with 0700 via a new function
called CreateDataDirectory().
- Call this function in the init phases instead of the manual call
to MkdirAll.
- Call this function when joining control-plane nodes with local etcd.

If the directory creation is left to the kubelet via the
static Pod hostPath mounts, it will end up with 0755
which is not desired.
2020-09-03 18:38:54 +03:00
Kubernetes Prow Robot
3352c44949
Merge pull request #93777 from pohly/capacity-test-flake-fix
e2e storage: avoid flaky test failure when watch dies
2020-08-19 04:47:12 -07:00
Kubernetes Prow Robot
3f579d8971
Merge pull request #94089 from robscott/endpointslicemirroring-flake-fix
Fixing a flaky EndpointSliceMirroring integration test
2020-08-18 18:53:10 -07:00
Kubernetes Prow Robot
bdb99c8e09
Merge pull request #93906 from aojea/flakeSvc
Deflake TestServiceRegistryUpdateDryRun test
2020-08-18 15:45:10 -07:00
Kubernetes Prow Robot
a690a36514
Merge pull request #94086 from robscott/endpointslice-sync-fix
Updating EndpointSlice controller to wait for all caches to be synced
2020-08-18 13:25:10 -07:00
Antonio Ojea
b276b4775f Deflake TestServiceRegistryUpdateDryRun test
The test suite was using a /24 cluster network for the allocator.
The ip allocator, if no ip is specified when creating the cluster,
picks one randomly, that means that we had 1/256 chances of
collision.

The TestServiceRegistryUpdateDryRun was creating a service without
a ClusterIP, the ip allocator assigned one random, and it was
never deleting it. The same test was checking later if one
specific IP was not allocated, not taking into consideration
that the same ip may have allocated to the first Service.

To avoid any randomness, we create the first Service with a specific
IP address.
2020-08-18 22:02:55 +02:00
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
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
Kubernetes Prow Robot
f55eac08c7
Merge pull request #94055 from liggitt/subresource-flake
Deflake TestSubresourcePatch
2020-08-17 14:05:30 -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
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
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
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
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
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
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
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