Commit Graph

127106 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
b845137026
Merge pull request #128526 from atiratree/deployment-improve-scaling
simplify ScalingReplicaSet event building in the deployment controller
2024-11-04 09:01:28 +00:00
Maciej Skoczeń
8371a35824 Split scheduler_perf config into subdirectories 2024-11-04 08:45:34 +00:00
Talor Itzhak
a56fde3694 lint: fix linter's complaints
Signed-off-by: Talor Itzhak <titzhak@redhat.com>
2024-11-04 09:59:39 +02:00
Talor Itzhak
37bcd38785 memorymanager: FG is locked to ON by default
We can remove the `if()` guards, since
the feature is always available.

Signed-off-by: Talor Itzhak <titzhak@redhat.com>
2024-11-04 09:57:21 +02:00
Talor Itzhak
c279c67071 hack/update-featuregates.sh output
Signed-off-by: Talor Itzhak <titzhak@redhat.com>
2024-11-04 09:57:18 +02:00
Talor Itzhak
004db73142 node:kubelet:memmgr: Memory Manager to GA
Signed-off-by: Talor Itzhak <titzhak@redhat.com>
2024-11-04 09:56:06 +02:00
Kubernetes Prow Robot
f4d05aad77
Merge pull request #128470 from omerap12/autoscale-unit
kubectl: add test coverage for autoscale command
2024-11-04 07:43:28 +00:00
Filip Křepinský
a460e2c413 simplify ScalingReplicaSet event building in the deployment controller 2024-11-04 08:42:22 +01:00
carlory
8a45986eea clean up tmp kubelet dir 2024-11-04 14:52:41 +08:00
Kubernetes Prow Robot
3036d107a0
Merge pull request #127074 from Tal-or/mm_fix_checkpoint_file_comparison
memorymanager: fix checkpoint file comparison
2024-11-04 02:13:27 +00:00
Tim Allclair
96aa71cc02 Cleanup unused cacheless PLEG code 2024-11-03 13:36:12 -08:00
Tim Allclair
13ae28bd67 Speed up resize test suite: only test rollback for a subset of cases 2024-11-03 13:02:17 -08:00
Sergey Kanzhelev
4fc209f12b generated files 2024-11-03 06:28:45 +00:00
Sergey Kanzhelev
01851b89f4 added a comment that statuses lists are not being validated 2024-11-03 06:28:42 +00:00
Kubernetes Prow Robot
6cb5ea56cb
Merge pull request #128484 from carlory/improve-error
improve error message format for WaitForPodSuccessInNamespaceTimeout
2024-11-03 02:19:27 +00:00
Abhijit Hoskeri
d86debe500 e2e_node: Pass e2eCriProxy instead of updating global.
e2eCriProxy is defined in a _test.go and referenced
in a non-test file. This confuses gopls.

It's also clearer to future readers.
2024-11-02 17:40:49 -07:00
Olga Shestopalova
0904d32759
refresh probed plugins on init to avoid probe race/erroneous unmounts
Signed-off-by: Olga Shestopalova <oshestopalova1@gmail.com>
2024-11-02 14:44:48 -04:00
Kubernetes Prow Robot
dfd456c567
Merge pull request #128276 from kolyshkin/runc-1.2.0
vendor: bump runc/libcontainer to v1.2.1
2024-11-02 18:23:26 +00:00
Kubernetes Prow Robot
6fce566781
Merge pull request #128474 from neolit123/1.32-handle-custom-addreses-comp-readyz
kubeadm: use actual addresses/ports for WaitForAllControlPlaneComponents
2024-11-02 17:19:26 +00:00
Lubomir I. Ivanov
b2741f7b1c kubeadm: use actual addresses/ports for WaitForAllControlPlaneComponents
By default check the KCM and scheduler on 127.0.0.1:<port> as that is the
defaall --bind-address kubeamd uses for these components.

For kube-apiserver take the value from APIEndpoint.AdvertiseAddress which is
dynamically detected from the host. Unless the user has passed explicitly --advertise-address
as an extra arg.

Read the <port> values for all components from the --secure-port flag
value if needed. Otherwise use defaults.

Use /livez for apiserver and scheduler. Add TODO for KCM to
switch to /livez as well.
2024-11-02 18:09:36 +02:00
Kubernetes Prow Robot
406fb26628
Merge pull request #128511 from aojea/revert-128508-fix-118141
Revert "Don't stop the next poll when it fails to grab logs"
2024-11-02 14:53:26 +00:00
Antonio Ojea
2c23db7311 don't panic inside e2e test 2024-11-02 13:51:46 +00:00
Antonio Ojea
e973b05f89
Revert "Don't stop the next poll when it fails to grab logs" 2024-11-02 09:50:11 +01:00
Omer Aplatony
6cb17d85a5 kubectl: add test coverage for autoscale command
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2024-11-02 09:11:53 +02:00
Kubernetes Prow Robot
fa77f7f548
Merge pull request #128508 from carlory/fix-118141
Don't stop the next poll when it fails to grab logs
2024-11-02 06:35:26 +00:00
carlory
bd0c5a40f8 Don't stop the next poll when it fails to grab logs 2024-11-02 13:31:36 +08:00
AxeZhan
200a61b6b9 Graduate PodLifecycleSleepAction to GA 2024-11-02 11:05:36 +08:00
googs1025
960e702596 flake(apiserver): fix TestReconcilerAPIServerLeaseMultiCombined 2024-11-02 08:46:20 +08:00
Kubernetes Prow Robot
2c4a863bf9
Merge pull request #126620 from yunwang0911/master
[InPlacePodVerticalScaling] fix restore checkpoint bug: failed to verify pod status checkpoint checksum because of different behaviors of func Quantity.Marshal and Quantity.Unmarshal
2024-11-02 00:33:27 +00:00
Kir Kolyshkin
1d4f88b1ee vendor: bump runc to v1.2.1
For one thing, this release decouples device management from
libcontainer/cgroups. You can see the result of this in a dropped
cilium/ebpf dependency (which is only needed for device management).

NOTE that due to an issue with go mod / go list,
github.com/opencontainers/runc had to be added to
hack/unwanted-dependencies.json under x/exp. This is bogus because
opencontainers/runc does not use x/exp directly, only via cilium/ebpf
dependency (which is not vendored here).

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2024-11-01 17:26:09 -07:00
Kubernetes Prow Robot
6bc0768c62
Merge pull request #127744 from carlory/fix-126662
Tighten validation on the qosClass field of pod status
2024-11-01 22:33:27 +00:00
Tim Allclair
f557903263 Delete unusued max resources function 2024-11-01 14:46:56 -07:00
Tim Allclair
6cb301a56f Don't consider allocated resources for limitranger constraints 2024-11-01 14:10:14 -07:00
Tim Allclair
99dcf07e21 If ResourceRequirements changed, always mark a proposed resize 2024-11-01 14:10:12 -07:00
Kubernetes Prow Robot
1890157a6c
Merge pull request #128490 from dims/remove-incorrect-usage-of-golang.org/x/net/context
Remove incorrect usage of golang.org/x/net/context
2024-11-01 21:09:26 +00:00
Tim Allclair
bf4f1832e2 Don't clear resize status when resources are missing 2024-11-01 14:02:59 -07:00
Tim Allclair
84201658c3 Fix ResizeStatus state transitions 2024-11-01 14:02:59 -07:00
Tim Allclair
04aeb40793 Comment clarifying definition of non-resizable containers 2024-11-01 14:02:58 -07:00
Tim Allclair
9d28cc0413 Improve resize test debugability 2024-11-01 14:02:58 -07:00
Tim Allclair
d37634a930 Fixup linting 2024-11-01 14:02:58 -07:00
Tim Allclair
45b1104878 Fix resize E2E tests 2024-11-01 14:02:58 -07:00
Tim Allclair
32e6eac753 Fix clearing pod resize status 2024-11-01 14:02:58 -07:00
Tim Allclair
81df195819 Stop using status.AllocatedResources to aggregate resources 2024-11-01 14:02:58 -07:00
Tim Allclair
61c1beeda2 Always set status Resources, default to allocated 2024-11-01 14:02:58 -07:00
Tim Allclair
0f0e27d226 Move container status AllocatedResources behind a separate feature gate 2024-11-01 14:02:58 -07:00
Kubernetes Prow Robot
3f5d0ee2cf
Merge pull request #128497 from benluddy/cbor-request-contenttype-circuit-breaker
KEP-4222: Fall back to JSON request encoding after CBOR 415.
2024-11-01 20:05:34 +00:00
Kubernetes Prow Robot
b845968421
Merge pull request #128344 from kannon92/revert-128333-eviction-manager
Allow for container fs and image fs to be on the same drive but in a different partition
2024-11-01 20:05:27 +00:00
Kubernetes Prow Robot
f8e64e1d6e
Merge pull request #128219 from carlory/fix-127520-128126
kubelet: Fix the volume manager didn't check the device mount state in the actual state of the world before marking the volume as detached
2024-11-01 18:55:34 +00:00
Kubernetes Prow Robot
1a7326902f
Merge pull request #127743 from googs1025/cleanup/leaderelection
chore(leader-election): modify leader-election comment to OnStoppedLeading callback is always called when the LeaderElector exits, even if it did not start leading.
2024-11-01 18:55:27 +00:00
Kubernetes Prow Robot
ca797af2af
Merge pull request #128491 from benluddy/cbor-dynamic-watch
KEP-4222: Add integration test for  CBOR-enabled dynamic client watches.
2024-11-01 17:05:26 +00:00