Commit Graph

126437 Commits

Author SHA1 Message Date
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
6cb5ea56cb
Merge pull request #128484 from carlory/improve-error
improve error message format for WaitForPodSuccessInNamespaceTimeout
2024-11-03 02:19:27 +00: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
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
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
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
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
Ben Luddy
1745dfdd15
Fall back to JSON request encoding after CBOR 415.
If a client is configured to encode request bodies to CBOR, but the server does not support CBOR,
the server will respond with HTTP 415 (Unsupported Media Type). By feeding this response back to the
RESTClient, subsequent requests can fall back to JSON, which is assumed to be acceptable.
2024-11-01 12:54:04 -04:00
Ben Luddy
faf07915e1
Add integration test for CBOR-enabled dynamic client watches. 2024-11-01 12:03:30 -04:00
Kubernetes Prow Robot
88a997ac01
Merge pull request #128481 from carlory/dependencies-ginkgo-gomega
dependencies: ginkgo v2.21.0, gomega v1.35.1
2024-11-01 15:53:26 +00:00
Davanum Srinivas
f74d6bc86b
Remove incorrect usage of golang.org/x/net/context
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-11-01 09:32:39 -04:00
Kubernetes Prow Robot
1a16c2d578
Merge pull request #128487 from neolit123/1.32-fix-get-node-from-ssr-bug
kubeadm: ensure proper parsing of SSR username
2024-11-01 12:47:25 +00:00
Kevin Hannon
48dc7d3267 add TODO for image fs 2024-11-01 08:46:55 -04:00
Kubernetes Prow Robot
d87bf75c29
Merge pull request #128439 from oxxenix/migrate-security-components-to-contextual-logging
clustertrustbundle, token_manager: migrate to contextual logging
2024-11-01 11:17:25 +00:00
carlory
1335f203fe kubelet: Fix the volume manager did't check the device mount state in the actual state of the world before marking the volume as detached. It may cause a pod to be stuck in the Terminating state due to the above issue when it was deleted. 2024-11-01 18:51:33 +08:00
Lubomir I. Ivanov
fceb39ecd2 kubeadm: ensure proper parsing of SSR username
- Split the code that tries to get node name from SSR into
a new function getNodeNameFromSSR(). Unit test the function.
- Fix error that the "system:nodes:" prefix was not trimmed.
- Fix mislearding errors around FetchInitConfigurationFromCluster.
This function performs multiple actions, and the "get node"
action can also be of type apierrors.NotFound(). This creates
confusion in the returned error in enforceRequirement during
upgrade. Fix this problem.
2024-11-01 11:42:58 +02:00
Kubernetes Prow Robot
c4eea34dcf
Merge pull request #128293 from sebastiaanspeck/fix/kubeamd-typo
Fix typo for `kubeadm`
2024-11-01 09:15:26 +00:00
carlory
529ad9029d improve error message format for WaitForPodSuccessInNamespaceTimeout 2024-11-01 14:33:07 +08:00
carlory
f36042dc5c gomega forces Eventually to apply a default timeout even when a context is provided. 2024-11-01 11:37:04 +08:00
carlory
80b1a29786 dependencies: ginkgo v2.21.0, gomega v1.35.1 2024-11-01 11:35:24 +08:00
carlory
9cb7d58b3c Tighten validation on the qosClass field of pod status 2024-11-01 10:36:03 +08:00
Kubernetes Prow Robot
b831df733e
Merge pull request #128416 from jpbetz/reset-filter
Add optional ResetFieldsFilterStrategy interface for storage
2024-11-01 02:23:26 +00:00
Joe Betz
2bc17d1cf0 Add ResetFieldsFilterStrategy 2024-10-31 21:19:27 -04:00
Joe Betz
6fe5140366 hack/pin-dependency.sh sigs.k8s.io/structured-merge-diff/v4 v4.4.2 2024-10-31 21:19:27 -04:00
Kubernetes Prow Robot
223ac36b50
Merge pull request #128399 from JesseStutler/dra
Refactor the dynamicResources struct to DynamicResources
2024-11-01 00:33:27 +00:00
Kubernetes Prow Robot
74b9204b6a
Merge pull request #128473 from dims/copy-ParseCgroupFileUnified-and-drop-rest-of-containerd-cgroups
Copy ParseCgroupFileUnified and Drop rest of containerd/cgroups
2024-10-31 21:57:33 +00:00
Kubernetes Prow Robot
34ce75749e
Merge pull request #128463 from knrc/fix_vap_elapsed_time_tracking
Fix elapsed time tracking for validating admission policies
2024-10-31 21:57:27 +00:00
Kubernetes Prow Robot
d76a8fae67
Merge pull request #128468 from wojtek-t/fix_miss_events_tests
Fix TestCacherDontMissEventsOnReinitialization test
2024-10-31 20:25:40 +00:00
Kubernetes Prow Robot
f68a0371f1
Merge pull request #128433 from pohly/dra-admin-access-in-status
DRA API: check "AdminAccess in use" only once
2024-10-31 20:25:33 +00:00
Kubernetes Prow Robot
b337f048db
Merge pull request #127094 from sreeram-venkitesh/4818-allow-zero-for-prestop-hook
KEP-4818: Relaxed validation for allowing zero in PreStop hook sleep action
2024-10-31 20:25:26 +00:00
Kubernetes Prow Robot
d34c181465
Merge pull request #128444 from tosi3k/ds-syncs
Add --concurrent-daemonset-syncs argument to kube-controller-manager
2024-10-31 19:21:34 +00:00
Kubernetes Prow Robot
151ca569f9
Merge pull request #128426 from yongruilin/reset-label-allow-list
feat(metrics): Add util func to reset label allow lists
2024-10-31 19:21:27 +00:00
Davanum Srinivas
e86d02b60c
Copy ParseCgroupFileUnified and Drop rest of containerd/cgroups
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-10-31 13:42:39 -04:00
Kubernetes Prow Robot
365b457e3e
Merge pull request #128455 from jsafrane/refactor-kcm-plugins
Refactor KCM volume plugin probe
2024-10-31 17:17:34 +00:00
Kubernetes Prow Robot
7a43edefa1
Merge pull request #128454 from jpbetz/fix-emulated-storage-version-encoding-config
Don't select versions that have a replacement as storage version for APIs
2024-10-31 17:17:26 +00:00
Wojciech Tyczyński
d35ea217fa Fix TestCacherDontMissEventsOnReinitialization test 2024-10-31 17:08:42 +01:00
yongruilin
d2ef8a1808 feat(metrics): Add util func to reset label allow lists
Adds a utility function `ResetLabelValueAllowLists` to reset the allow lists for label values.  This facilitates testing by allowing tests to clear the global state between runs and avoid unintended side effects.
2024-10-31 09:08:00 -07:00
Kubernetes Prow Robot
50998de605
Merge pull request #128457 from neolit123/1.31-improve-dry-run-logic
kubeadm: support dryrunning upgrade without a real cluster
2024-10-31 15:21:33 +00:00