Commit Graph

127844 Commits

Author SHA1 Message Date
googs1025
ed826dddfe fix(dra plugin): when there is no resourceclaim, return directly 2025-01-29 08:47:52 +08:00
Kubernetes Prow Robot
8294abc599
Merge pull request #128998 from bart0sh/PR165-migrate-oom-to-contextual-logging
kubelet: Migrate pkg/kubelet/oom to contextual logging
2025-01-28 13:33:22 -08:00
yongruilin
8a0937c034 feat: add a lint rule to prevent Add unversioned featuregate 2025-01-28 09:37:43 -08:00
Kubernetes Prow Robot
ed9572d9c7
Merge pull request #129858 from soltysh/scale_subresource_test
Add a test ensuring all /scale sub-resources return table
2025-01-28 09:09:24 -08:00
Maciej Szulik
509bbed098
Add a test ensuring all /scale sub-resources return table
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-01-28 16:54:02 +01:00
Kubernetes Prow Robot
48dce2e9b3
Merge pull request #129776 from saschagrunert/cni-plugins-1.6.2
Update CNI plugins to v1.6.2 and avoid using k8s-artifacts-cni bucket
2025-01-28 07:29:26 -08:00
Lubomir I. Ivanov
b04e1b80be kubeadm: use the v1beta4 EtcdAPICall timeout for etcd calls
v1beta4 added the Timeouts struct and a EtcdAPICall timeout
field, but it was never used in the etcd client calls.

This is a bug, so it should be fixed, we also reduced
the timeout from 200 seconds exponentional backoff to 2 minute
linear default timeout.
2025-01-28 17:27:05 +02:00
Maciej Szulik
1fa995224a
Update scale sub-resource to return the same error everywhere
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-01-28 15:42:08 +01:00
Kubernetes Prow Robot
fbdba41742
Merge pull request #129853 from saschagrunert/crictl-github
Use GitHub release for downloading `crictl`
2025-01-28 06:15:24 -08:00
Sascha Grunert
9d893aed0c
Use GitHub release for downloading crictl
Pull the artifacts directly from GitHub instead of the
`k8s-artifacts-cri-tools` bucket.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-01-28 14:00:02 +01:00
Kubernetes Prow Robot
dba9475d5b
Merge pull request #129716 from chrischdi/pr-ControlPlaneKubeletLocalMode-beta
kubeadm: Promote ControlPlaneKubeletLocalMode feature gate to beta
2025-01-28 04:59:23 -08:00
Kubernetes Prow Robot
2bda5dd8c7
Merge pull request #129656 from vinayakankugoyal/kep2862beta
KEP-2862: Graduate to BETA.
2025-01-27 19:05:23 -08:00
Kubernetes Prow Robot
956eb9b0a4
Merge pull request #129843 from saschagrunert/dmesg-cleanup
Cleanup running dmesg process in `local-up-cluster.sh`
2025-01-27 11:55:29 -08:00
Kubernetes Prow Robot
964e5e0f19
Merge pull request #129596 from cici37/cvTest
Add tests for CEL library with compatible version
2025-01-27 11:55:22 -08: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
Sascha Grunert
5742f3deeb
Cleanup running dmesg process in local-up-cluster.sh
We have to cleanup the background job after the script otherwise we will
end up having them hanging around.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-01-27 17:44:24 +01:00
Christian Schlotter
b3e1d57339
kubeadm: Promote ControlPlaneKubeletLocalMode feature gate to beta 2025-01-27 15:41:00 +01:00
Kubernetes Prow Robot
3f26d00557
Merge pull request #129751 from pacoxu/EfficientWatchResumption
remove GAed EfficientWatchResumption
2025-01-27 04:51:22 -08:00
Maciej Skoczeń
bd8dee9637 Improve Goroutines metric calls in parallelizer.Until 2025-01-27 12:01:17 +00: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
Sharath P J
44ca3b3654 Passed context for Wait methods in integration test utils 2025-01-27 09:48:36 +05:30
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
Vinayak Goyal
3a780a1c1b KEP-2862: Graduate to BETA. 2025-01-24 21:36:00 +00: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
Patrick Ohly
013f65b257 DRA: fix test-driver examples
They were still using an obsolete API version.
The driver must publish some devices for allocation
to succeed.
2025-01-24 18:30:36 +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
Sharath P J
627e83c841 Passed context for Wait methods in integration test utils 2025-01-24 19:48:23 +05:30
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