Commit Graph

97938 Commits

Author SHA1 Message Date
hasheddan
8ae6a20485
kubeadm: drop explicit constant override in version test
The k8s release bucket constant is not longer overriden in network tests
because the fetcher is mocked rather than using httptest.NewServer. See
previous implementation in
https://github.com/kubernetes/kubernetes/pull/49119/files#diff-82f2b09991047d4a1884d53dedadd64a473d5c4dc75293514e71773ceedf08e2R128

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2021-02-06 11:03:00 -06:00
hasheddan
1d164d0747
kubeadm: get k8s CI version markers from k8s infra bucket
Updates kubeadm version resolution to use kubernetes community infra
bucket to fetch appropriate k8s ci versions. The images are already
being pulled from the kubernetes community infra bucket meaning that a
mismatch can occur when the ci version is fetched from the google infra
bucket and the image is not yet present on k8s infra.

Follow-up to kubernetes/kubernetes#97087

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2021-02-06 10:59:15 -06:00
Carlos Panato
c2e90d8baf
[go1.15] Use go-runner:buster-v2.3.1 image (built on go1.15.8) 2021-02-06 15:58:12 +01:00
Carlos Panato
06740b1848
[go1.15] staging/publishing: Set default go version to go1.15.8 2021-02-06 15:56:05 +01:00
Carlos Panato
8b5bf8ef91
[go1.15] Update to go1.15.8
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-02-06 15:55:39 +01:00
Kubernetes Prow Robot
25d5d657c7
Merge pull request #98796 from pacoxu/kubeadm/dual-stack-1
kubeadm: improve error message about node subnet size validation
2021-02-06 04:35:11 -08:00
Claudiu Belu
6dae3054b5 test images: Fixes Windows php source
The PHP release page tends to get updated and changed every time there's a
new release, removing the old ones. Because of this, the PHP link in the
httpd and httpd-new images may become invalid.

Updating the links to the archives solves this issue.
2021-02-06 11:32:21 +00:00
dabaooline
7c99f426cd fix ignored podinfo parserr
Co-authored-by: Jie Shen <drfish.me@gmail.com>
2021-02-06 18:59:12 +08:00
Carlos Panato
c9ccfe6ccc
e2e/storage-csi: replace gcr.io/gke-release to the community registry k8s.gcr.io/sig-storage 2021-02-06 11:29:14 +01:00
Angela Li
0fd36b00bb Escape the special character in vsphere windows path 2021-02-06 02:13:31 -08:00
Kubernetes Prow Robot
c15851b777
Merge pull request #98793 from wzshiming/ut/speed-up-endpointslice
Speed up pkg/controller/endpointslice unit tests
2021-02-05 17:51:11 -08:00
hellogdc
66459d3386 fix the address of restful-CORS-filter.go and restful-basic-authentication.go in the comment of ./staging/src/k8s.io/apiserver/pkg/server/filters/cors.go 2021-02-06 09:07:58 +08:00
Kubernetes Prow Robot
96a98e50af
Merge pull request #98790 from jkh52/master
Bump konnectivity-client to v0.0.15
2021-02-05 16:33:11 -08:00
Michael Taufen
f3e223cbbc Promote ServiceAccountIssuerDiscovery test to conformance
This satisfies the graduation criteria for promoting
ServiceAccountIssuerDiscovery to GA, per the KEP:
https://github.com/kubernetes/enhancements/tree/master/keps/sig-auth/1393-oidc-discovery

The test only uses GA APIs and has been passing for well
over two weeks:
https://testgrid.k8s.io/sig-release-master-blocking#gce-cos-master-alpha-features&include-filter-by-regex=ServiceAccountIssuerDiscovery
2021-02-05 16:05:15 -08:00
Kubernetes Prow Robot
89a51477c8
Merge pull request #98813 from mtaufen/said-rbac
Tolerate disabled RBAC in ServiceAccountIssuerDiscovery test
2021-02-05 15:05:11 -08:00
Ernest Wong
5a559e48f8
fix: remove duplicated code in image-util.sh due to merge conflict
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-02-05 14:12:25 -08:00
Kubernetes Prow Robot
0faf096041
Merge pull request #98755 from aojea/hostportdockershim
dockershim hostport manager use HostIP
2021-02-05 14:06:42 -08:00
Kubernetes Prow Robot
a821a4e13f
Merge pull request #98724 from deads2k/prove-overrideability
add test to ensure that user can clear alwaysallowpaths
2021-02-05 14:06:30 -08:00
Patrick Ohly
d27c541b45 test: bump CSI container versions for mock testing
These are the latest stable releases. We should test with those.
The newer external-provisioner no longer needs (and doesn't support)
the --provisioner parameter.
2021-02-05 21:08:39 +01:00
Kubernetes Prow Robot
036cab71a6
Merge pull request #98691 from pacoxu/cronjob-ut
run cronjob every 1minute in UT
2021-02-05 11:34:52 -08:00
Michael Taufen
05439d48aa Tolerate disabled RBAC in ServiceAccountIssuerDiscovery test
Also clean up the binding after the test.
2021-02-05 10:59:18 -08:00
Han Kang
db107b190c remove the rest of the bazel test wiring for metrics stability 2021-02-05 10:48:48 -08:00
Kubernetes Prow Robot
3f42a66bd3
Merge pull request #92719 from claudiubelu/test-images/windows-support-res-consumer
test images: Adds Windows support for resource-consumer
2021-02-05 10:45:05 -08:00
Kubernetes Prow Robot
6f5e6dad4b
Merge pull request #77269 from claudiubelu/test-images-windows-support-part-3
test images: Adds Windows Container images support (part 3)
2021-02-05 10:44:52 -08:00
CaiyuhangC
6990d75625
Remove the dependency between create namespace command and generators (#96556)
* Remove the dependency between create namespace command and generators

* Update create_namespace.go

format the file

rename "kruntime" package to "runtime"

remove the reliance of generators

replace dynamic client with typed client

rename "options" to "o" in "NewNamespaceOptions" fun for better reading and comparison with other create cmd

remove Namespace and EnforceNamespace from NamespaceOptions

remove Mapper from NamespaceOptions

refactory the "Run" fun

refactory the "Run" fun

Update create_namespace.go and create_namespace_test.go

* Update create_namespace.go and create_namespace_test.go

* fix createNamespace function

* fix createNamespace function

* fix createNamespace function

* remove the wrong comment in NamespaceOptions

* add validate operation for cobra.Command

* add some unit tests

* add some unit tests

* remove the call of Validate() from createNamespace() and update return type of createNamespace()

* update test suite for the new createNamespace()
2021-02-05 08:44:52 -08:00
pacoxu
f681edf58e kubeadm: improve error message about node subnet size validation
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
Co-authored-by: SataQiu <1527062125@qq.com>
Co-authored-by: driazati <david.riazati@gatech.edu>
Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com>
2021-02-05 23:29:26 +08:00
Kubernetes Prow Robot
c9604bd302
Merge pull request #98699 from damemi/balance-nodes-scheduling-ubernetes-lite
Balance nodes in scheduling e2e
2021-02-05 07:28:52 -08:00
Mike Dame
6579cd8e9e Balance nodes in scheduling e2e
This adds a call to createBalancedPods during the ubernetes_lite scheduling e2es,
which are prone to improper score balancing due to unbalanced utilization.
2021-02-05 09:40:34 -05:00
Kubernetes Prow Robot
26744ac58d
Merge pull request #98781 from smarterclayton/skip_all_nodes
Bug 1920221: Allow test invokers to skip test waits before and after
2021-02-05 06:32:52 -08:00
Kubernetes Prow Robot
ce1ee6461a
Merge pull request #98773 from mtaufen/said-fqdn
Use FQDN for SERVICEACCOUNT_ISSUER in tests
2021-02-05 05:40:52 -08:00
pacoxu
d9b63439d2 update gce cluster windows infra image 2021-02-05 21:39:48 +08:00
pacoxu
8946f26769 update pause to 3.4.1 for kubelet/kubeadm
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-02-05 21:33:01 +08:00
pacoxu
0c152cbbbe update pause to 3.4.1 for tests(e2e)
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-02-05 21:32:53 +08:00
Kubernetes Prow Robot
2b90d509b5
Merge pull request #98524 from chymy/comp-base-flag-0128
Fix unified flag in --logging-format description
2021-02-05 03:38:51 -08:00
Kubernetes Prow Robot
19c9cf7a20
Merge pull request #98717 from mengjiao-liu/subpath-permission
fix VolumeMount permissions with subpaths only apply the right permsions to the last directory
2021-02-05 02:48:51 -08:00
Kubernetes Prow Robot
1f6fe21425
Merge pull request #98761 from chymy/repeated-err-0204
Repeated err judgment in integration test
2021-02-05 00:44:52 -08:00
Joseph Anttila Hall
6812a9c610 Bump network proxy images to v0.0.15 2021-02-05 00:35:33 -08:00
Antonio Ojea
ad4776ba54 dockershim hostport respect IPFamily 2021-02-05 08:51:33 +01:00
Antonio Ojea
f7d86e8b1c dockershim hostport manager use HostIP
the hostport manager was not taking into consideration the hostIP
when binding the socket of the hostPort, causing that the same
HostPort can not be used with different IP addresses.
2021-02-05 08:51:33 +01:00
Kubernetes Prow Robot
6dc0047396
Merge pull request #98259 from tanjing2020/taint_manager_log
migrate scheduler/taint_manager.go structured logging
2021-02-04 23:50:51 -08:00
wzshiming
98eb869d63 Speed up pkg/controller/endpointslice unit tests 2021-02-05 15:28:37 +08:00
wzshiming
fb518af0fc Speed up pkg/controller/volume/persistentvolume unit tests 2021-02-05 15:09:36 +08:00
Kubernetes Prow Robot
d3fce91fdc
Merge pull request #96293 from andyzhangx/azurefile-migration
azure file migration go beta
2021-02-04 22:32:51 -08:00
Kubernetes Prow Robot
c5759ab86d
Merge pull request #98787 from smarterclayton/pass_zones
test/e2e: Allow zones to be passed to e2e cloud provider
2021-02-04 19:44:51 -08:00
Joseph Anttila Hall
6499d4a730 Bump konnectivity-client to v0.0.15
$ ./hack/pin-dependency.sh \
  sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.15
$ ./hack/update-vendor.sh
2021-02-04 19:42:20 -08:00
Clayton Coleman
9830cc911f
test/e2e: Allow zones to be passed to e2e cloud provider
Instead of allowing the cloud provider to guess at the zones that
should be applied for a cluster under test, allow the explicit list
of zones to consider to be passed as a new test context flag -gce-zones.

Only the GCE test cloud provider recognizes this value because only
the GCE test cloud provider makes assumptions about zones for verifying
values, and the default assumptions for GKE do not always match non-GKE
providers.
2021-02-04 21:53:54 -05:00
Han Kang
73d797d474 Wire up static-analysis so that it executes in the normal 'hack' flow 2021-02-04 18:48:03 -08:00
chymy
4c198dc9eb Repeated err judgment in ns_conditions_test.go
Signed-off-by: chymy <chang.min1@zte.com.cn>
2021-02-05 10:44:37 +08:00
Kubernetes Prow Robot
f5fb1c93db
Merge pull request #96021 from huffmanca/dont-remove-volume
Dont remove volumes when saveVolumeData fails
2021-02-04 18:20:51 -08:00
Clayton Coleman
286d989d8d
test/e2e: Allow test invokers to skip test waits before and after
A number of e2e tests are useful to run after the system has been
disrupted or is in the progress of being disrupted, but the current
suite and test logic blocks progress waiting for all nodes to be
healthy.

By passing -1 to --minStartupPods or --allowed-not-ready-nodes flags
the caller can bypass wait logic before and after test suites that
would prevent running e2e during disruption. This allows use of parts
of the e2e suite during cluster duress to verify that controllers or
components still function.
2021-02-04 20:14:05 -05:00