Commit Graph

127752 Commits

Author SHA1 Message Date
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
Filip Křepinský
f7c46df665 api: add terminatingReplicas field to ReplicaSet and Deployment statuses
- update internal ReplicaSet and Deployment type documentation to match with
  versioned API
- made Replicaset and Deployment type documentation more consistent
2025-01-23 22:26:34 +01:00
Tiago Silva
067012f584
client-go: transform watchErrorStream to wrap the underlying error (#129765)
* `client-go`: transform `watchErrorStream` to wrap the underlying error

This PR transforms the `client-go`'s `watchErrorStream` to wrap the error instead of transforming it into a single string. This enables clients to use `errors.Is/As/Unwrap` with the errors that come out of `StreamWithContext`

Fixes https://github.com/kubernetes/kubernetes/issues/129763

* adjust unit tests
2025-01-23 12:07:37 -08:00
Kubernetes Prow Robot
29bf17b6cf
Merge pull request #129168 from kannon92/drop-node-features
[KEP-3041] - remove nodefeatures from k/k repo
2025-01-23 12:07:29 -08:00
Kubernetes Prow Robot
4f979c9db8
Merge pull request #129010 from ffromani/e2e-fix-device-plugin-reboot-test
node: e2e: fix device plugin reboot test
2025-01-23 12:07:22 -08:00
Kubernetes Prow Robot
6b7b8e89ca
Merge pull request #129786 from JoelSpeed/drop-netip-variables
Drop declaration of IP/CDIR type CEL variables
2025-01-23 10:14:59 -08:00
Kubernetes Prow Robot
00fa8f1190
Merge pull request #129773 from aojea/funny_service_cdir
e2e test should no longer guess the service cidr and instead of use the API
2025-01-23 07:16:58 -08:00
Joel Speed
2b24c518b0
Drop declaration of IP/CDIR type CEL variables 2025-01-23 15:15:42 +00:00
Antonio Ojea
0b38e6cd9e e2e network: remove test for funny ips
The test is super hacky and we'll not be needed once the corresponding
KEP is implemented, better to remove it that trying to fix it
perpetuating the hacky solution.
2025-01-23 14:00:20 +00:00
Maciej Szulik
87139335b0
Switch from using a function to just pure map in create token
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-01-23 13:10:06 +01:00
Maciej Szulik
3030b1dc6a
Finish extracting ExplainFlags structure
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-01-23 13:09:19 +01:00
Kubernetes Prow Robot
06331ac573
Merge pull request #129775 from aojea/blame_allocator
Blame allocator
2025-01-23 02:50:57 -08:00
PuneetPunamiya
91afef615a
Refactors explain command to split flags from options
Signed-off-by: Puneet Punamiya ppunamiy@redhat.com
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-01-23 11:08:09 +01:00
Kubernetes Prow Robot
2334b8469e
Merge pull request #128466 from dom4ha/scheduler-perf
feature: Make Unschedulable scheduler performance test parametrized with the number of initial nodes.
2025-01-23 01:30:58 -08:00
Antonio Ojea
fdebfb4485 e2e log info on nodeport allocation failures 2025-01-23 08:24:49 +00:00
dom4ha
f150016fbe feature: Make Unschedulable scheduler performance test parametrized with the number of initial nodes. 2025-01-23 00:48:02 +00:00
Kubernetes Prow Robot
0798325ba1
Merge pull request #129769 from aojea/revert-129701-test-shell-output
Revert "tests: include stdout of failed commands in JUnit"
2025-01-22 15:54:36 -08:00
Antonio Ojea
1065377f97
Revert "tests: include stdout of failed commands in JUnit" 2025-01-22 23:36:50 +01:00
Kubernetes Prow Robot
a444a5bfed
Merge pull request #129732 from dims/switch-to-v2.6.3-of-gopkg.in/go-jose/go-jose.v2
Switch to gopkg.in/go-jose/go-jose.v2 @ v2.6.3 and github.com/coreos/go-oidc @ v2.3.0
2025-01-22 13:40:38 -08:00
Davanum Srinivas
faf30b3067
update github.com/coreos/go-oidc to v2.3.0
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-01-22 15:27:54 -05:00
Kubernetes Prow Robot
45d0fddaf1
Merge pull request #128971 from aojea/servicecidr_ga
KEP-1880 Multiple Service CIDRs: Graduate to GA
2025-01-22 11:12:44 -08:00
Kubernetes Prow Robot
427cd18f72
Merge pull request #127709 from pohly/log-client-go-rest
client-go/rest: finish context support
2025-01-22 11:12:37 -08:00
Kubernetes Prow Robot
42c4ddbe2d
Merge pull request #129701 from pohly/test-shell-output
tests: include stdout of failed commands in JUnit
2025-01-22 07:18:37 -08:00
Kubernetes Prow Robot
71dc1e9e03
Merge pull request #129754 from aojea/test_dual_slices
Fix dual stack tests after moving the e2e test to use Endpoint Slices
2025-01-22 04:48:37 -08:00
Kubernetes Prow Robot
0b14aadfc0
Merge pull request #129746 from mozillazg/patch-2
kubeadm: fix a wrong log message
2025-01-22 03:06:37 -08:00
Antonio Ojea
db3ae754b1 e2e network: adapt dual stack tests for endpoint slices only 2025-01-22 10:20:28 +00:00
Patrick Ohly
d889bd15bd DRA CEL: skip estimating the cost in the scheduler
Compiling a CEL expression used to do the cost estimation, whether the caller
needed the result or not. Now callers can skip it. The scheduler does that,
through the CEL cache.

The main advantage is that failures in the estimator (like panics) are limited
to the apiserver. Performance in the scheduler is not expected to benefit much
because compilation results are cached.
2025-01-22 09:26:29 +01:00