Commit Graph

125829 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
a6ea7b8218
Merge pull request #122923 from tkashem/timeout-documenting-test
document behavior of per handler read/write timeout with test(s)
2024-10-10 09:48:23 +01:00
Francesco Romani
838f911dea cpumanager: smtalign: fix error message
Fix error message if availablePhysicalCPUs = 0.
Without this change, the logic was mistakenly emitting
the old error message, which is confusing for troubleshooting.

Plus, a tiny quality of life improvement:
cpumanager static policy wants to use `cpuGroupSize` multiple times.
The value represents how many VCPUs per PCPUs the machine has.
So, let's cache (and log!) the value in the policy data.
We don't support dynamic update of the HW topology anyway.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2024-10-10 10:18:44 +02:00
AxeZhan
b1f07bb36c add tests for scheduler 2024-10-10 15:53:19 +08:00
AxeZhan
6fbc3a618f using NonMissingContainerRequests 2024-10-10 15:53:07 +08:00
Kubernetes Prow Robot
1f9d2577da
Merge pull request #127869 from ak20102763/explain_o_shorthand
Added shorthand for kubectl explain --output
2024-10-10 08:08:25 +01:00
Kubernetes Prow Robot
fe218437e0
Merge pull request #127974 from jpbetz/mvp-test-cleanup
peerproxy flake: Use t.Cleanup instead of defer to shut down servers
2024-10-10 03:54:22 +01:00
Kubernetes Prow Robot
582dcc2aca
Merge pull request #127221 from toVersus/test/restartable-init-termination
[Sidecar Containers] Expand test coverage for Node E2E tests on pod termination behavior
2024-10-10 02:48:23 +01:00
Tsubasa Nagasawa
82b690ddf6 Add more Node E2E tests to cover pod termination for Sidecar Containers
* A pod with restartable init container that exits with
  a non-zero code is marked as a pod succeeded phase
* A pod with restartable init containers that exits with
  a non-zero code by prestop hook is marked as a pod succeeded phase
* A pod with regular container that exceeds its termination grace period
  seconds is marked as a pod failed phase
* A pod with restartable init containers that exceeds its termination
  grace period seconds is marked as a pod succeeded phase
* A pod with a regular container that exceeded its termination grace
  period seconds by PreStop hook is marked as a pod failed phase
* A pod with restartable init containers that exceeds its termination
  grace period seconds by PreStop hook is marked as a pod succeeded phase

Signed-off-by: Tsubasa Nagasawa <toversus2357@gmail.com>
2024-10-10 09:43:41 +09:00
Kubernetes Prow Robot
74cfa2fd04
Merge pull request #127825 from macsko/add_pod_update_event_handling_scheduler_perf_test_case
Add scheduler_perf test case for pod update events handling
2024-10-10 01:38:23 +01:00
Tsubasa Nagasawa
bd00f83578 Add step to existing pod termination Node E2E tests to check the container’s exit code
Signed-off-by: Tsubasa Nagasawa <toversus2357@gmail.com>
2024-10-10 09:17:43 +09:00
Joe Betz
875d163ce6 Use t.Cleanup instead of defer to shut down servers 2024-10-09 20:16:01 -04:00
utam0k
60c29c380d
Add integration test for VolumeRestriction in requeueing scenarios
Signed-off-by: utam0k <k0ma@utam0k.jp>
2024-10-10 08:31:29 +09:00
Kubernetes Prow Robot
cc67c4cf34
Merge pull request #127970 from aaron-prindle/set-add-feature-kube-apiserver-test-framework
test: enable featureGate AddMetrics on kube-apiserver testserver
2024-10-10 00:28:29 +01:00
Kubernetes Prow Robot
e7bc45269d
Merge pull request #127965 from koba1t/dependencies/update_kustomize_v5.5.0
Update kubectl kustomize to v5.5.0
2024-10-10 00:28:23 +01:00
Kubernetes Prow Robot
78d6490412
Merge pull request #127302 from cici37/costFG
Promote cost related feature gate to default true
2024-10-09 23:02:23 +01:00
Kubernetes Prow Robot
dd87bc0646
Merge pull request #127901 from skitt/k8s-sigs-yaml
Use sigs.k8s.io/yaml instead of gopkg.in/yaml
2024-10-09 19:38:29 +01:00
Kubernetes Prow Robot
364c73d5a9
Merge pull request #127637 from dshebib/e2eNode_containersLifecycleFormatting
[e2e_node] containers_lifecycle organize tests
2024-10-09 19:38:22 +01:00
Akash
923a41370d Added shorthand for explain --output
Removed short flag example
2024-10-10 00:00:25 +05:30
koba1t
e7daa70852 Update kubectl kustomize to kyaml/v0.18.1, cmd/config/v0.15.0, api/v0.18.0, kustomize/v5.5.0 2024-10-09 23:45:32 +09:00
Kubernetes Prow Robot
d9c46d8ecb
Merge pull request #127909 from richabanker/mvp-cleanup
Reduce IdentityLeaseRenewIntervalPeriod in peer_proxy test
2024-10-09 13:28:23 +01:00
Kubernetes Prow Robot
c9ff60dc68
Merge pull request #127607 from sanposhiho/metric-queuetest
chore: ensure the scheduler handles events before checking the pod position
2024-10-09 12:24:24 +01:00
Kensei Nakada
6624541893 cleanup: remove isUnschedPodUpdateIncluded variable 2024-10-09 18:52:11 +09:00
Kubernetes Prow Robot
f7fef0384e
Merge pull request #127944 from antoninbas/use-generics-for-delaying-queue-waitFor
Use generics for waitFor (delaying workqueue) in client-go
2024-10-09 09:42:23 +01:00
Maciej Skoczeń
98e4892b84 Add scheduler_perf test case for pod update events handling 2024-10-09 08:35:25 +00:00
Kubernetes Prow Robot
c5aa403a98
Merge pull request #127945 from jpbetz/fix-peerproxy
peerproxy flake: Cancel informers for shutdown server in peerproxy test
2024-10-09 08:36:29 +01:00
Kubernetes Prow Robot
a1df68a31f
Merge pull request #125118 from jsoref/from-to
Order ScalingReplicaSet message from->to
2024-10-09 08:36:22 +01:00
Kubernetes Prow Robot
c270e56252
Merge pull request #126932 from zhifei92/kubectl-describe-ep
Fix the bug where "kubectl describe svc' endpoints"behaves unexpectedly.
2024-10-09 06:46:21 +01:00
Kensei Nakada
4f853fceb9 fix: eliminate a possible double-record of UnscheduledPodUpdate event handling latency 2024-10-09 12:52:09 +09:00
Aaron Prindle
4e2562e0bb test: enable featureGate AddMetrics on kube-apiserver testserver 2024-10-09 03:14:15 +00:00
Joe Betz
3570feb2fc Cancel informers for shutdown server in peerproxy test 2024-10-08 21:49:09 -04:00
Kubernetes Prow Robot
36122d5a9b
Merge pull request #125103 from hjet/kuberuntime-testcov
[FG:InPlacePodVerticalScaling] Expand coverage for TestGenerateLinuxContainerResources
2024-10-09 01:58:22 +01:00
Richa Banker
fe97e41f29 add more logging for peer_proxy_test, also tweak IdentityLeaseGCPeriod and IdentityLeaseRenewIntervalPeriod 2024-10-08 17:18:27 -07:00
Richa Banker
6e66a35982 reset err in resolveServingLocation() when the req can be served by local apiserver 2024-10-08 17:18:20 -07:00
Kubernetes Prow Robot
95ec69c16c
Merge pull request #127663 from alexanderstephan/export-reflector
Export name and typeDescription members of reflector struct
2024-10-09 00:16:22 +01:00
Antonin Bas
53ddffb557 Use generics for waitFor (delaying workqueue) in client-go
With this change, we can typically avoid an extra heap allocation when
calling AddAfter with a positive duration (which causes the creation of
a waitFor object). This is because workqueues are typically used with
string keys, and casting a string (or more generally, non-pointer types)
to an `interface{}` will cause an heap escape / allocation.

Ater this change, there is no longer any usage of `type t interface{}`,
which was creating some confusion after the switch to generics in the
workqueue package.

Co-authored-by: Quan Tian <quan.tian@broadcom.com>
Signed-off-by: Antonin Bas <antonin.bas@broadcom.com>
2024-10-08 15:26:57 -07:00
Alexander Stephan
154b8aa880 Export name and typeDescription members of reflector struct 2024-10-08 22:11:15 +00:00
Kubernetes Prow Robot
f37ab27d9a
Merge pull request #127936 from riaankleinhans/remove-tested-pending-eligible-endpoints
Remove tested pending eligible endpoints
2024-10-08 22:58:29 +01:00
Kubernetes Prow Robot
d598a3ec0f
Merge pull request #126326 from manishym/group_snapshot_e2e
Add end-to-end tests for Volume Group Snapshot
2024-10-08 22:58:22 +01:00
Kubernetes Prow Robot
41440c8117
Merge pull request #127389 from macsko/pod_delete_event_handling_scheduler_perf_test_case
Add scheduler_perf test case for AssignedPodDelete event handling
2024-10-08 21:52:28 +01:00
Kubernetes Prow Robot
cd6a959cb4
Merge pull request #126927 from AnishShah/eviction-test
Deflake containerd DiskPressure eviction e2e tests
2024-10-08 21:52:22 +01:00
Kubernetes Prow Robot
9cf4f91245
Merge pull request #127908 from ii/promote-csinode-lifecycle-test
Promote CSINode e2e test to Conformance
2024-10-08 20:20:21 +01:00
riaan kleinhans
e4cce59247
remove tested pending eligible endpoints
Signed-off-by: riaan kleinhans <riaankleinhans@gmail.com>
2024-10-08 14:18:23 -04:00
Kubernetes Prow Robot
aa09157014
Merge pull request #127838 from benluddy/unstructured-nested-number-as-float64
Add NestedNumberAsFloat64 unstructured field accessor.
2024-10-08 18:12:21 +01:00
Cici Huang
baeeb66613 Update tests 2024-10-08 17:02:07 +00:00
Cici Huang
4c64aa7a4e Promote cost enforcement feature gates to GA 2024-10-08 17:02:07 +00:00
Aohan Yang
b47e80a319 Promote LoadBalancerIPMode to GA 2024-10-08 23:00:57 +08:00
Abu Kashem
bc0ea34bc3
refactor: add delete options for Delete method in storage interface 2024-10-08 10:45:15 -04:00
Josh Soref
502c05ed01 chore: Order ScalingReplicaSet message from->to
* change format of event
* include `from 0` for new replicas
* update describe tests to reflect current output

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2024-10-08 09:59:29 -04:00
Kubernetes Prow Robot
e386aa0ac4
Merge pull request #127893 from aokumasan/fix-incorrect-test-case-name
Fix incorrect test case name
2024-10-08 14:42:22 +01:00
Sascha Grunert
ce9351c824
CRI: clarify mount host_path docs
Mention that the `host_path` can be empty if image volumes are being
used.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-10-08 14:05:00 +02:00