Commit Graph

127780 Commits

Author SHA1 Message Date
vivzbansal
cfa0349159 Update validation code 2025-01-28 00:55:55 +00:00
vivzbansal
c31b1b3332 Resolved some review comments 2025-01-27 19:46:55 +00:00
vivzbansal
c479f007d8 Update field to use feature gate 2025-01-27 19:46:55 +00:00
vivzbansal
ab964a776c Fix e2e tests failure 2025-01-27 19:46:55 +00:00
vivzbansal
5889da1bbc Resolved latest review comments 2025-01-27 19:46:54 +00:00
vivzbansal
242dec3e34 Updated some unit tests and resolved some review comments 2025-01-27 19:46:54 +00:00
vivzbansal
5ed5732fa2 Refactored status manager code of updatePodFromAllocation 2025-01-27 19:46:54 +00:00
vivzbansal
8fa8277908 Added some unit tests 2025-01-27 19:46:54 +00:00
vivzbansal
2ba61325f6 Fix e2e test error due to ContainersToUpdate map not created 2025-01-27 19:46:54 +00:00
Anish Shah
9a5c57817a test: pod-resize tests for sidecar containers 2025-01-27 19:46:54 +00:00
vivzbansal
6c5cf68722 Resolved latest review comments 2025-01-27 19:46:33 +00:00
vivzbansal
6cf5b80c64 Fix some unit test error 2025-01-27 19:42:14 +00:00
vivzbansal
1cf4587277 Fix build error 2025-01-27 19:42:14 +00:00
vivzbansal
1eb966cb45 Added unit test for sidecar containers in TestValidatePodResize 2025-01-27 19:42:13 +00:00
vivzbansal
a0d3cb0a2c Added proper validation msg when non-sidecar containers are resized 2025-01-27 19:42:13 +00:00
vivzbansal
591b0f547a Fix issue of pod spec mismatch if there is any non-restarble init container present 2025-01-27 19:42:13 +00:00
vivzbansal
5d5e903e27 Revert e2e tests added for sidecar 2025-01-27 19:42:13 +00:00
vivzbansal
3885d2f8ab Added sidecar support in ValidatePodResize and dropNonResizeUpdates 2025-01-27 19:42:13 +00:00
vivzbansal
cdddaed841 Added sidecar support in and 2025-01-27 19:42:13 +00:00
vivzbansal
34ddb91f18 Fix some unit tests error 2025-01-27 19:42:13 +00:00
vivzbansal
0e392f9017 Disable e2e test for now 2025-01-27 19:42:13 +00:00
vivzbansal
d1fac494f4 resolve merge conflicts 2025-01-27 19:42:13 +00:00
Kubernetes Prow Robot
e07aeb7c8b
Merge pull request #129330 from pohly/log-client-go-transport
client-go/transport: structured, contextual logging
2025-01-27 09:01:23 -08:00
Kubernetes Prow Robot
3f26d00557
Merge pull request #129751 from pacoxu/EfficientWatchResumption
remove GAed EfficientWatchResumption
2025-01-27 04:51:22 -08:00
Patrick Ohly
a85f489b28 client-go/transport: structured, contextual logging
The revised logging emits one log entry at the start of
round-tripping ("Request") and another at the end ("Response"). This avoids the
risk that related output gets interleaved by other output.

No API changes are necessary. A contextual logger is picked up from the context
of the request that is being handled. The verbosity level of that logger is
checked to determine what is supposed to be logged. This enables reducing log
details on a by-request basis by storing a `logger.V(1)` in the context of the
request.

As before, logging only gets injected into request processing at -v6 or higher,
so normally there is no additional overhead.
2025-01-27 09:45:04 +01:00
Kubernetes Prow Robot
7140b4910c
Merge pull request #129781 from dom4ha/kubernetes-contrib
Add dom4ha to SIG Scheduling reviewers
2025-01-26 08:03:21 -08:00
Kubernetes Prow Robot
d36322f8d7
Merge pull request #129815 from dims/linter-to-ensure-go-cmp/cmp-is-used-only-in-tests
Linter to ensure go-cmp/cmp is used ONLY in tests
2025-01-25 15:53:21 -08:00
Kubernetes Prow Robot
03bf94bac0
Merge pull request #129808 from soltysh/port-forward_timeout
e2e: bump port-forward timeout
2025-01-25 09:15:22 -08:00
Kubernetes Prow Robot
1ee2d3ca71
Merge pull request #129798 from aojea/ipv6_alloc_dual_write
cluster ip allocator should check first on the legacy allocators
2025-01-24 20:27:21 -08:00
Davanum Srinivas
4e05bc20db
Linter to ensure go-cmp/cmp is used ONLY in tests
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-01-24 20:49:14 -05:00
Kubernetes Prow Robot
536abd9c7f
Merge pull request #129801 from DamianSawicki/bumpKubeDNS-1-25-0
Bump kubedns and nodelocaldns to 1.25.0
2025-01-24 15:41:21 -08:00
Kubernetes Prow Robot
c5c19a6487
Merge pull request #129723 from carlory/NFSPersistentVolumes
remove unrunnable tests from NFSPersistentVolumes
2025-01-24 09:35:28 -08:00
Kubernetes Prow Robot
2056dbca18
Merge pull request #129697 from saza-ku/remove-pvc-not-found
chore: remove duplicated test case of `pvc not found`
2025-01-24 09:35:21 -08:00
Maciej Szulik
28896d2f90
e2e: bump port-forward timeout
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-01-24 18:31:53 +01:00
Kubernetes Prow Robot
659c437b26
Merge pull request #129703 from carlory/InTreePluginPortworxUnregister
add a comment to InTreePluginPortworxUnregister
2025-01-24 08:15:33 -08:00
Kubernetes Prow Robot
f2fe33399f
Merge pull request #129700 from carlory/Update-in-tree-gcePdDriver-tests
Update in-tree gcePersistentDisk tests
2025-01-24 08:15:21 -08:00
Antonio Ojea
d3e8572d70 cluster ip allocator should check first on the legacy allocators
Kubernetes clusters allow to define an IPv6 range of /108 for IPv6
despite the old allocators will only use the first /112 of that range.

The new allocators does not have this limitation, so they can allocate
IPs on the whole space, the problem happens on upgrades from clusters
that were already using this size, since the new allocators by default
will try to allocate addresses that works for both new and old allocatos
to allow safe upgrades.

The new allocators, when configured to keep compatibility with the old
allocators, must try first to allocate an IP that is compatible with the
old allocators and only fall back to the new behavior if it is not
possible.
2025-01-24 15:48:52 +00:00
Kubernetes Prow Robot
2d32348f86
Merge pull request #129793 from googs1025/chore/log_improve
chore(scheduler): improve log output for podtopologyspread filter plugin
2025-01-24 04:41:21 -08:00
googs1025
27ec5de863 chore(scheduler): improve log output for podtopologyspread filter plugin 2025-01-24 19:29:23 +08:00
Damian Sawicki
156b9fbadc Bump kubedns and nodelocaldns to 1.25.0
Signed-off-by: Damian Sawicki <dsawicki@google.com>
2025-01-24 11:13:42 +00:00
Kubernetes Prow Robot
f6f06806cc
Merge pull request #129784 from soltysh/refactor_explain
Refactors explain command to split flags from options
2025-01-23 22:47:21 -08:00
Kubernetes Prow Robot
5aeea45357
Merge pull request #128546 from atiratree/pod-replacement-policy-terminating-pods
add PodReplacementPolicy for Deployments: terminating pods
2025-01-23 17:07:21 -08:00
Kubernetes Prow Robot
9635a253da
Merge pull request #129749 from pohly/dra-cel-cost-estimate-during-validation
DRA:  CEL cost estimate during validation
2025-01-23 15:53:27 -08:00
Kubernetes Prow Robot
2deb8af139
Merge pull request #129670 from cslink/fix-ephemeral-container-secrets
Fix ephemeral container secret references
2025-01-23 15:53:20 -08:00
Kubernetes Prow Robot
bb9e393fc3
Merge pull request #129110 from soltysh/deployment_patch_status
test: deployment patch status test should  check the modified fields
2025-01-23 14:15:27 -08:00
Kubernetes Prow Robot
28ad751946
Merge pull request #128727 from Tal-or/memorymanager_cleanup
memmanager:cleanup: drop `Experimental` prefix
2025-01-23 14:15:20 -08:00
Filip Křepinský
e263b878ee Deployment controller should count terminating pods in the status 2025-01-23 22:37:05 +01:00
Filip Křepinský
dc1914c61c ReplicaSet controller should count terminating pods in the status 2025-01-23 22:26:34 +01:00
Filip Křepinský
28437797b5 update generated files and feature gates 2025-01-23 22:26:34 +01:00
Filip Křepinský
14783b8a9b add validation, field disablement and tests 2025-01-23 22:26:34 +01:00