Justyna Betkier
a484bb94c2
Fix linter issues
2024-04-25 13:34:30 +02:00
Justyna Betkier
8ba3327de7
Append both env variables instead of fetching twice and overriding them.
...
Previously the second line would fetch the clean environment variables
and drop the changes from the first line.
2024-04-25 13:34:30 +02:00
Kubernetes Prow Robot
8a9031f9c9
Merge pull request #124521 from pohly/apidiff
...
hack/apidiff.sh: handle lack of origin
2024-04-25 03:52:44 -07:00
Patrick Ohly
50c1243760
cloud providers: enhance context support
...
27a68aee3a
introduced context support for events. Creating an event
broadcaster with context makes tests more resilient against leaking goroutines
when that context gets canceled at the end of a test and enables per-test
output via ktesting.
While at it, all context.TODO calls get removed in files that were touched.
2024-04-25 11:57:16 +02:00
Patrick Ohly
7f54c5dfec
scheduler: remove AssumeCache interface
...
There's no reason for having the interface because there is only one
implementation. Makes the implementation of the test functions a bit
simpler (no casting). They are still stand-alone functions instead of methods
because they should not be considered part of the "normal" API.
2024-04-25 11:46:58 +02:00
Patrick Ohly
26e0409c36
scheduler: move assume cache to utils, part 2
...
This is now used by both the volumebinding and dynamicresources plugin, so
promoting it to a common helper package is better.
In terms of functionality, nothing was changed. Documentation got
updated (warns about storing locally modified objects, clarifies what the Get
parameters are). Code coverage should be a bit better than before (tested with
and without indexer, exercises event handlers, more error paths).
Checking for specific errors can now be done via errors.Is.
2024-04-25 11:45:43 +02:00
Patrick Ohly
910b90fca3
scheduler: move assume cache to utils, part 1
...
This is a verbatim move resp. copy of the files. They don't build in their new
location yet.
2024-04-25 10:49:41 +02:00
Patrick Ohly
679195d8cc
hack/apidiff.sh: handle lack of origin
...
The script failed in the Prow job with:
fatal: Not a valid object name origin/master
That came from "git merge-base origin/master HEAD", which isn't needed because
the Prow job intentionally sets -r explicitly.
Now the fallback is only tried if needed. While at it, the informational
messages get enhanced.
2024-04-25 10:39:20 +02:00
Kubernetes Prow Robot
e19ff7771d
Merge pull request #123777 from linxiulei/nc
...
Remove setting NoRouteCreated condition
2024-04-25 01:20:42 -07:00
carlory
a9f6374ba0
scheduler deprecates non-csi plugins
2024-04-25 14:27:01 +08:00
Kubernetes Prow Robot
17854f0e0a
Merge pull request #124496 from carlory/output-alpha3
...
kubeadm: remove the deprecated output.kubeadm.k8s.io/v1alpha2
2024-04-24 21:02:51 -07:00
Kubernetes Prow Robot
f6fde3ba7f
Merge pull request #124382 from riendeau/agnhostbump
...
Bump base images for agnhost
2024-04-24 19:00:00 -07:00
Kubernetes Prow Robot
56956edd76
Merge pull request #124512 from bart0sh/PR143-e2e-node-fix-containers-lifecycle
...
Revert "add coverage tests for probes behavior"
2024-04-24 15:31:30 -07:00
Kubernetes Prow Robot
58788c2f7b
Merge pull request #124466 from serathius/featuregate-defer
...
Cleanup defer from SetFeatureGateDuringTest function call
2024-04-24 15:31:21 -07:00
Kubernetes Prow Robot
9c4d207d18
Merge pull request #124513 from serathius/workarounds
...
Remove workarounds for https://github.com/etcd-io/etcd/issues/17507
2024-04-24 14:29:47 -07:00
Kubernetes Prow Robot
0a6101636d
Merge pull request #123930 from Nordix/esotsal/fix_123928
...
Move DockerHung test in the end
2024-04-24 14:29:38 -07:00
Kubernetes Prow Robot
bc05bef903
Merge pull request #124352 from wojtek-t/idempotent_transformer_func
...
Idempotent transformers in scheduler & kcm
2024-04-24 12:35:02 -07:00
Kubernetes Prow Robot
0b15f8cbfc
Merge pull request #124344 from wojtek-t/fix_transformer
...
Fix race in informer transformers
2024-04-24 12:34:53 -07:00
Brian Pursley
322aa9a649
Change non-quantity strings to sort alphanumerically, instead of using "Natural Sort", which is confusing for users.
2024-04-24 15:10:16 -04:00
Marek Siarkowicz
a08d1b5f32
Remove workarounds for https://github.com/etcd-io/etcd/issues/17507
2024-04-24 20:28:41 +02:00
Kubernetes Prow Robot
e6fa3cddb9
Merge pull request #124510 from aroradaman/revert-124498-dummy-agnhost-bump
...
Revert "agnhost: update README"
2024-04-24 11:26:38 -07:00
Marek Siarkowicz
3ee8178768
Cleanup defer from SetFeatureGateDuringTest function call
2024-04-24 20:25:29 +02:00
Ed Bartosh
e4c6adacf0
Revert "add coverage tests for probes behavior"
...
This reverts commit 9be9832184
.
2024-04-24 20:56:46 +03:00
Daman Arora
26733f9aa8
Revert "agnhost: update README"
2024-04-24 22:26:33 +05:30
Kubernetes Prow Robot
bf6507070c
Merge pull request #124508 from aojea/agnhost_fix
...
Agnhost building fix
2024-04-24 09:47:49 -07:00
Kubernetes Prow Robot
06db9962f8
Merge pull request #124452 from danwinship/proxy-config-unit-tests
...
KubeProxyConfig unit test cleanups
2024-04-24 09:47:35 -07:00
Kubernetes Prow Robot
cc8063a911
Merge pull request #122971 from pohly/apidiff
...
hack: add apidiff.sh
2024-04-24 09:47:12 -07:00
Kubernetes Prow Robot
0f06328096
Merge pull request #124469 from serathius/etcd-3.5.13
...
Upgrade etcd libraries to v3.5.13
2024-04-24 08:38:17 -07:00
Kubernetes Prow Robot
b3f5c57223
Merge pull request #124263 from alvaroaleman/typed
...
Workqueue: Add generic versions that are properly typed
2024-04-24 08:38:08 -07:00
Antonio Ojea
5ed555fb5d
Revert "Remove _tmp from test/images/image-util.sh"
...
This reverts commit 2e465cd6fa
.
2024-04-24 13:43:02 +00:00
Antonio Ojea
391e4b58e2
Revert "added init to image-utils.sh"
...
This reverts commit 7951d7975e
.
2024-04-24 13:42:38 +00:00
Kubernetes Prow Robot
5fe1e923df
Merge pull request #124498 from aroradaman/dummy-agnhost-bump
...
agnhost: update README
2024-04-24 05:10:09 -07:00
bells17
1c917aa463
component-helpers: Support structured and contextual logging ( #120637 )
2024-04-24 03:06:15 -07:00
John Riendeau
62191f637e
Bump base images for agnhost
2024-04-24 04:54:06 -05:00
Wojciech Tyczyński
e9f74597a8
Fix race in informer transformers
2024-04-24 10:42:01 +02:00
Kubernetes Prow Robot
646fbe6d0a
Merge pull request #124480 from neolit123/1.31-fix-upgrade-component-config
...
kubeadm: fix bug of kubeletconfig not being downloaded on upgrade
2024-04-24 01:20:24 -07:00
Kubernetes Prow Robot
5291c11a0e
Merge pull request #124468 from neolit123/1.31-improve-unit-test-performance-with-test-versions
...
kubeadm: improve performance of unit tests that need a k8s version
2024-04-24 01:20:17 -07:00
Daman Arora
f5c38b0467
agnhost: update README
...
dummy commit to trigger agnhost image promotion pipeline
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-04-24 13:46:22 +05:30
Marek Siarkowicz
3e5b03eb43
Upgrade etcd libraries to v3.5.13
...
Add otelgrpc.WithMessageEvents(otelgrpc.ReceivedEvents, otelgrpc.SentEvents) to tracing options due to https://github.com/open-telemetry/opentelemetry-go-contrib/pull/3964
2024-04-24 09:56:39 +02:00
carlory
4f0ee034ec
kubeadm: remove the deprecated output.kubeadm.k8s.io/v1alpha2
2024-04-24 15:01:20 +08:00
Kubernetes Prow Robot
e59eceec48
Merge pull request #124299 from kushalShukla-web/componentconfig
...
removed this k8s.io/kubernetes/pkg/apis/componentconfig from verify-…
2024-04-23 22:37:23 -07:00
Kubernetes Prow Robot
6f6ba4ae7f
Merge pull request #123572 from alexzielenski/cel/name-formats
...
feature: add name formats library to CEL
2024-04-23 20:09:02 -07:00
Brian Pursley
f011ed5ca5
Improve performance of TestForceApply unit test.
...
Change backOffPeriod from const to var, so that it can be set lower during unit test.
2024-04-23 22:04:38 -04:00
Kubernetes Prow Robot
47ad87e95f
Merge pull request #124492 from aramase/revert-124250-aramase/t/transformation_tests_parallel
...
Revert "Run `controlplane/transformation` integration tests in parallel"
2024-04-23 17:02:26 -07:00
Kubernetes Prow Robot
9db6aac7f3
Merge pull request #124086 from matthyx/probes
...
add coverage tests for probes behavior
2024-04-23 17:02:17 -07:00
Kubernetes Prow Robot
6289589509
Merge pull request #124075 from pohly/dra-api-comments
...
DRA: API cleanup + fix
2024-04-23 15:07:50 -07:00
Anish Ramasekar
8d563c2cde
Revert "Run controlplane/transformation
integration tests in parallel"
2024-04-23 13:48:33 -07:00
Kubernetes Prow Robot
f3a7aa7f92
Merge pull request #124488 from wangzhen127/owners
...
Add wangzhen127 back to approvers and reviewers for NPD
2024-04-23 12:00:27 -07:00
Kubernetes Prow Robot
c1ef0ac197
Merge pull request #124484 from aojea/network_policies
...
use latest stable version of kube-network-policies for CI
2024-04-23 12:00:20 -07:00
Alexander Zielenski
0ed65fca7a
feature: add name formats library to CEL
2024-04-23 10:22:44 -07:00