Commit Graph

95063 Commits

Author SHA1 Message Date
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
David Eads
ff7d1444f0 kubelet container status calculation doesn't handle suddenly missing data properly 2020-10-15 12:26:16 -04:00
Kubernetes Prow Robot
943b1dbf53
Merge pull request #95495 from deads2k/remove-secondary-retry
remove secondary client retries in e2e tests
2020-10-15 08:06:39 -07:00
Kubernetes Prow Robot
35e20f1742
Merge pull request #94327 from rikatz/create-ingress
kubectl create ingress
2020-10-15 08:06:24 -07:00
Kubernetes Prow Robot
d970c18ab8
Merge pull request #95451 from mkumatag/fix_fc
Fix fcpath
2020-10-15 07:10:39 -07:00
Kubernetes Prow Robot
36a6a64936
Merge pull request #95427 from roycaihw/fix/tls-transport-cache
TLS transport cache: don't cache transports for incomparable configs
2020-10-15 07:10:24 -07:00
Kubernetes Prow Robot
28b46be97b
Merge pull request #95278 from mrbobbytables/update-kubectl-support-label
kubectl: Update triage/support label references to kind/support
2020-10-15 06:04:51 -07:00
Kubernetes Prow Robot
297b021f49
Merge pull request #95230 from Git-Jiro/fix_vendor_client_go
Fix staticchecks in vendor/k8s.io/client-go
2020-10-15 06:04:37 -07:00
Kubernetes Prow Robot
2f31a4ab0d
Merge pull request #94939 from tnqn/describe-pod-toleration
kubectl: add a space between effect and operator when printing tolerations
2020-10-15 06:04:24 -07:00
Dan Winship
3a110546ed Move SCTP to GA 2020-10-15 08:56:33 -04:00
David Eads
64c099d670 remove secondary client retries in e2e tests 2020-10-15 08:30:42 -04:00
Ricardo Pchevuzinske Katz
73aa0a92f8 Add support for create ingress in kubectl
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
2020-10-15 09:07:40 -03:00
wojtekt
3d2a80643a Fix metrics reporting in kube-apiserver 2020-10-15 13:50:33 +02:00
Maciej Szulik
788ef39cab
Fix --dry-run invocation in kubectl e2e 2020-10-15 12:51:58 +02:00
Kubernetes Prow Robot
56833a63c9
Merge pull request #95560 from josephburnett/ignoredeleted
Ignore deleted pods.
2020-10-15 02:54:24 -07:00
Kubernetes Prow Robot
d7e0cb0e35
Merge pull request #95542 from nilo19/bug/support-exclude-node-from-lb-label
Support the node label `node.kubernetes.io/exclude-from-external-load-balancers`
2020-10-15 01:38:24 -07:00
Kubernetes Prow Robot
978233775e
Merge pull request #94992 from lala123912/gxf
fix pkg/volume/util static checks
2020-10-15 00:44:24 -07:00
andyzhangx
5656e346c7 fix: smb valid path error 2020-10-15 07:02:12 +00:00
Martin Schimandl
13c017056c Fix staticchecks in vendor/k8s.io/client-go 2020-10-15 07:27:02 +02:00
Marwan Ahmed
ede9d8ce12 add methods to deallocate and starts vms in a scale set 2020-10-14 19:43:03 -07:00
Kubernetes Prow Robot
b3d4b8ed8a
Merge pull request #93912 from barney-s/fluentbit_win
Use fluentbit as logging agent. Replace stackdriver
2020-10-14 18:45:50 -07:00
Barni S
bbe7b2ebed Use fluentbit as logging agent. Replace stackdriver 2020-10-14 18:27:09 -04:00
Kubernetes Prow Robot
2318a13228
Merge pull request #94985 from howardjohn/describe-ingress
Fix `kubectl describe ingress` format
2020-10-14 14:05:49 -07:00
Francesco Romani
009b5356cb e2e: node: topomgr: avoid plugin leak on test fail
We need to make sure we tear down the sriov device plugin pod
should the tests fail, to avoid leaking pods in the test environment.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-10-14 23:01:58 +02:00
Haowei Cai
fac48d2538 add a local tlsTransportCache to available_controller
The available_controller creates short-lived clients to sync remote APIService
objects. These clients are constructed with HTTP transports that cannot
be cached by client-go (because client-go won't know whether the TLS configs
have dynamic functions or not), which may spam idle connections. A local
cache works because we know all the configs share the same dialer
function, and can only vary on the dynamic cert/key.
2020-10-14 14:01:56 -07:00
Kubernetes Prow Robot
7ff41c1ba0
Merge pull request #94588 from MaXinjian/shellcheck-typo
Fix typo in comment of hack/verify-shellcheck.sh
2020-10-14 11:15:49 -07:00
Aldo Culquicondor
95dd99905f Map SelectorSpreadPriority to PodTopologySpread plugin
when DefaultPodTopologySpread feature is enabled

If SelectorSpreadPriority is in use, PodTopologySpread gets inevitably enabled.
When only EvenPodsSpreadPriority is in use, PodTopologySpread is configured without system defaults.

Change-Id: I2389a585cd8ad0bd35b0d2acae1665cd46908b3e
2020-10-14 13:45:26 -04:00