Commit Graph

125271 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
920e9e34b0
Merge pull request #126977 from aaron-prindle/compat-version-132
chore: bump DefaultKubeBinaryVersion to 1.32, make 1.32 CEL changes, fix int tests to handle 1 version off API deprecation, and fix prerelease-lifecycle-gen for # of APIs
2024-09-17 23:50:43 +01:00
Kubernetes Prow Robot
1874039f82
Merge pull request #127388 from p0lyn0mial/upstream-watchlist-meta-client
metadata client: add support for API streaming
2024-09-17 21:54:44 +01:00
Davanum Srinivas
71bdcab2ad
Add some simple tests for nvidia GPU(s)
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-17 16:18:00 -04:00
Tim Hockin
a9189735ac
Rename DNS tests and restructure
Get rid if "wheezy" (it's not wheezy) and set it up to process an
arbitrary list of probers, but stop short of adding more.
2024-09-17 12:39:53 -07:00
Aaron Prindle
701e6c7ab1 chore: bump DefaultKubeBinaryVersion to 1.32, make 1.32 CEL changes, fix int tests to handle 1 version off API deprecation, and fix prerelease-lifecycle-gen for # of APIs 2024-09-17 19:32:14 +00:00
Kubernetes Prow Robot
f153edf356
Merge pull request #123443 from Tal-or/mm_consistent_memory_numa_alloc
memorymanager: avoid violating NUMA node memory allocation rule
2024-09-17 20:10:43 +01:00
Tim Hockin
595dc5155b
Make accurate Quantity->float64 be a new method
This leaves the old method alone, since the performance difference is so
stark.

```
$ go test ./staging/src/k8s.io/apimachinery/pkg/api/resource/ -bench=Float64
goos: linux
goarch: amd64
pkg: k8s.io/apimachinery/pkg/api/resource
cpu: Intel(R) Xeon(R) W-2135 CPU @ 3.70GHz
BenchmarkQuantityAsApproximateFloat64-6   	95865672	        11.44 ns/op
BenchmarkQuantityAsFloat64Slow-6          	 2800825	       430.2 ns/op
PASS
ok  	k8s.io/apimachinery/pkg/api/resource	2.786s
```
2024-09-17 12:01:03 -07:00
Kubernetes Prow Robot
dd820a13a2
Merge pull request #127421 from liggitt/kubelet-merge
Merge kubelet configuration files using versioned serialized data
2024-09-17 19:04:17 +01:00
Tim Hockin
094a11b5cb
Revert "Clean up DNS e2e wrt Jessie/Wheezy"
This reverts commit eeb36da2b97e87b3534c7bece9355cefc6f16472.
2024-09-17 10:12:54 -07:00
Tim Hockin
b228aebaf2
Clean up DNS e2e wrt Jessie/Wheezy 2024-09-17 10:12:53 -07:00
Mangirdas Judeikis
4e4eb8c5c9 wire in ctx to rbac plugins 2024-09-17 20:04:02 +03:00
Michał Woźniak
d6e5fb4a75
Make Job PodFailurePolicy e2e tests resilient to random failures to prepare them for conformance (#126169)
* Make JobPodFailurePolicy tests for ignore resilient to random failures

* Increase parallelism and evict in parallel

* Code review fixes to the job e2e tests
2024-09-17 18:00:19 +01:00
Jordan Liggitt
3153a73653
Merge kubelet configuration files using versioned serialized data 2024-09-17 11:59:09 -04:00
Kubernetes Prow Robot
bfd91fbb3e
Merge pull request #125222 from danwinship/kind-loadbalancers-4
Fix "updates to ExternalTrafficPolicy" test
2024-09-17 14:05:14 +01:00
Kubernetes Prow Robot
a425794a40
Merge pull request #127412 from aojea/remove_example
remove obsolete test ClusterDns [Feature:Example] [Feature:Networking…
2024-09-17 13:01:14 +01:00
Yang Yang
dba4e42a39 bugfix: endpoints controller track resource version conrrectly
The endpoints controller store the resource version of the previous
Endpoints objects to avoid issues related to stale information on the
cache.

However, there can be update operations that succeed without increasing
the resource version, causing the endpoints controller to declare stale
the existing Resource Version and stopping the Endpoints to be updated.

Co-Author-By: Quan Tian <quan.tian@broadcom.com>
Co-Author-By: Yang Yang <yyyng@amazon.com>
2024-09-17 11:01:35 +00:00
Antonio Ojea
79ef4668cd remove obsolete test ClusterDns [Feature:Example] [Feature:Networking-IPv4] should create pod that uses DNS 2024-09-17 09:11:11 +00:00
Kubernetes Prow Robot
3baaac6286
Merge pull request #127400 from sttts/sttts-webhook-cel-compiler
apiserver/admission/webhook: construct static CEL compiler only once
2024-09-17 09:19:15 +01:00
Dr. Stefan Schimanski
26aeda3cc2
apiserver/admission/webhook: construct static CEL compiler only once
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-09-17 09:17:44 +02:00
Kubernetes Prow Robot
984467623d
Merge pull request #127409 from sanposhiho/cleanup-resourcefit
chore(noderesourcefit): correct tests and clean up comments
2024-09-17 07:49:15 +01:00
Kensei Nakada
4a81a85449 chore(noderesourcefit): correct tests and clean up comments 2024-09-17 13:28:27 +09:00
Kubernetes Prow Robot
048c8536d6
Merge pull request #127382 from bart0sh/PR158-dra-fix-golangci-lint-findings
Kubelet: DRA: fix golangci-lint findings
2024-09-17 04:59:14 +01:00
Kubernetes Prow Robot
9134c17b26
Merge pull request #127220 from sanposhiho/switch-events
feat: remove node general update event from EventsToRegister when QHint is enabled
2024-09-17 02:49:14 +01:00
Kubernetes Prow Robot
b4140391cf
Merge pull request #127395 from macsko/fix_scheduler_perf_log_when_deleting_pod_failed
Fix opIndex in log when deleting pod failed in scheduler_perf
2024-09-17 00:35:14 +01:00
Dan Winship
a6b08a8ea4 Refactor "updates to ExternalTrafficPolicy" test
The LoadBalancer test "should handle updates to ExternalTrafficPolicy
field" had a bunch of problems, but the biggest is that (without doing
[Disruptive] things to the cluster or making unwarranted assumptions
about source IPs) it's very hard to *prove* that the cloud load
balancer is doing Cluster traffic policy semantics (distributing
connections to all nodes) rather than Local (distributing only to
nodes with endpoints).

So split the test into 2 new tests with more focused semantics:

  - "should implement NodePort and HealthCheckNodePort correctly when
    ExternalTrafficPolicy changes" (in service.go) tests that the
    service proxy is correctly implementing the proxy side of
    Cluster-vs-Local traffic policy for LoadBalancer Services, without
    testing the cloud load balancer itself at all.

  - "should target all nodes with endpoints" (in loadbalancer.go)
    complements the existing "should only target nodes with
    endpoints", to ensure that when a service has
    `externalTrafficPolicy: Local`, and there are endpoints on
    multiple nodes, that the cloud is correctly configured to target
    all of those endpoints, not just one.
2024-09-16 18:17:09 -04:00
Kubernetes Prow Robot
7448e676aa
Merge pull request #127279 from serathius/etcd-v3.5.16
Upgrade etcd client to v3.5.16
2024-09-16 21:53:21 +01:00
Kubernetes Prow Robot
529b019368
Merge pull request #126843 from oxxenix/migrate-pleg-to-contextual-logging
Migrate PLEG to contextual logging
2024-09-16 21:53:14 +01:00
Kubernetes Prow Robot
3ab0c84bac
Merge pull request #126978 from huww98/e2e-storage-multi-name
e2e/storage: get driver name from storage class
2024-09-16 18:23:14 +01:00
Maciej Skoczeń
2d4d7e0b5f Fix opIndex in log when deleting pod failed in scheduler_perf 2024-09-16 13:48:24 +00:00
Lukasz Szaszkiewicz
0f933a0b14 test/apimachinery/watchlist: add scenario for metadata client's List method 2024-09-16 15:03:59 +02:00
Lukasz Szaszkiewicz
6d258660fd e2e/apimachinery/watchlist: slighty refactor unstructured tests 2024-09-16 15:03:59 +02:00
Lukasz Szaszkiewicz
0912e400cd client-go/metadata: use watchlist 2024-09-16 15:03:53 +02:00
Lukasz Szaszkiewicz
3a0aa1093f client-go/metadata: add watchlist method 2024-09-16 11:57:52 +02:00
Lukasz Szaszkiewicz
1994540ffc client-go/metadata: refactor List method 2024-09-16 11:51:26 +02:00
Ed Bartosh
bba786496b Kubelet: DRA: fix golangci-lint findings 2024-09-16 12:35:12 +03:00
Kubernetes Prow Robot
856475e5ff
Merge pull request #127377 from kannon92/revert-124445-e2e/kubelet-restart
Revert "add e2e test for restart kubelet"
2024-09-15 23:15:15 +01:00
Kevin Hannon
67402fe110
Revert "add e2e test for restart kubelet" 2024-09-15 15:47:02 -04:00
Kubernetes Prow Robot
af2bf2d8f1
Merge pull request #127364 from aojea/e2e_tag_networks
Fix e2e tests tags
2024-09-15 16:23:13 +01:00
Kubernetes Prow Robot
e86f5c035e
Merge pull request #127372 from aojea/example_dns_ipv6
Tag sig-network e2e test correctly
2024-09-15 12:43:12 +01:00
Antonio Ojea
9a207bbadc tag kube-proxy migration as serial and disruptive 2024-09-15 07:28:52 +00:00
Antonio Ojea
b98a3fef37 e2e test ClusterDns [Example] does not support IPv6 2024-09-15 07:27:50 +00:00
Lucy Sweet
75ba5a9651
Improve precision of Quantity.AsApproximateFloat64
This improves the precision of Quantity.AsApproximateFloat64, by way of example:

decQuantity(7*1024*1024, -1, BinarySI)
Before: 734003.2000000001,
After: 734003.2

Co-Authored-By: Bo Sunesen <7479047+bosunesen@users.noreply.github.com>
2024-09-14 15:07:54 -07:00
Antonio Ojea
8cb7c54ce7 e2e VolumeSubpathEnvExpansion should not be tagged as slow
The test [sig-node] Variable Expansion should succeed in writing subpaths in container
takes 1m5s so it should no be tagged as slow"
2024-09-14 19:09:16 +00:00
Antonio Ojea
22d79b998a remove e2e slow tag for VolumeSubpathEnvExpansion
Kubernetes e2e suite: [It] [sig-node] Variable Expansion should fail
substituting values in a volume subpath with absolute path [Slow]
[Conformance] test takes 37 seconds to run
2024-09-14 19:06:25 +00:00
Antonio Ojea
32099f69f6 remove slow tag on e2e test
The test Variable Expansion should fail substituting values in a volume subpath with backticks
takes 12 seconds, it should not be tagged as slow
2024-09-14 19:01:09 +00:00
Antonio Ojea
e977f601b3 tag kube-proxy migration as serial and disruptive 2024-09-14 18:20:51 +00:00
Kubernetes Prow Robot
99891ef08d
Merge pull request #124901 from zhifei92/normalize-ephemeral-container-status
normalize ephemeral container statuses
2024-09-14 18:21:12 +01:00
Kubernetes Prow Robot
36de77c4e0
Merge pull request #125142 from TommyStarK/unit-tests/kubelet-util-manager
kubelet/util/manager: small cleanup and start replacing deprecated functions wait.Poll/wait.PollImmediate
2024-09-14 17:13:13 +01:00
TommyStarK
2ed556ae00
kubelet/util/manager: small cleanup and start replacing deprecated functions wait.Poll/wait.PollImmediate
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2024-09-14 11:07:16 +02:00
zhifei92
86e0ed1892 add unit test 2024-09-14 17:06:07 +08:00