Commit Graph

124034 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
68da9a6762
Merge pull request #125925 from mmorel-35/testifylint/pkg/controller
fix: enable testifylint on `pkg/controller`
2024-07-12 12:50:25 -07:00
Kubernetes Prow Robot
33ccc51cb7
Merge pull request #125780 from chrischdi/pr-kubeadm-control-plane-kubelet-local-init
kubeadm: consider feature gate ControlPlaneKubeletLocalMode on init and upgrade
2024-07-12 12:50:16 -07:00
Kubernetes Prow Robot
de00a3c894
Merge pull request #125442 from mimowo/job-pod-failure-policy-stable
Graduate JobPodFailurePolicy to stable
2024-07-12 12:50:07 -07:00
Michal Wozniak
5f1ab75d27 Fix that PodIP field is not set for terminal pod 2024-07-12 21:36:12 +02:00
Ben Luddy
40c2839083
Error on custom (un)marshalers without a CBOR implementation.
When CBOR marshaling or unmarshaling a type that implements any of TextMarshaler, TextUnmarshaler,
json.Marshaler, or json.Unmarshaler, without also implementing the corresponding CBOR interface, the
proposed behavior is to automatically use the available interface method by transcoding between CBOR
and JSON or text. As a safety measure, values of these types will be rejected by the CBOR serializer
until that is implemented.
2024-07-12 15:05:11 -04:00
Jiaxin Shan
6c85fd4ddd KEP-4176: Add static policy option to distribute cpus across cores 2024-07-12 11:52:51 -07:00
Kubernetes Prow Robot
c7dab2a507
Merge pull request #125280 from HirazawaUi/add-pvc-events-queueinghintfn
Add QueueingHintFn for pvc events in VolumeRestriction plugin
2024-07-12 11:47:30 -07:00
Lan Liang
73613b48c6
make PodIP.IP and HostIP.IP required.
Fields used as map keys must be required or defaulted when used in a CRD schema.

see https://github.com/kubernetes/kubernetes/issues/124540

Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-07-12 09:27:27 -07:00
HirazawaUi
cd13be8654 Add QueueingHintFn for pvc events in VolumeRestriction plugin 2024-07-13 00:25:39 +08:00
Davanum Srinivas
2db4c4aaab
Set ginkgo time if not specified explicitly
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-07-12 11:33:22 -04:00
Michal Wozniak
f1233ac5e0 JobPodFailurePolicy to GA
# Conflicts:
#	pkg/controller/job/job_controller_test.go
2024-07-12 17:21:32 +02:00
Kubernetes Prow Robot
bae59799e9
Merge pull request #126050 from sanposhiho/refactor-move
cleanup: refactor the way extracting Node smaller events
2024-07-12 08:13:12 -07:00
Kubernetes Prow Robot
d11e86027d
Merge pull request #126046 from mimowo/fix-job-pod-failure-api
Use omitempty for optional fields in Job Pod Failure Policy
2024-07-12 08:13:04 -07:00
Kubernetes Prow Robot
0a3330d6c9
Merge pull request #125510 from mimowo/extend-job-conditions
Delay setting terminal Job conditions until all pods are terminal
2024-07-12 08:12:46 -07:00
Kevin Hannon
950781a342 add e2e tests for split filesystem
Signed-off-by: Ayato Tokubi <atokubi@redhat.com>
2024-07-12 14:19:17 +00:00
Sotiris Salloumis
99f90934b4 Add Pod Resize Node E2E test using framework in test/e2e_node 2024-07-12 15:53:53 +02:00
Kubernetes Prow Robot
31062790a1
Merge pull request #125855 from googs1025/refactor_scheduler_ut
chore: call close framework when finishing
2024-07-12 05:14:35 -07:00
Hiroyuki Moriya
52a622ad6d
volumezone: scheduler queueing hints: pv (#125001)
* volumezone: scheduler queueing hints

* add_comment
2024-07-12 05:14:27 -07:00
Kensei Nakada
fe96bfa348 cleanup: refactor the way extracting Node smaller events 2024-07-12 20:45:02 +09:00
Kubernetes Prow Robot
a39f42582f
Merge pull request #126048 from jsafrane/remove-broken-tests
Remove static PV topology test
2024-07-12 03:34:28 -07:00
Kensei Nakada
9772ff2848 cleanup: move NodeSchedulingPropertiesChange 2024-07-12 19:21:48 +09:00
googs1025
d4627f16a5 chore: call close framework when finishing
Signed-off-by: googs1025 <googs1025@gmail.com>
2024-07-12 18:11:04 +08:00
Michal Wozniak
70c4965270 Add more test cases for SuccessCriteriaMet
Cleanup error messages in the new code

Add validation for the Job controller fields
2024-07-12 11:22:26 +02:00
Michal Wozniak
0acffd6f2c Extend the e2e tests 2024-07-12 11:16:21 +02:00
Michal Wozniak
f523be6f70 Use omitempty for optional fields in Job Pod Failure Policy 2024-07-12 10:45:32 +02:00
Jan Safranek
dd655f7cc0 Remove static PV topology test
With cloud providers removed from k/k, e2e tests have no way how to create a
static AWS EBS, GCE PD, Azure Disk or other cloud volume. Test
"[sig-storage] Multi-AZ Cluster Volumes should schedule pods in the same
zones as statically provisioned PVs" constantly fails with "provider does
not support volume creation".

There is no upstream e2e job that would run the test and show the error.
We noticed it downstream in OpenShift.
2024-07-12 09:49:26 +02:00
Matthieu MOREL
be59afc102 fix: enable testifylint on pkg/controller
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-07-12 06:18:34 +00:00
Kubernetes Prow Robot
2d4514e169
Merge pull request #125802 from mmorel-35/testifylint/len+empty
fix: enable empty and len rules from testifylint on pkg and staging package
2024-07-11 23:12:06 -07:00
Kubernetes Prow Robot
7f23ebedc4
Merge pull request #124996 from Gekko0114/volumezone_hint_storageclass
volumezone: scheduler queueing hints: storageclass
2024-07-11 21:25:49 -07:00
Kubernetes Prow Robot
c21aabfdc7
Merge pull request #125991 from xuzhenglun/fix-watch-rc-panic
fix panic when watching ReplicationController with Bookmark enabled
2024-07-11 20:19:27 -07:00
Kubernetes Prow Robot
1080554307
Merge pull request #124969 from RomanBednar/pv-phase-transition-time-ga
graduate PersistentVolumeLastPhaseTransitionTime to GA in 1.31
2024-07-11 15:29:19 -07:00
Kubernetes Prow Robot
60862c98a4
Merge pull request #126012 from marosset/windows-kubelet-get-uuid-from-registry
Updating kubelet on Windows to query uuid from registry
2024-07-11 13:24:13 -07:00
Kubernetes Prow Robot
5b3040d12a
Merge pull request #126011 from haircommander/sc-userns
securitycontext: add support for HostUsers
2024-07-11 12:16:16 -07:00
Kubernetes Prow Robot
ccbbbc0f1f
Merge pull request #125790 from benluddy/cbor-fieldsv1
KEP-4222: Support either JSON or CBOR in FieldsV1.
2024-07-11 12:16:07 -07:00
Kubernetes Prow Robot
e446c59bd0
Merge pull request #125692 from macsko/lock_utilization_improvements_in_scheduling_queue
Improve lock utilization in scheduling queue to increase scheduling throughput while many gated pods
2024-07-11 12:15:58 -07:00
Michal Wozniak
1b13b55945 do not assert in e2e tests 2024-07-11 21:00:58 +02:00
Michal Wozniak
f999dd0490 Verify the Job status active, ready and terminating are 0
Signed-off-by: Michal Wozniak <michalwozniak@google.com>
2024-07-11 20:54:15 +02:00
Michal Wozniak
fb7704ba03 Delay setting terminal Job conditions until all pods are terminal
Fix the integration test typecheck

Fix after rebase

# Conflicts:
#	pkg/controller/job/job_controller_test.go
2024-07-11 20:54:09 +02:00
Kubernetes Prow Robot
e5ff4b8fcd
Merge pull request #126035 from SataQiu/fix-bug-20240711
kubeadm: fix a bug that ImageExists check returns true when the image isn't in the local storage
2024-07-11 11:08:33 -07:00
Kubernetes Prow Robot
cdcaea687c
Merge pull request #125751 from ahg-g/elastic-job
Graduate ElasticIndexedJob to GA
2024-07-11 11:08:24 -07:00
Kubernetes Prow Robot
9356b0e3e9
Merge pull request #126030 from kaisoz/test-SuccessPolicyMet-false-ignored
job_controller: Add test for SuccessCriteriaMet=False
2024-07-11 09:24:04 -07:00
Ben Luddy
37071989a0
Support either JSON or CBOR in FieldsV1.
The value of FieldsV1 is dependent upon its serialization. All existent FieldsV1 usage can safely
assume either JSON null or a JSON object. This is notably different from RawExtension, which might
hold arbitrary bytes.

To retain backwards compatibility for existing programs, FieldsV1 values decoded from CBOR will be
automatically transcoded to JSON. This will follow the same opt-out and migration plan as
RawExtension.
2024-07-11 11:13:15 -04:00
Kubernetes Prow Robot
b977096f5a
Merge pull request #125767 from carlory/fix-external-provisioner-1235
Fix pv reclaim failed due to its phase is wrongly updated to the Failed state by kcm
2024-07-11 07:45:18 -07:00
SataQiu
69a2bebc70 kubeadm: fix a bug that ImageExists check returns true when the image isn't in the local storage 2024-07-11 22:42:40 +08:00
moriya
ac15717653 volumezone: scheduler queueing hints 2024-07-11 14:24:49 +00:00
Kubernetes Prow Robot
5b49afa66b
Merge pull request #125000 from Gekko0114/vz_pvc
volumezone: scheduler queueing hints: pvc
2024-07-11 06:29:09 -07:00
Tomas Tormo
5a046a4fd9 job_controller: Add test for SuccessCriteriaMet=False 2024-07-11 12:08:43 +00:00
Kubernetes Prow Robot
37f733a657
Merge pull request #125868 from soltysh/wait_for
Add --for=create option to kubectl wait
2024-07-11 05:03:17 -07:00
Kubernetes Prow Robot
c20aa764d7
Merge pull request #125333 from ardaguclu/kep-4292-beta
KEP-4292: Preparations to promote custom profiling in kubectl debug
2024-07-11 05:03:03 -07:00
zhifei92
115092b374 fix(e2e_node): density cleanup pods 2024-07-11 15:39:52 +08:00