Commit Graph

126425 Commits

Author SHA1 Message Date
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
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
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
Kubernetes Prow Robot
8233d1edc8
Merge pull request #127164 from cici37/correctGoDoc
Correct go doc for admissionregistration resources
2024-10-31 15:21:26 +00:00
Kubernetes Prow Robot
69e30cd642
Merge pull request #128263 from ShazaAldawamneh/typecheck-retry-generation
CRD type check test fix
2024-10-31 13:53:33 +00:00
Kubernetes Prow Robot
ff5cb3791a
Merge pull request #127903 from soltysh/test_daemonset
Add unit tests verifying the update touches old, unhealthy pods first, and only after new pods
2024-10-31 13:53:26 +00:00
Joe Betz
d5517b7a51 Unit test for emulated storage version selection 2024-10-31 09:22:28 -04:00
Lubomir I. Ivanov
07918a59e8 kubeadm: support dryrunning upgrade wihout a real cluster
Make the following changes:
- When dryrunning if the given kubeconfig does not exist
create a DryRun object without a real client. This means only
a fake client will be used for all actions.
- Skip the preflight check if manifests exist during dryrun.
Print "would ..." instead.
- Add new reactors that handle objects during upgrade.
- Add unit tests for new reactors.
- Print message on "upgrade node" that this is not a CP node
if the apiserver manifest is missing.
- Add a new function GetNodeName() that uses 3 different methods
for fetching the node name. Solves a long standing issue where
we only used the cert in kubelet.conf for determining node name.
- Various other minor fixes.
2024-10-31 14:58:47 +02:00
Kubernetes Prow Robot
c19ffb7e72
Merge pull request #128464 from sanposhiho/flaky-sched-one
fix: flake TestSchedulerScheduleOne
2024-10-31 12:13:33 +00:00
Kubernetes Prow Robot
ac25b64847
Merge pull request #128450 from liggitt/revert-127669
Revert "Merge pull request #127669 from olyazavr/fix-probe-race"
2024-10-31 12:13:26 +00:00
Kubernetes Prow Robot
ce6396175b
Merge pull request #127318 from aroradaman/conntrack-reconciler
proxy/conntrack: reconciler
2024-10-31 10:21:33 +00:00
Kubernetes Prow Robot
f94f87795f
Merge pull request #126935 from aojea/proxy_conntrack_service_topology
e2e conntrack test for UDP Service with internalTrafficPolicy local
2024-10-31 10:21:26 +00:00
Maciej Szulik
174288d751
Add unit tests verifying the update touches old, unhealthy pods first, and only after new pods.
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2024-10-31 11:13:01 +01:00
Patrick Ohly
d1f0d24ef9 DRA API: check "AdminAccess in use" only once
This is simpler and an opportunity to explain the concept.
2024-10-31 09:42:18 +01:00
Kensei Nakada
bd8e9dd021 fix: flake TestSchedulerScheduleOne 2024-10-31 17:13:50 +09:00