Commit Graph

115623 Commits

Author SHA1 Message Date
carlory
48d01d6d9b Remove ability to re-enable serving deprecated batchapiv1beta1 APIs 2023-04-28 14:08:31 +08:00
Kubernetes Prow Robot
0d0870e5b4
Merge pull request #117654 from SergeyKanzhelev/initContainerTests
added init containers tests to simplify the sidecar KEP large PR
2023-04-27 16:46:15 -07:00
Sergey Kanzhelev
fc0d2cd32f added init containers tests to simplify the sidecar KEP large PR 2023-04-27 22:42:49 +00:00
Kubernetes Prow Robot
00eee07272
Merge pull request #117641 from wojtek-t/cleanup_cacher_tests_847
Refactor some watchcache tests
2023-04-27 12:28:41 -07:00
Kubernetes Prow Robot
299db84401
Merge pull request #117057 from ffromani/e2e-device-plugin-test-fixes
node: e2e device plugin test improvements
2023-04-27 12:28:34 -07:00
Kubernetes Prow Robot
b44482a37c
Merge pull request #116797 from mengjiao-liu/contextual-looging-scheduler-plugin-podtopologyspread
Migrated `pkg/scheduler/framework/plugins/podtopologyspread` to contextual logging
2023-04-27 12:28:27 -07:00
Kubernetes Prow Robot
a38efaccc0
Merge pull request #116748 from mengjiao-liu/contextual-logging-scheduler-plugin-noderesource
Migrated `pkg/scheduler/framework/plugins/noderesources` to contextual logging
2023-04-27 12:28:15 -07:00
Kubernetes Prow Robot
3a15029a95
Merge pull request #117643 from humblec/etcd
update the etcd base image to v1.4.2
2023-04-27 11:10:27 -07:00
Kubernetes Prow Robot
5170c25609
Merge pull request #116835 from mengjiao-liu/contextual-logging-scheduler-plugin-preemption
Migrated `pkg/scheduler/framework/preemption & defaultpreemption` to use contextual logging
2023-04-27 11:10:16 -07:00
Kubernetes Prow Robot
e8108b5a47
Merge pull request #117651 from humblec/cluster
use go 1.19.x for etcd version monitor compilation
2023-04-27 09:16:16 -07:00
Humble Chirammal
f24d1d2c95 use go 1.19.x for etcd version monitor compilation
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-04-27 20:21:00 +05:30
Kubernetes Prow Robot
926bb80f5d
Merge pull request #117644 from humblec/etcd-1
correct etcd base image reference in the doc
2023-04-27 07:22:17 -07:00
Humble Chirammal
91df71be54 correct etcd base image reference in the doc
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-04-27 18:11:39 +05:30
Kubernetes Prow Robot
041bb9a56c
Merge pull request #117534 from Mskxn/fix_watcher
stop watcher when error occurs
2023-04-27 04:56:14 -07:00
Humble Chirammal
6b40cd8cd3 update test/conformance/image version to v1.4.2
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-04-27 17:08:04 +05:30
Humble Chirammal
6c8be35fa8 update the etcd base image to v1.4.2
The current base v1.3.0 has many CVEs[1] which are addressed in latest
versions of the bullseye

[1] ex:
CVE-2022-2509
CVE-2021-46828

Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-04-27 17:06:54 +05:30
Wojciech Tyczyński
1eca720dcc Refactor some watchcache tests 2023-04-27 13:06:01 +02:00
Kubernetes Prow Robot
78b56ce16d
Merge pull request #116570 from SataQiu/fix-kubeadm-20230314
kubeadm: support upgrade coredns and kube-proxy addons after all the control plane instances have been upgraded
2023-04-27 01:44:26 -07:00
Kubernetes Prow Robot
87f3acf7f6
Merge pull request #115398 from tangwz/add_NodeVolumeLimits_PreFilter
feat(NodeVolumeLimits): return Skip in PreFilter
2023-04-27 01:44:14 -07:00
Mengjiao Liu
7f370d651d Migrated pkg/scheduler/framework/plugins/podtopologyspread to contextual logging 2023-04-27 15:55:09 +08:00
Mengjiao Liu
54e6f609ce Migrated pkg/scheduler/framework/plugins/noderesources to contextual logging 2023-04-27 14:46:13 +08:00
Kubernetes Prow Robot
3554bcde87
Merge pull request #117368 from sunnylovestiramisu/fix
Fix nil pointer in test AfterEach for volumeperf.go
2023-04-26 21:54:14 -07:00
Mengjiao Liu
37a9260d5c Migrate pkg/scheduler/framework/plugins/defaultpreemption/default_preemption.go to use contextual logging 2023-04-27 11:28:19 +08:00
Mengjiao Liu
eeb1399383 Migrated pkg/scheduler/framework/preemption to use contextual logging 2023-04-27 11:28:14 +08:00
Kubernetes Prow Robot
8ae8e77560
Merge pull request #117593 from jpbetz/test-join
Fix bug where CEL listOfString.join() results in unexpected error
2023-04-26 16:10:13 -07:00
Kubernetes Prow Robot
dd62a53e1a
Merge pull request #117196 from pohly/scheduler-perf-labels
scheduler_perf: support test case selection via labels
2023-04-26 14:26:14 -07:00
Kubernetes Prow Robot
7adcb3cb37
Merge pull request #117306 from marosset/update-go-winio-dep
updating microsft/go-winio package to latest version
2023-04-26 13:04:14 -07:00
Kubernetes Prow Robot
569788cb20
Merge pull request #117619 from SataQiu/code-clean-20230426
Code clean up for kubeadm
2023-04-26 12:04:27 -07:00
Kubernetes Prow Robot
c5c2806e23
Merge pull request #117571 from seans3/agg-discovery-fix
Fixes bug when extra params added to discovery content-type
2023-04-26 12:04:15 -07:00
Patrick Ohly
550d4c0074 scheduler_perf: support test case selection via labels
Entire test cases and workloads can have labels attached to them. The union of
these must match the label filter which works as in GitHub. The benchmark by
default runs the tests that are labeled "performance", which is the same as
before.
2023-04-26 21:01:31 +02:00
Kubernetes Prow Robot
928adb27ab
Merge pull request #116191 from aojea/spdy_passthrugh
improve remotecommand testing fuzzing the data stream
2023-04-26 10:22:27 -07:00
Julianne DeMars
217196c59f
Add ROX storage tests (#114628)
* Add ROX tests

* Add capability and switch to secpod

* addmissing file

* remove extra param

* run-formatter

* add anticapability for resize w/ Restore + ROX

* remove size checking in ROX tests

* fix spacing

* fix spacing
2023-04-26 10:22:16 -07:00
Sean Sullivan
2af662b05f Refactors discovery content-type and helper functions 2023-04-26 17:09:50 +00:00
Kubernetes Prow Robot
afeb78fd8f
Merge pull request #117605 from andrewsykim/update-ccm-version
cluster/gce: update cloud-provider-gcp image to latest tagged version
2023-04-26 08:56:27 -07:00
Kubernetes Prow Robot
22216b8ada
Merge pull request #117280 from humblec/coredns
dependencies: update coredns/caddy to v1.1.0
2023-04-26 08:56:14 -07:00
SataQiu
170d5ef9fa code cleanup for kubeadm 2023-04-26 23:51:39 +08:00
Kubernetes Prow Robot
c4f6c47169
Merge pull request #117594 from tosi3k/sched-regression
Fix scheduler performance regression after adding plugin metrics
2023-04-26 07:38:13 -07:00
Swati Sehgal
0a58243159 node: device-plugin: e2e: Add test case for kubelet restart
Capture explicitly a test case pertaining to kubelet restart
but with no pod restart and device plugin re-registration.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2023-04-26 15:33:00 +02:00
Swati Sehgal
0910080472 node: device-plugin: e2e: Provide sleep intervals via constants
Based on whether the test case requires pod restart or not, the sleep
interval needs to be updated and we define constants to represent the two
sleep intervals that can be used in the corresponding test cases.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
Co-authored-by: Francesco Romani <fromani@redhat.com>
2023-04-26 15:32:59 +02:00
Swati Sehgal
4a0f7c791f node: device-plugin: e2e: Update test description to make it explicit
Explicitly state that the test involves kubelet restart and device plugin
re-registration (no pod restart)

We remove the part of the code where we wait for the pod to restart as this
test case should no longer involve pod restart.

In addition to that, we use `waitForNodeReady` instead of `WaitForAllNodesSchedulable`
for ensuring that the node is ready for pods to be scheduled on it.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
Co-authored-by: Francesco Romani <fromani@redhat.com>
2023-04-26 15:32:57 +02:00
Swati Sehgal
fd459beeff node: device-plugin: e2e: Isolate test to pod restart scenario
Rather than testing out for both pod restart and kubelet restart,
we change the tests to just handle pod restart scenario.

Clarify the test purpose and add extra check to tighten the test.

We would be adding additional tests to cover kubelet restart scenarios
in subsequent commits.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
Signed-off-by: Francesco Romani <fromani@redhat.com>
2023-04-26 15:32:54 +02:00
Swati Sehgal
5ab4ba6205 node: device-plugin: e2e: Annotate device check with error message
With this change the error message are more helpful and easier
to troubleshoot in case of test failures.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2023-04-26 15:32:21 +02:00
Swati Sehgal
5c4f397361 node: device-plugins: e2e: s/devLen/expectedSampleDevsAmount
We rename to make the intent more explicit;
We make it global to be able to reuse the value all across the module
(e.g. to check the node readiness) later on.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
Co-authored-by: Francesco Romani <fromani@redhat.com>
2023-04-26 15:32:16 +02:00
Swati Sehgal
0aa6a5726a node: device-plugins: e2e: Refactor parse log to return string and error
Rather than only returning a string forcing us to log failure with
`framework.Fail`, we return a string and error to handle error cases
more conventionally. This enables us to use the `parseLog` function
inside `Eventually` and `Consistently` blocks, or in general to delegate
the error processing and enable better composability.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
Co-authored-by: Francesco Romani <fromani@redhat.com>
2023-04-26 15:31:16 +02:00
Kubernetes Prow Robot
0b53923a7a
Merge pull request #117286 from humblec/e2e-improvements
remove `expansionFailed` const in volume expansion and avoid var name collision
2023-04-26 06:16:13 -07:00
tangwz
8ed861889a feat(NodeVolumeLimits): return Skip in PreFilter 2023-04-26 20:17:04 +08:00
Antoni Zawodny
28519e240e Fix scheduler performance regression after adding plugin metrics 2023-04-26 14:11:48 +02:00
Andrew Sy Kim
96eaed9980 cluster/gce: update cloud-controller-manager to use go-runner
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2023-04-26 11:17:28 +00:00
Andrew Sy Kim
0d27d3cfff cluster/gce: update cloud-provider-gcp image to latest tagged version
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2023-04-26 11:13:29 +00:00
Kubernetes Prow Robot
806b30170c
Merge pull request #117603 from brianpursley/api-resources-help-typo
Fix typo in kubectl api-resources help text for --categories flag
2023-04-26 01:02:16 -07:00