Commit graph

13242 commits

Author SHA1 Message Date
Kubernetes Prow Robot
2d371b1587
Merge pull request #139669 from skitt/otel-contrib-0.69.0
Bump otel contrib to v0.69.0
2026-06-18 19:24:43 +05:30
Kubernetes Prow Robot
5a50e0e229
Merge pull request #138497 from cupnes/kep-4049-beta
KEP-4049: Update tests for the StorageCapacityScoring feature for beta
2026-06-18 16:06:43 +05:30
Yuma Ogami
5c5fafd1db test: remove redundant feature gate setup in TestSetup
StorageCapacityScoring is now beta and enabled by default at binary
version v1.37+, so explicitly setting it via SetFeatureGateDuringTest
before each test case is no longer necessary. Remove the restoreFeatures
field and its usages.
2026-06-18 08:40:36 +00:00
Kubernetes Prow Robot
0353c25580
Merge pull request #139639 from weizhoublue/fix-kubelet-flags-help
kubelet: update event-burst CLI flag description to match defaults
2026-06-18 11:38:49 +05:30
Yuma Ogami
01fa0bda1d test: update TestSetup for StorageCapacityScoring beta graduation
- Bump the binary version to 1.37 so the beta default takes effect.
  The existing "default config" test now implicitly covers the
  enabled-by-default case.
- Update the existing test: rename from "alpha" to "beta" and fix
  `restoreFeatures` to restore to `true` (the beta default).
- Add a new test case for the opt-out scenario (explicitly disabling
  the beta feature).
2026-06-17 07:54:41 +00:00
Kubernetes Prow Robot
56902fbcb3
Merge pull request #139667 from damdo/kubeadm-configmap-retry-fix
fix(kubeadm): use KubernetesAPICallTimeout for mandatory kubeadm-config fetch during join
2026-06-17 09:19:22 +05:30
Yuma Ogami
f76687ded1 graduate StorageCapacityScoring feature gate to beta
StorageCapacityScoring was introduced as alpha in v1.33 (default: false)
and is now promoted to beta (default: true).

Update tests to account for the new default behavior: when
StorageCapacityScoring is enabled, SetDefaults_VolumeBindingArgs now
populates Shape in VolumeBindingArgs, which existing tests did not
expect.

- Add default Shape to expected VolumeBindingArgs in test fixtures
  and explicit test cases
- Disable StorageCapacityScoring in TestValidateVolumeBindingArgs
  cases that only test BindTimeoutSeconds validation
- Explicitly set EnableStorageCapacityScoring: true in
  TestSchedulerSchedulePod's feature.Features struct
- Strip Shape from VolumeBinding args in Test_UnionedGVKs when
  using emulation version 1.33 or 1.34 (where StorageCapacityScoring
  is alpha and disabled by default)
2026-06-17 03:03:02 +00:00
Kubernetes Prow Robot
49cc12972d
Merge pull request #139774 from ErikJiang/fix_kubeadm_upgrade_dryrun
Fix kubeadm upgrade dry-run success output
2026-06-16 23:47:20 +05:30
Lubomir I. Ivanov
f4c581c906 kubeadm: explicitly set the kube-proxy mode to 'iptables'
In 1.37 kube-proxy will start throwing warnings if the
user has not set the 'mode' field explicitly.

This is part of the steps to migrate the default 'mode'
from 'iptables' to 'nftables'.
2026-06-16 14:47:26 +03:00
Damiano Donati
7801f6b505
fix(kubeadm): use KubernetesAPICallTimeout for mandatory kubeadm-config fetch
During kubeadm join, the mandatory kubeadm-config ConfigMap fetch uses
GetConfigMapWithShortRetry, which has a 350ms polling budget. When the
API server is slow to respond, the single GET attempt blocks for up to
10 seconds (the client timeout), exhausting the polling budget with no
retry. Since this call site has no fallback, the join fails.

Add a shortConfigMapGet parameter to getInitConfigurationFromCluster
and FetchInitConfigurationFromCluster. When false, the kubeadm-config
ConfigMap is fetched using KubernetesAPICallTimeout (default 1 minute,
user-configurable) with retries, matching the pattern used by
getAPIEndpointFromPodAnnotation. When true, the existing
GetConfigMapWithShortRetry is used for callers like kubeadm reset that
don't need a long retry.

Signed-off-by: Damiano Donati <damiano.donati@gmail.com>
2026-06-16 11:15:03 +02:00
bo.jiang
22611a6db7
Fix kubeadm upgrade dry-run success output
Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
2026-06-16 17:12:59 +08:00
Stephen Kitt
2d407830bd
Bump to otel semconv v0.41.0
This aligns with the version used in otel v1.44.0 and otel contrib
v0.69.0.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2026-06-12 11:11:32 +02:00
weizhoublue
cee35e2027
kubelet: update event-burst CLI flag description to match defaults
Signed-off-by: weizhoublue <weizhou.lan@daocloud.io>
2026-06-11 10:58:03 +08:00
Kubernetes Prow Robot
e2ed47e2de
Merge pull request #134860 from danwinship/apiserver-service-proxy
Port service/proxy subresource from Endpoints to EndpointSlice
2026-06-11 03:10:50 +05:30
Kubernetes Prow Robot
78f000c93a
Merge pull request #139612 from weizhoublue/fix-event-qps-help
fix: correct --event-qps default in help message
2026-06-11 00:49:05 +05:30
Dan Winship
6559d7ca54 Port service/proxy subresource from Endpoints to EndpointSlice
Co-authored-by: Jordan Liggitt <liggitt@google.com>
2026-06-10 15:10:38 -04:00
weizhoublue
6369ec1907
cmd/kubelet: correct --event-qps default in help message
Signed-off-by: weizhoublue <weizhou.lan@daocloud.io>
2026-06-10 14:58:53 +08:00
Yuma Ogami
ba49c893f2 test: bump binary version to 1.33 in TestSetup to fix StorageCapacityScoring
StorageCapacityScoring is introduced as Alpha at v1.33. With binary
version set to 1.32, it is PreAlpha and cannot be set explicitly,
causing a panic when registering the feature gate.
2026-06-10 01:12:47 +00:00
Sergey Kanzhelev
d74b5907d5 builder pattern in cri client 2026-06-09 09:24:06 -07:00
Kubernetes Prow Robot
138b2e61f1
Merge pull request #117119 from HirazawaUi/fix-kubelet-event-qps
kubelet: fix eventRecordQPS can't be set no limit enforced
2026-06-09 08:55:45 +05:30
Kubernetes Prow Robot
9fa4c1cfa3
Merge pull request #139397 from adrianmoisey/ipvs-feature-gate
KEP-5495: Add featuregate for IPVS
2026-06-04 17:47:48 +05:30
Adrian Moisey
f7265100cb
KEP-5495: Add featuregate for IPVS 2026-06-03 21:04:16 +02:00
Kubernetes Prow Robot
4ea9058d21
Merge pull request #139381 from fuweid/remove-grpc-block
*: remove grpc.WithBlock from etcd clientv3 option
2026-06-03 09:05:43 +05:30
Jefftree
2544f4dda2 etcd: update etcd image to v3.7.0-rc.0 2026-06-01 20:29:57 -04:00
Kubernetes Prow Robot
bb09ec2159
Merge pull request #136614 from PhantomInTheWire/fix/kubelet
Fix invalid kube-reserved configuration in kubelet causes frequent no…
2026-06-02 00:06:50 +05:30
Lubomir I. Ivanov
cecb92bbd2 kubeadm: introduce placeholder v1 API
Add the v1 API:
- Has lower priority than v1beta4.
- Currently a copy of v1beta4.
- Marked as experimental and will be rejected in most commands.
2026-06-01 10:45:26 +02:00
Lubomir I. Ivanov
852f1e23e0 kubeadm: remove the v1beta3 API and PublicKeysECDSA feature gate
Remove the v1beta3 API which was deprecated since v1.31.

Additionally, remove the PublicKeysECDSA feature gate which
was only kept for backwards compatibility with v1beta3.
The support for ECDSA keys was added as part of v1beta4
via ClusterConfiguration.EncryptionAlgorithm.

Perform various cleanups in unit tests, fuzzer, conversion logic.
Remove no longer used fields from the internal types.
2026-06-01 10:45:26 +02:00
Wei Fu
855d0ae3ee *: remove grpc.WithBlock from etcd clientv3 option
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2026-05-29 19:49:54 -04:00
Kubernetes Prow Robot
a3242d59f4
Merge pull request #139318 from hoteye/hoteye-cadvisor-windows-new-logger
kubelet: pass logger into cAdvisor machine info
2026-05-30 00:45:07 +05:30
bo.jiang
98e798c57b kubeadm: fix dry-run CA copy paths in init certs
Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
2026-05-29 23:21:24 +08:00
Dan Winship
daa575f805 Refactor webhook/aggregated API endpointslice getter
Co-authored-by: Jordan Liggitt <liggitt@google.com>
2026-05-28 17:00:59 -04:00
Lubomir I. Ivanov
2c2d2f0582 kubeadm: remove cmd/kubeadm/test
- Consolidate utils existing under cmd/kubeadm/test
in subpackages under cmd/kubeadm/app/util.
- Remove the various integration tests present under
cmd/kubeadm/test. These provide little value as kubeadm has
UT coverage for its commands and subcommands already.
Additionally we also have e2e test coverage.

The existence of the package was legacy and it was kept mainly
because of the utils that it had which were imported in various
kubeadm/app packages (and it felt wrong).
2026-05-28 21:46:44 +02:00
hoteye
48295e14bc kubelet: pass logger into cAdvisor machine info
Pass contextual loggers into the cAdvisor MachineInfo path so the Windows cAdvisor implementation no longer falls back to klog.TODO(). Also use the existing constructor logger for Windows perf counter initialization.
2026-05-28 16:37:55 +08:00
Yuma Ogami
9ebd3c32db Revert "Remove the not-even alpha feature setting"
This reverts commit d66330609c.

The feature gate StorageCapacityScoring has been promoted to alpha,
so the restriction imposed by Compatibility Versions (KEP-4330) no
longer applies. Restore the test case that exercises enabling this
feature gate via --feature-gates flag.
2026-05-26 05:25:12 +00:00
Kubernetes Prow Robot
3fa9f8f97d
Merge pull request #139183 from hoteye/hoteye-util-boottime-context
kubelet: thread logger through boot time lookup
2026-05-23 17:08:42 +05:30
Kubernetes Prow Robot
901087fb35
Merge pull request #138572 from dom4ha/promote-workload-api-v1alpha3
Converts the DisruptionMode enum field to struct as v1alpha3 and drops v1alpha2
2026-05-23 00:04:52 +05:30
Kubernetes Prow Robot
31646c4d02
Merge pull request #139121 from carlory/update-kubelet-removal-1.38
kubelet: defer CRI fallback removal to 1.38
2026-05-22 23:10:59 +05:30
dom4ha
88948acc38 Remove v1alpha2 API definitions
Update client-go lister and informer imports to v1alpha3
2026-05-22 12:50:19 +00:00
dom4ha
69636c9707 Create v1alpha3 API as copy of v1alpha2 and update package names 2026-05-22 12:50:12 +00:00
Kubernetes Prow Robot
ea692abff6
Merge pull request #134151 from ialidzhikov/enh/default-watch-cache-size-1
apiserver: Clean up the obsolete `DefaultWatchCacheSize` etcd option
2026-05-21 18:46:48 +05:30
hoteye
4d24257a5e kubelet: thread logger through boot time lookup
Pass a logger into GetBootTime so the Linux fallback path no longer creates a local context.TODO() only to derive a logger.

This keeps boot time lookup behavior unchanged and updates the node startup latency tracker constructor to accept a logger instead of a context, matching contextual logging migration guidelines.
2026-05-20 15:22:00 +08:00
carlory
5351d659c0 kubeadm: defer runtime config warning to 1.38 2026-05-18 10:04:38 +08:00
carlory
f4d97c13f5 kubelet: defer CRI fallback removal to 1.38 2026-05-18 09:52:38 +08:00
Kubernetes Prow Robot
24dbafd297
Merge pull request #138939 from SataQiu/fix-kubeadm-0510
kubeadm: avoid panic in TryLoadPrivatePublicKeyFromDisk for mismatched private/public key types
2026-05-16 17:34:33 +05:30
SataQiu
ecd29dbef8 kubeadm: avoid panic in TryLoadPrivatePublicKeyFromDisk for mismatched private/public key types 2026-05-16 13:53:41 +08:00
Lubomir I. Ivanov
6d9ff5fecf kubeadm: warn if the user has configured kube-proxy with 'ipvs'
If the user has provided a KubeProxyConfiguration component
config with 'mode: ipvs' show a warning saying that IPVS
mode has been deprecated since 1.35. Recommend 'nftables'
which has been GA since 1.33, or the legacy 'iptables' on
older kernels.
2026-05-15 14:50:18 +02:00
Jordan Liggitt
7ba2228d01
fix swagger generation inline json tag detection 2026-05-13 11:24:07 -04:00
Jordan Liggitt
2715cc52b2
Add json:"" to serialized inline typemeta fields 2026-05-13 11:24:04 -04:00
Jordan Liggitt
bed4a34ad8
Drop meaningless ,inline from json tags 2026-05-13 11:24:04 -04:00
Kubernetes Prow Robot
553312e6c2
Merge pull request #138657 from jpbetz/codegen-discovery
Enable validation-gen for all existing and future APIs
2026-05-13 01:16:37 +05:30