Commit Graph

124007 Commits

Author SHA1 Message Date
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
Kubernetes Prow Robot
5a99930ab5
Merge pull request #125328 from harche/v1_warning
[KEP-4569] Add a warning log, an event for cgroup v1 usage and a metric for cgroup version
2024-07-10 23:50:32 -07:00
carlory
850bc09e9b clean up codes after PodDisruptionConditions was promoted to GA and locked to default 2024-07-11 10:40:21 +08:00
Kubernetes Prow Robot
1740d85aff
Merge pull request #125866 from aroradaman/can-use-nfacct
nfacct: conditionally ensure counters and register metrics
2024-07-10 19:26:36 -07:00
Kubernetes Prow Robot
c3c8a9cfd4
Merge pull request #125676 from benluddy/cbor-bufferpool
KEP-4222: Don't pool large CBOR encode buffers
2024-07-10 17:08:41 -07:00
Kubernetes Prow Robot
d31ba91240
Merge pull request #126010 from aroradaman/proxy-options-refactor
Kube-Proxy options refactor
2024-07-10 14:54:48 -07:00
Kubernetes Prow Robot
2d877b5259
Merge pull request #125629 from benluddy/cbor-rawextension
KEP-4222: Automatically transcode RawExtension between unstructured protocols.
2024-07-10 14:54:35 -07:00
Ben Luddy
a19d142f0d
Don't pool large CBOR encode buffers.
Objects in a sync.Pool are assumed to be fungible. This is not a good assumption for pools
of *bytes.Buffer because a *bytes.Buffer's underlying array grows as needed to accomodate writes. In
Kubernetes, apiservers tend to encode "small" objects very frequently and much larger
objects (especially large lists) only occasionally. Under steady load, pooled buffers tend to be
borrowed frequently enough to prevent them from being released. Over time, each buffer is used to
encode a large object and its capacity increases accordingly. The result is that practically all
buffers in the pool retain much more capacity than needed to encode most objects.

As a basic mitigation for the worst case, buffers with more capacity than the default max request
body size are never returned to the pool.
2024-07-10 17:27:49 -04:00
Sergey Kanzhelev
541f2af78d device plugin failure tests 2024-07-10 20:14:59 +00:00
Kubernetes Prow Robot
135f2e0372
Merge pull request #125997 from mimowo/job-comment-cleanup
Cleanup TODO comment in the Job controller
2024-07-10 12:15:39 -07:00
Mark Rossetti
26ef4e42e5
Updating kubelet on Windows to query uuid from registry 2024-07-10 11:36:15 -07:00
Daman Arora
0d14f18f8f cmd/kube-proxy: refactor options test
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-07-10 23:55:28 +05:30
Daman Arora
458b56811a cmd/kube-proxy: refactor server.go
Split server.go into server.go and options.go and same for
server_test.go

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-07-10 23:55:27 +05:30
Daman Arora
210ed2fc41 kube-proxy: fix error wrapping, error handling and deprecated methods
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-07-10 23:51:17 +05:30
Peter Hunt
de3f5be0f2 securitycontext: add support for HostUsers
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2024-07-10 13:47:48 -04:00
Kubernetes Prow Robot
1608dc2b09
Merge pull request #125985 from kaisoz/fix-failureTarget-manually-added
job_controller: Ignore FailureTarget JobCondition with Status != True
2024-07-10 09:02:59 -07:00
Kubernetes Prow Robot
6a45c8b7d1
Merge pull request #125944 from timofurrer/fix/error-msg-type
Fix typo in type name of watch decode error
2024-07-10 09:02:50 -07:00
Kubernetes Prow Robot
27c6c30905
Merge pull request #124607 from gjtempleton/HPA-Reviewers-Addition
HPA - Add gjtempleton to reviewers
2024-07-10 07:08:50 -07:00
Michal Wozniak
8a8717c3a9 Cleanup TODO comment in the Job controller 2024-07-10 12:27:56 +02:00
Tomas Tormo
2aed11ec78 job_controller: Ignore FailureTarget!=True 2024-07-10 08:02:14 +00:00
Maciej Skoczeń
ad59b4026e Increase API server timeout in scheduler_perf tests 2024-07-10 07:34:59 +00:00
xuzhenglun
07198b90be
fix panic when watching ReplicationController with AllowWatchBookmarks enabled 2024-07-10 12:09:35 +08:00
Kubernetes Prow Robot
0c8b3e5f30
Merge pull request #125986 from vinayakankugoyal/typo
Fix typo in error message for anonymous field in AuthenticationConfig…
2024-07-09 20:45:05 -07:00
Kubernetes Prow Robot
20b216738a
Merge pull request #125971 from googs1025/integration_test
chore: use testCtx instead of context.TODO() for scheduler integration
2024-07-09 18:57:06 -07:00