Commit Graph

127884 Commits

Author SHA1 Message Date
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
Sascha Grunert
da999fbc1b
Update CNI plugins to v1.6.2 and avoid using k8s-artifacts-cni bucket
Updating the CNI plugins to the latest release and switch over to use
GitHub releases instead of the `k8s-artifacts-cni` bucket.

Follow-up on https://github.com/kubernetes/kubernetes/pull/129095

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-01-23 10:50:58 +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
Paco Xu
69964319d1 remove GAed EfficientWatchResumption since v1.24 2025-01-22 16:51:37 +08: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
Madhav Bhargava
a78983906f
Adding support for providing version for functions in kube_codegen.sh (#129658)
* adding support for providing version for functions in kube_codegen.sh

* addressed review comments

* addressed review comments
2025-01-22 00:04:36 -08:00
Patrick Ohly
b7386467c8 client-go rest: store logger in Result
Storing a context and making sure that it never gets canceled also has
overhead. We might as well just do the klog.FromContext when constructing
the Result and store the logger for later use.
2025-01-22 07:58:18 +01:00
Patrick Ohly
7821abf2ae client-go/rest: finish conversion to contextual logging
The remaining calls can be converted without API changes.
2025-01-22 07:58:18 +01:00
Patrick Ohly
b15a1943d5 client-go/rest: backoff with context support
The BackoffManager interface sleeps without considering the caller's context,
i.e. cancellation is not supported. This alone is reason enough to deprecate it
and to replace it with an interface that supports a context parameter.

The other reason is that contextual logging needs that parameter.
2025-01-22 07:58:18 +01:00
Patrick Ohly
48fb886325 client-go/test: warning handler with contextual logging
The default handler now uses contextual logging. Instead of

     warnings.go:106] warning 1

it now logs the caller of client-go and uses structured, contextual
logging

     main.go:100] "Warning" message="warning 1"

Users of client-go have the choice whether the handler that they provide uses
the traditional API (no API break!) or contextual logging.
2025-01-22 07:58:18 +01:00
Huang Huang
9998a032b1
kubeadm: fix a wrong log message 2025-01-22 13:37:49 +08:00
Kubernetes Prow Robot
25be4a4bd4
Merge pull request #129720 from alculquicondor/patch-7
Nominate macsko to SIG Scheduling approvers
2025-01-21 19:00:36 -08:00
Kubernetes Prow Robot
0f81ade306
Merge pull request #129739 from tallclair/kubelet-server-cleanup
Kubelet server handler cleanup
2025-01-21 17:46:37 -08:00
Tim Allclair
bda81f1b68 Kubelet server handler cleanup 2025-01-21 16:31:52 -08:00
Kubernetes Prow Robot
a271299643
Merge pull request #129717 from esotsal/fix-128837
testing: Fix pod delete timeout failures after InPlacePodVerticalScaling Graduate to Beta commit
2025-01-21 15:50:47 -08:00
Kubernetes Prow Robot
0d988d7209
Merge pull request #129619 from ffromani/sig-node-approvers-ffromani
Self-nominating ffromani as approver for sig-node container and resource managers
2025-01-21 15:50:36 -08:00
Kubernetes Prow Robot
3d2ee2fbb7
Merge pull request #129609 from carlory/cleanup-exec-utils
Move some exec helper functions from framework/volume to framework/pod
2025-01-21 09:00:37 -08:00
carlory
c68fc01b77 return an error instead of recording a test failure
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-01-21 23:43:48 +08:00
Davanum Srinivas
c9e81cd84c
Switch to gopkg.in/go-jose/go-jose.v2 @ v2.6.3
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-01-21 09:21:27 -05:00
Kubernetes Prow Robot
a716ea756d
Merge pull request #129635 from macsko/cache_calculateresource_result_when_adding_pod_to_nodeinfo
Use cached calculateResource result when removing pod from NodeInfo in preemption
2025-01-21 04:16:37 -08:00
Maciej Skoczeń
0452ae402a Use cached calculateResource result when removing pod from NodeInfo in preemption 2025-01-21 10:02:57 +00:00
Kubernetes Prow Robot
eed4930b31
Merge pull request #128896 from danwinship/e2e-endpoints
Remove all references to v1.Endpoints from non-network e2e tests
2025-01-21 00:08:38 -08:00
Sotiris Salloumis
c5fc4193bb Fix pod delete issues in podresize tests 2025-01-21 07:25:14 +01:00
carlory
7712d34b9e remove unrunnable tests from NFSPersistentVolumes 2025-01-21 14:07:54 +08:00
Dan Winship
969ecabc0f Remove all references to v1.Endpoints from non-network e2e tests
kube-proxy does not look at Endpoints ever, so it is incorrect for a
test to assume that there is any correlation between whether Endpoints
exist and whether a Service is working. Tests should only be using the
v1.Endpoints API if they are explicitly testing the behavior of
v1.Endpoints, the Endpoints controller, or the EndpointSlice mirroring
controller. There is no reason for any non SIG Network tests to be
testing any of those things, so there should be no references to
v1.Endpoints in test/e2e outside of test/e2e/network.

Also, simplify some pointlessly complicated e2eservice code.
2025-01-20 17:04:46 -05:00
Dan Winship
da5bf27bc5 Remove no-longer-used TestUnderTemporaryNetworkFailure()
This was previously used by some autoscaling tests that have since
been removed. It is somewhat sketchy (and inherently [Disruptive]),
and depends on iptables (so would need to be updated to use nftables
at some point if we were keeping it). Given that it's now unused, just
remove it (as well as some helper functions that are no longer used by
anyone else as well).
2025-01-20 17:04:32 -05:00
Kevin Hannon
bae4122f56 deprecate nodefeature for feature labels 2025-01-20 17:02:59 -05:00
Aldo Culquicondor
7266759b67
Nominate macsko to SIG Scheduling approvers 2025-01-20 14:16:00 -05:00
David Eads
238c32a1d9 Remove cache.ErrRequeue
cache.ErrRequeue advertised itself as a way to requeue failures on a
FIFO, but it suffers the same problems as AddIfNotPresent.  If we do
requeue an item at the end, we'll move the informer back in time.  If we
requeue at the beginning we'll simply wedge FIFO.

We didn't find examples in the wild, but by removing the error type
those impacted will get a compile error and get to decide what action is
most appropriate for their failure.  Most of the time, proceeding to the
next item is best.
2025-01-20 14:01:52 -05:00
David Eads
8e77ac0001 Remove Queue.AddIfNotPresent
Logically a cache.Queue.AddIfNotPresent means that the informer can move
back in time since an older item is placed after newer items.  The
alternative of placing errors at the head of the queue leads to
indefinite memory growth and repeated failures on retry.

Luckily this behavior was behind RetryOnError, which was always set to
false and impossible for normal users to set to true.  By removing the
function and setting, impacted users (none found in a github search)
will get a compile failure.
2025-01-20 13:57:22 -05:00
Kubernetes Prow Robot
e69a5ed9b3
Merge pull request #129200 from carlory/remove-GetDeviceNameFromMount
Remove GetDeviceNameFromMount from HostUtils
2025-01-20 10:00:35 -08:00
Kubernetes Prow Robot
ddfd02d568
Merge pull request #129687 from carlory/cleanup-gke
remove gke
2025-01-20 08:46:43 -08:00
Kubernetes Prow Robot
3305fcccf7
Merge pull request #126777 from carlory/fix-image-plugin
Fix GetVolumeName for image volumeplugin
2025-01-20 08:46:36 -08:00
Kubernetes Prow Robot
3a4c2a0bbb
Merge pull request #129271 from aroradaman/dual_stack_healthz
Dual stack healthz server
2025-01-20 07:32:42 -08:00
Kubernetes Prow Robot
beeb1d2b84
Merge pull request #128850 from toVersus/fix/sidecar-container-named-port
Fix named ports of restartable init containers don't propagate to EndpointSlice
2025-01-20 07:32:35 -08:00
carlory
aaac13fc6a remove gke from e2e 2025-01-20 21:50:46 +08:00
Kubernetes Prow Robot
78ad9a7b97
Merge pull request #129707 from soltysh/expand_portforward_errors
e2e: expand error conditions when test-ing port-forward
2025-01-20 05:36:40 -08:00
Antonio Ojea
09c82fc58a integration etcd storage test 2025-01-20 13:26:49 +00:00