Kubernetes Prow Robot
cffc2c0b40
Merge pull request #124102 from pohly/dra-scheduler-assume-cache
...
scheduler: move assume cache to utils
2024-04-26 08:49:12 -07:00
Kubernetes Prow Robot
bf454d7c59
Merge pull request #124516 from danwinship/cloud-hostname-override
...
Fix behavior with external cloud provider and --hostname-override
2024-04-25 14:47:24 -07:00
Dan Winship
30972710bd
Fix behavior with external cloud provider and --hostname-override
2024-04-25 08:12:04 -04: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
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
bc05bef903
Merge pull request #124352 from wojtek-t/idempotent_transformer_func
...
Idempotent transformers in scheduler & kcm
2024-04-24 12:35:02 -07:00
Marek Siarkowicz
3ee8178768
Cleanup defer from SetFeatureGateDuringTest function call
2024-04-24 20:25:29 +02: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
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
bells17
1c917aa463
component-helpers: Support structured and contextual logging ( #120637 )
2024-04-24 03:06:15 -07:00
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
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
Daman Arora
a577c0b324
kube-proxy: refactor config validation unit test
...
Refactor the TestValidateKubeProxyConfiguration by adding a mutating
function that adjusts the configuration according to each test case,
thereby enhancing readability.
Signed-off-by: Daman Arora <aroradaman@gmail.com >
2024-04-23 09:03:42 -04:00
Dan Winship
f4ecae8324
Use t.Run and assert.Equal in KubeProxyConfiguration validation tests
2024-04-23 09:03:23 -04:00
Dan Winship
7b9f730804
Merge success and failure cases in KubeProxyConfiguration validation tests
2024-04-23 09:03:23 -04:00
Dan Winship
c7f3caf498
Add names to all KubeProxyConfiguration validation test cases
2024-04-23 09:03:21 -04:00
Kubernetes Prow Robot
8dd9d1a6bb
Merge pull request #122979 from fatsheep9146/pkg-proxy-support-contextual-logging
...
Migrate `pkg/proxy` to contextual logging: Part 1
2024-04-23 02:43:04 -07:00
Dan Winship
7320e54e0e
Split Linux/Windows TestValidateKubeProxyMode
2024-04-22 18:25:01 -04:00
Patrick Ohly
acfaf8c275
DRA: sync internal API doc comments
...
This had been done before for types.go, but namedresources.go still had one
small diff.
While at it, fix some typos.
2024-04-22 14:18:45 +02:00
Kubernetes Prow Robot
f106fb7449
Merge pull request #124409 from pohly/dra-scheduler-unit-test-fix
...
dra scheduler: fix data race in unit test
2024-04-22 04:35:34 -07:00
Ziqi Zhao
be4535bd34
convert k8s.io/kubernetes/pkg/proxy to contextual logging, part 1
...
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com >
2024-04-22 13:08:41 +08:00
Kubernetes Prow Robot
74877bb43b
Merge pull request #124417 from thockin/remove_gate_DefaultHostNetworkHostPortsInPodTemplates
...
Remove gate DefaultHostNetworkHostPortsInPodTemplates
2024-04-21 18:39:33 -07:00
Kubernetes Prow Robot
7f68d014e5
Merge pull request #123749 from iholder101/swap_log/only_once_avoid_spam
...
[KEP2400] Avoid logging that swap cgroup controller is missing for every container
2024-04-19 17:00:46 -07:00
Kubernetes Prow Robot
534d7cbc1a
Merge pull request #123905 from aojea/field_selector
...
Field selector for Services based on ClusterIP and Type
2024-04-19 15:30:55 -07:00
Tim Hockin
a2fb1b51ac
Remove DefaultHostNetworkHostPortsInPodTemplates gate
...
This behavior was deprecated in 1.28.
2024-04-19 15:24:15 -07:00
Kubernetes Prow Robot
5a71f37805
Merge pull request #124316 from pohly/dra-kubelet-remove-v1alpha2
...
DRA: remove support for v1alpha2 kubelet gRPC API
2024-04-19 14:18:52 -07:00
Kubernetes Prow Robot
3d58fe5a7b
Merge pull request #123970 from carlory/rm-volumelimit-interface
...
remove VolumePluginWithAttachLimits interface
2024-04-19 10:36:11 -07:00
Patrick Ohly
77341f7595
DRA: remove support for v1alpha2 kubelet API
...
The v1alpha2 API is several releases old. No current drivers should still
depend on it.
2024-04-19 18:27:05 +02:00
Patrick Ohly
a66d2163f9
dra scheduler: fix data race in unit test
...
Clearing some irrelevant fields in objects caused a flaky data race alert
because in some cases, the objects were pointers into a shared cache. A better
solution is to treat the objects as read-only and ignore the irrelevant fields.
2024-04-19 17:14:13 +02:00
Kubernetes Prow Robot
69b648a1d7
Merge pull request #124223 from chenk008/fix_apf_countTracker
...
Fix: EtcdOptions.StorageObjectCountTracker is nil, APF estimator got ObjectCountNotFoundErr
2024-04-19 01:56:35 -07:00
chenk008
c5d0e59d45
Update pkg/controlplane/apiserver/config_test.go
...
Co-authored-by: Paco Xu <paco.xu@daocloud.io >
2024-04-19 11:11:21 +08:00
Kubernetes Prow Robot
bf07ef3950
Merge pull request #124383 from danwinship/nftables-proxy-to-beta
...
KEP-3866 kube-proxy nftables to beta
2024-04-18 17:42:20 -07:00
Kubernetes Prow Robot
fd40d68a39
Merge pull request #123238 from MirrorShih/master
...
Fix infinite loop and replace channel with queue
2024-04-18 14:30:07 -07:00
Kubernetes Prow Robot
b2a8ac15a0
Merge pull request #124221 from arturhoo/fix-spelling-scheduler-metrics
...
scheduler: fix typo in metric pod_scheduling_sli_duration_seconds help
2024-04-18 10:46:19 -07:00
Kubernetes Prow Robot
bbfd2145de
Merge pull request #124091 from bitoku/dra-nil-check
...
kubelet: add nil check for Node(Un)PrepareResources.
2024-04-18 10:46:05 -07:00
Dan Winship
fdf22533a8
KEP-3866 kube-proxy nftables mode to beta
2024-04-18 13:20:23 -04:00
Kubernetes Prow Robot
b2c32fb015
Merge pull request #123105 from danwinship/nodeport-addresses-primary
...
Add `--nodeport-addresses primary`, warn on empty `--nodeport-addresses`
2024-04-18 08:49:21 -07:00
chenk008
4abc2b387b
Fix: StorageObjectCountTracker is nil, apf estimator got ObjectCountNotFoundErr
2024-04-18 22:50:18 +08:00
Kubernetes Prow Robot
573832a42f
Merge pull request #122892 from danwinship/codegen-nil
...
Fix generated fake clients to have same semantics as real clients on error
2024-04-18 07:48:14 -07:00
Kubernetes Prow Robot
2f2c1fb811
Merge pull request #124210 from thockin/remove_gate_SkipReadOnlyValidationGCE
...
Remove the gate "SkipReadOnlyValidationGCE"
2024-04-18 06:31:39 -07:00
Dan Winship
3ecd933276
fix/simplify an nftables unit test
...
The nodeport-ips value is part of the baseline, which wouldn't change
no matter what Services or EndpointSlices we added/removed.
2024-04-18 09:25:06 -04:00
Dan Winship
19b3a9e194
(Mostly) Revert "change --nodeport-addresses behavior to default to primary node ip only"
...
This reverts commit 8bccf4873b , except
for the nftables unit test changes, since we still want the "new"
results (not to mention the bugfixes), just for a different reason
now.
2024-04-18 09:25:06 -04:00
Dan Winship
0b599aa8e3
Add --nodeport-addresses primary
...
The behavior when you specify no --nodeport-addresses value in a
dual-stack cluster is terrible and we can't fix it, for
backward-compatibility reasons. Actually, the behavior when you
specify no --nodeport-addresses value in a single-stack cluster isn't
exactly awesome either...
Allow specifying `--nodeport-addresses primary` to get the
previously-nftables-backend-specific behavior of listening on only the
node's primary IP or IPs.
2024-04-18 09:25:06 -04:00
Dan Winship
cd980ee076
Fix unit tests that expected the old FakeClient semantics
2024-04-18 08:23:16 -04:00
Kubernetes Prow Robot
951e624ada
Merge pull request #124320 from liangyuanpeng/drop-ptr-wrappers-pkg-registry
...
pkg/registry: drop pointer wrapper functions.
2024-04-18 04:24:32 -07:00
Kubernetes Prow Robot
32a3cbc51d
Merge pull request #124245 from wojtek-t/informer_options
...
Allow for configuring MinWatchTimeout in reflector
2024-04-18 03:24:57 -07:00
Kubernetes Prow Robot
9c9a9b7c48
Merge pull request #124242 from carlory/cleanup-after-NewVolumeManagerReconstruction-ga
...
remove unneeded func SyncReconstructedVolume from ActualStateOfWorld
2024-04-18 03:24:50 -07:00
Kubernetes Prow Robot
745f56ea2b
Merge pull request #124215 from tk3fftk/patch-2
...
fix: add delay to log message when enqueueing a job
2024-04-18 03:24:36 -07:00