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
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
Kubernetes Prow Robot
eb2a59e8d8
Merge pull request #124214 from Monokaix/dev
...
fix wrong comments of dra
2024-04-18 03:24:28 -07:00
Kubernetes Prow Robot
3188cbd1b3
Merge pull request #124113 from krzysdabro/nodeipam-pooling
...
nodeipam: poll nodes immediately
2024-04-18 03:23:33 -07:00
Kubernetes Prow Robot
dbaf5d667f
Merge pull request #124062 from alculquicondor/nodename-api-comment
...
Update API comment for nodeName to match system behavior
2024-04-18 02:11:56 -07:00
Kubernetes Prow Robot
846e282d05
Merge pull request #124055 from yangjunmyfm192085/optklogprint
...
Optimize klog output(Use klog.KObj(pod) instead of pod)
2024-04-18 02:11:47 -07:00
Kubernetes Prow Robot
1646f2cfdb
Merge pull request #124015 from carlory/cleanup-ephemeral
...
Visit ephemeral containers when calculating fs user
2024-04-18 02:11:20 -07:00
Kubernetes Prow Robot
ca1a134a41
Merge pull request #123977 from wojtek-t/avoid_node_gets
...
Get node from local cache instead of kube-apiserver cache for kubelet status updates
2024-04-18 02:10:44 -07:00
Kubernetes Prow Robot
7f67cb5960
Merge pull request #123969 from liangyuanpeng/cleanup_rand
...
cleanup: delete rand.Seed(time.Now().UnixNano()) and using global number generator.
2024-04-18 02:10:26 -07:00
Kubernetes Prow Robot
d2ce87eb94
Merge pull request #123938 from pohly/dra-structured-parameters-tests
...
DRA: test for structured parameters
2024-04-18 02:10:08 -07:00
Filip Křepinský
85d55b6737
fix stateful set pod recreation and event spam ( #123809 )
...
* fix pods tracking and internal error checking in statefulset tests
* fix stateful set pod recreation and event spam
- do not emit events when pod reaches terminal phase
- do not try to recreate pod until the old pod has been removed from
etcd storage
* fix conflict race in statefulset rest update
statefulset controller does less requests per sync now and thus can
reconcile status faster, thus resulting in a higher chance for conflicts
2024-04-18 01:03:46 -07:00
Kubernetes Prow Robot
c43b733dd6
Merge pull request #123736 from thockin/cleanup_manual_conversions
...
Cleanup manual conversions
2024-04-18 01:03:27 -07:00
Kubernetes Prow Robot
da6be3b718
Merge pull request #123548 from Songjoy/fix-code
...
Delete a stale code comment
2024-04-18 00:01:10 -07:00
Kubernetes Prow Robot
e800d15494
Merge pull request #123389 from npinaeva/nftables-ut
...
Ensure nftables unit test parity with iptables
2024-04-18 00:00:56 -07:00
Kubernetes Prow Robot
6faeecc87d
Merge pull request #122631 from jmcgrath207/disable-service-links
...
DisableServiceLinks admission controller
2024-04-18 00:00:28 -07:00
Kubernetes Prow Robot
2c6d5fae7a
Merge pull request #122471 from nayihz/feat_podaffinity_qhint
...
interpodaffinity: scheduler queueing hints
2024-04-18 00:00:21 -07:00
Kubernetes Prow Robot
854af6aba6
Merge pull request #122411 from huww98/lift-mountedByNode
...
ad controller: lift nodeAttachedTo.mountedByNode
2024-04-18 00:00:14 -07:00
Kubernetes Prow Robot
ef2c682635
Merge pull request #122082 from carlory/remove-keep-terminated-pod-volumes
...
keep-terminated-pod-volumes flag on kubelet is removed
2024-04-17 23:59:54 -07:00
Kubernetes Prow Robot
a2abca11ff
Merge pull request #121898 from carlory/ing-registry-test
...
ingress registry: add unit test for UpdateStatus
2024-04-17 23:59:40 -07:00
Kubernetes Prow Robot
3fda574e5e
Merge pull request #121770 from frzifus/tracing_kubelet_read-only
...
pass tracerprovider to kublet-readonly server
2024-04-17 23:59:33 -07:00
Kubernetes Prow Robot
528cff12f6
Merge pull request #120969 from skitt/uber-go-mock
...
Switch from golang/mock to uber-go/mock
2024-04-17 23:59:24 -07:00
Kubernetes Prow Robot
56b39eab7c
Merge pull request #119436 from claudiubelu/unittests-9
...
unittests: Fixes unit tests for Windows (part 9)
2024-04-17 22:51:32 -07:00
Lan Liang
9236425df6
pkg/registry: drop pointer wrapper functions.
...
The new k8s.io/utils/ptr package provides generic wrapper functions,
which can be used instead of type-specific pointer wrapper functions.
This replaces the latter with the former, and migrates other uses of
the deprecated pointer package to ptr in affacted files.
See kubernetes/utils#283 for details.
Signed-off-by: Lan Liang <gcslyp@gmail.com >
2024-04-15 14:34:53 +00:00
Lan Liang
78762c70db
u
2024-04-15 09:24:44 +00:00
Dan Winship
8de0fc09aa
Remove an unused type from kube-proxy config, move around some helpers
2024-04-13 11:12:28 -04:00
nayihz
1b3d10aafa
fix: node added with matched pod anti-affinity topologyKey
...
Co-authored-by: Kensei Nakada <handbomusic@gmail.com >
2024-04-12 11:08:44 +08:00
huweiwen
3a71fe57f7
ad controller: lift nodeAttachedTo.mountedByNode
...
optimize adc.nodeUpdate(). Time complexity reduced from O(n) to O(1), where n is the number of nodes.
Data stored in nodeAttachedTo.mountedByNode is now at actualStateOfWorld.inUseVolumes.
This refactor also ensures that we can record the state update even if the volume is not present in ASW yet.
The added BenchmarkNodeUpdate result is reduced from 28076923 to 16030 ns/op.
The previous BenchmarkPopulateActualStateOfWorld result is also reduced from 13s to 8s.
2024-04-11 15:35:17 +08:00
Wojciech Tyczyński
36141fa6fb
Bump min watch timeout for secret & configmap manager in Kubelet
2024-04-10 19:36:29 +02:00
Maksym Pavlenko
be4b7176dc
Fix Abs path validation on Windows ( #124084 )
...
* Windows: Consider slash-prefixed paths as absolute
filepath.IsAbs does not consider "/" or "\" as absolute paths, even
though files can be addressed as such. [1][2]
Currently, there are some unit tests that are failing on Windows due to
this reason.
[1] https://learn.microsoft.com/en-us/dotnet/standard/io/file-path-formats#traditional-dos-paths
[2] https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#fully-qualified-vs-relative-paths
* Add test to verify IsAbs for windows
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com >
* Fix abs path validation on windows
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com >
* Skipp path clean check for podLogDir on windows
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com >
* Implement IsPathClean to validate path
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com >
* Add warn comment for IsAbs
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com >
---------
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com >
Co-authored-by: Claudiu Belu <cbelu@cloudbasesolutions.com >
2024-04-10 10:13:59 -07:00