Commit Graph

94981 Commits

Author SHA1 Message Date
Markus Thömmes
34b9d11505 Fix dependency linting 2020-10-19 11:33:30 +02:00
Surya Seetharaman
477b14b3c4 Kube-proxy: Perf-fix: Shrink INPUT chain
In #56164, we had split the reject rules for non-ep existing services
into KUBE-EXTERNAL-SERVICES chain in order to avoid calling KUBE-SERVICES
from INPUT. However in #74394 KUBE-SERVICES was re-added into INPUT.

As noted in #56164, kernel is sensitive to the size of INPUT chain. This
patch refrains from calling the KUBE-SERVICES chain from INPUT and FORWARD,
instead adds the lb reject rule to the KUBE-EXTERNAL-SERVICES chain which will be
called from INPUT and FORWARD.
2020-10-19 11:26:04 +02:00
Antonio Ojea
e3c1777f7d conntrack log delete operations 2020-10-19 10:01:58 +02:00
Markus Thömmes
e1fd0bd0eb Bump github.com/Azure/go-autorest/autorest/adal to 0.9.5 2020-10-19 09:59:45 +02:00
Antonio Ojea
880baa9f6f kube-proxy: log stale services operations 2020-10-19 09:35:34 +02:00
Kubernetes Prow Robot
ac10e4043a
Merge pull request #95578 from marwanad/add-deallocation-methods
add methods to deallocate and starts vms in a scale set
2020-10-19 00:18:14 -07:00
Nikhita Raghunath
e76e057439 staging/publishing: cleanup import restrictions for csi-translation-lib 2020-10-19 12:45:57 +05:30
Kubernetes Prow Robot
722be6647a
Merge pull request #95543 from wawa0210/fix-95530
Remove the dependency of csi-translation-lib module on apiserver/cloud-provider/controller-manager
2020-10-18 21:14:13 -07:00
Kubernetes Prow Robot
7b11de20a9
Merge pull request #95540 from masap/fix_dry_run_param
test: Fix deprecated --dry-run parameter
2020-10-18 17:10:13 -07:00
Kubernetes Prow Robot
b206f6695f
Merge pull request #95672 from aojea/fixdnse2e
e2e don't use hardcoded name for containers name
2020-10-18 12:10:13 -07:00
James DeFelice
1a12c8084b
fix test flakes
I've observed this test occasionally failing due to 403 errors. I think there's something racing within apiserver w/ respect to RBAC and that if this test were more patient, then it would not flake this way.
2020-10-17 17:15:28 -04:00
Kubernetes Prow Robot
db8258ca58
Merge pull request #95506 from benhxy/gke/etcd-migrate
Add client listening URLs configuration to etcd migrate.
2020-10-17 11:00:12 -07:00
Antonio Ojea
97a13a0f87 e2e don't use hardcoded name for containers name 2020-10-17 11:44:45 +02:00
Kubernetes Prow Robot
c1a781cce7
Merge pull request #93889 from claudiubelu/test-images/switch-to-buildx
Test images: switch to buildx
2020-10-17 01:10:12 -07:00
Kubernetes Prow Robot
0ec3ad4160
Merge pull request #95652 from nikhita/publishing-bot-rules-cleanup
staging/publishing: remove release-1.16 rules
2020-10-16 23:16:12 -07:00
Kubernetes Prow Robot
a5dceab0ce
Merge pull request #95580 from jayunit100/jayunit100/pillarnodelocal
support multiple bind records (fie nodelocaldns  test regression)
2020-10-16 22:24:12 -07:00
wawa0210
3d6d692b68
avoid apiserver/cloud-provider/controller-manager deps from k8s.io/csi-translation-lib 2020-10-17 09:45:38 +08:00
Kubernetes Prow Robot
8058942aa2
Merge pull request #95574 from swetharepakula/disable-test
Disable ExternalTrafficPolicy Test for large clusters
2020-10-16 18:42:12 -07:00
Kubernetes Prow Robot
22a0a89c40
Merge pull request #95625 from eddiezane/ez/use-gsutil-get-kube
Use gsutil to download kube binaries and release artifacts
2020-10-16 17:18:13 -07:00
Ben Hu
e8fcc44286 Add client listening URLs flag to etcd migrate. 2020-10-16 23:10:54 +00:00
Kubernetes Prow Robot
c913d4ed2a
Merge pull request #95640 from lala123912/staticcheck_2
vendor/k8s.io/metrics/pkg/client/custom_metrics: fix static check
2020-10-16 16:00:12 -07:00
Kubernetes Prow Robot
f738e5b320
Merge pull request #94440 from claudiubelu/tests/agnhost-usage-refactor-2
tests: Refactor agnhost image pod usage - common (part 1)
2020-10-16 14:58:12 -07:00
Swetha Repakula
b38ff20f71 Disable test for large clusters
- Due to performance issues, service controller updates are slow
 in large clusters, causing failing tests. Tag can be removed once
 performance issues are resolved
2020-10-16 14:27:15 -07:00
Ricardo Pchevuzinske Katz
45d6672a98
Fix catch all regex and missing DryRun Options
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
2020-10-16 15:45:15 -03:00
Aleksei Makhov
1777a356c8 fix unbound variable issue in verify.sh 2020-10-16 21:39:25 +03:00
jayunit100
aefe930562 support multiple bind records (fie nodelocaldns test regression), by
first replacing PILLAR_ and then replacing other vars.
2020-10-16 14:28:55 -04:00
cici37
0d2002229f Add back openapi gen for generic types and clean up doc.go 2020-10-16 10:54:15 -07:00
Haowei Cai
904d5c45de fix a nil pointer ref in slice allocation 2020-10-16 10:16:08 -07:00
Kubernetes Prow Robot
9af86e8db8
Merge pull request #95583 from andyzhangx/fix-valid-path
fix: smb valid path error
2020-10-16 09:01:54 -07:00
Kubernetes Prow Robot
7b40b3410b
Merge pull request #94595 from claudiubelu/tests/agnhost-usage-refactor-5
tests: Refactor agnhost image pod usage - network
2020-10-16 09:01:40 -07:00
Kubernetes Prow Robot
5fc80692c5
Merge pull request #94591 from Lion-Wei/lb-fw
Fix failing test "Services should only allow access from service loadbalancer source ranges"
2020-10-16 09:01:26 -07:00
Eddie Zaneski
cebb1b3393
Use gsutil to download kube binaries and release
Default to using gsutil to download kube artifacts to avoid network
interruptions.

Signed-off-by: Eddie Zaneski <eddiezane@gmail.com>
2020-10-16 09:56:25 -06:00
Kubernetes Prow Robot
23e5a85648
Merge pull request #93627 from hasheddan/verify-py3
run make verify with python3 to fix publishing bot issue
2020-10-16 08:01:25 -07:00
Nikhita Raghunath
88bbd7376c staging/publishing: remove release-1.16 rules 2020-10-16 18:26:17 +05:30
Claudiu Belu
0d24b05434 test images: Switches to buildx
Currently, some of the E2E test images have Windows support, and one of the goals is for most of
them to have Windows support. For that, the Image Builder is currently building those Windows
container images using a few Windows Server nodes (for 1809, 1903, 1909) with Remote Docker
enabled which are hosted on an azure subscription dedicated for CNCF.

With this, the Windows nodes dependency is removed entirely, as the images can be also built with
docker buildx. One additional benefit to this is that adding new supported Windows OS versions
to the E2E test images manifest lists becomes a lot easier (we wouldn't have to create a new Windows
Server node that matches that new OS version, assign DNS name, update certificates, etc.), and it
also becomes easier for other people to build their own E2E windows test images.

However, some dependencies are still required to run on a Windows machine. To solve this, we can
just pull helper images: e2eteam/powershell-helper:6.2.7 and e2eteam/busybox-helper:1.29.0. Their
Dockerfiles and a Makefile for them has been included in this commit. If any change is required to
them, then a new image will be built and tagged under a different version, but they are pretty
straight-forward and shouldn't require changes.

However, there is a small concern when it comes to the build time: Windows servercore images are
very large (for example, mcr.microsoft.com/windows/servercore:ltsc2019 is 4.99GB uncompressed, and
about ~2 GB compressed - those images are already cached on the Windows Server builder nodes, so
this isn't an issue there), and we currently support 1809, 1903, and 1909 (soon to add 2004).
This can lead to build times that are too big.

We have changed the base image to nanoserver (uncompressed size: 250MB), but some images still
require some DLLs or some other dependencies that can be fetched from a servercore image.

A separate job has been defined that would build a scratch windows-servercore-cache image monthly,
and then we can just get those dependencies from this cache, which will be very small.
This would be preferred, as the Windows images update periodically, and those dependencies
could be updated as well.
2020-10-16 10:42:49 +00:00
Jakub Przychodzeń
24033c908d Add new way to generate leader election lock 2020-10-16 12:20:52 +02:00
Kubernetes Prow Robot
d42d15847e
Merge pull request #95617 from barney-s/fluentbit_win_fix
Fix windows node startup failures for fluentbit installation
2020-10-16 02:33:25 -07:00
lala123912
324e969a6c fix staticcheck
vendor/k8s.io/metrics/pkg/client/custom_metrics/multi_client.go:49:4: ineffective break statement. Did you mean to break out of the outer loop? (SA4011)
vendor/k8s.io/metrics/pkg/client/custom_metrics/versioned_client.go:38:2: var codecs is unused (U1000)
2020-10-16 16:08:53 +08:00
Lion-Wei
1f7ea16560 kube-proxy ensure KUBE-MARK-DROP exist but not modify their rules 2020-10-16 14:52:07 +08:00
Kubernetes Prow Robot
cd8b87f25a
Merge pull request #95562 from wojtek-t/fix_metrics
Fix metrics reporting in kube-apiserver
2020-10-15 21:13:25 -07:00
Shintaro Murakami
acc970399d Remove redundant variable
The variable firstUnhealthyOrdinal is redundant because replicas and condemned are already sorted in ascending order.
2020-10-16 09:53:34 +09:00
Kubernetes Prow Robot
a5adff2b89
Merge pull request #95527 from mattcary/gke-xfs
Enable XFS tests for recent GKE COS versions
2020-10-15 17:35:25 -07:00
Kubernetes Prow Robot
78828078ca
Merge pull request #95566 from danwinship/sctp-ga
Move SCTP to GA
2020-10-15 15:35:25 -07:00
Stephen Heywood
d1caabdabd Switch events conformance metadata from v1.19 to v1.20 2020-10-16 11:06:22 +13:00
Kubernetes Prow Robot
0a20321bab
Merge pull request #91931 from lixiaobing1/lxb-deploy
fix func name NewCreateCreateDeploymentOptions
2020-10-15 14:43:25 -07:00
Kubernetes Prow Robot
fd5d61060a
Merge pull request #95561 from deads2k/container-status
kubelet container status calculation doesn't handle suddenly missing data properly
2020-10-15 13:49:26 -07:00
Barni S
847ae378ef Fix windows node startup failures.
1. cd to root dir before removing temp installer path. It was failing because we were trying to remove while being in the same dir.
2. Expand variables in a regular string and use it in the command. Expansion was failing in single quotes.
2020-10-15 16:17:22 -04:00
Kubernetes Prow Robot
fbe806ef9e
Merge pull request #95448 from alculquicondor/policy-spread
Map SelectorSpreadPriority to PodTopologySpread plugin
2020-10-15 12:55:25 -07:00
Anago GCB
3395ddb389 CHANGELOG: Update directory for v1.18.10 release 2020-10-15 18:22:33 +00:00
Anago GCB
c280882395 CHANGELOG: Update directory for v1.17.13 release 2020-10-15 17:11:49 +00:00