Commit Graph

124806 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
d1b398caaa
Merge pull request #127097 from skitt/force-gengo-v2
Only allow importing gengo/v2
2024-09-03 21:21:31 +01:00
Kubernetes Prow Robot
89fbb3f2d2
Merge pull request #127017 from carlory/flowcontrolv1beta3
remove resource flowschemas and prioritylevelconfigurations from legacyBetaEnabledByDefaultResources in v1.32
2024-09-03 21:21:17 +01:00
Kubernetes Prow Robot
6b2a5b84e5
Merge pull request #127058 from carlory/rm-fgs
Remove GAed feature gates ServerSideApply/ServerSideFieldValidation
2024-09-03 19:58:02 +01:00
Kubernetes Prow Robot
14f2cab4de
Merge pull request #126976 from jsturtevant/socket-file-revert
Revert "fix: handle socket file detection on Windows"
2024-09-03 18:31:16 +01:00
Kubernetes Prow Robot
1a0804c5e8
Merge pull request #127076 from cpanato/update-go123
Bump images, dependencies and versions to go 1.23.0
2024-09-03 16:55:23 +01:00
Kubernetes Prow Robot
49ccfaf1ed
Merge pull request #127021 from Madhu-1/fix-volume-abnormal
check for usage when volume is normal
2024-09-03 16:55:16 +01:00
Stephen Kitt
6a11b61066
Only allow importing gengo/v2
The old gengo shouldn't be used any longer.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-09-03 17:55:05 +02:00
Kubernetes Prow Robot
49ffd6192f
Merge pull request #127089 from sanposhiho/revert-126574
Revert: Fix data race in APF tests
2024-09-03 15:13:16 +01:00
Kubernetes Prow Robot
4bc6a11d78
Merge pull request #127083 from sanposhiho/scheduler-smaller-event
feat: implement Pod smaller update events
2024-09-03 14:05:22 +01:00
Kubernetes Prow Robot
85384fe273
Merge pull request #126945 from liangyuanpeng/kubeadm_split_healthz_scheduler
kubeadm: scheduler using livez and readyz instead of healthz.
2024-09-03 14:05:15 +01:00
Kensei Nakada
d267721205 Revert "apiserver: fix data race in apf tests in server/filters package"
This reverts commit dde23bb0b1.
2024-09-03 19:39:38 +09:00
Kensei Nakada
9fe3b84107 Revert "apiserver: improve logging for apf tests in server/filters package"
This reverts commit 8fa3e61399.
2024-09-03 19:39:32 +09:00
Kubernetes Prow Robot
7de63a887f
Merge pull request #127084 from aojea/patch-3
Update DisableKubeletCloudCredentialProviders state
2024-09-03 11:11:16 +01:00
Antonio Ojea
6a2f11a90e
Update DisableKubeletCloudCredentialProviders state
DisableKubeletCloudCredentialProviders went GA in 1.31
2024-09-03 11:08:22 +02:00
Kubernetes Prow Robot
c86a2d6925
Merge pull request #126952 from aroradaman/proxy-nfacct-metric-cleanup
proxy/metrics: refactor nfacct metrics
2024-09-03 08:45:16 +01:00
Kensei Nakada
03e3779d40 feat: implement Pod smaller update events 2024-09-03 16:25:28 +09:00
Lan Liang
db8f3a4b7c kubeadm: scheduler using livez and readyz instead of healthz.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-09-03 06:44:07 +00:00
Kubernetes Prow Robot
ad59e468aa
Merge pull request #127079 from NathanBaulch/typos-kubeadm
Fix kubeadm typos
2024-09-03 07:23:18 +01:00
Nathan Baulch
ad7cb45bb2
Fix kubeadm typos 2024-09-03 13:07:55 +10:00
Kubernetes Prow Robot
e5bafe2bed
Merge pull request #127072 from dims/switch-back-to-localhost-from-127.0.0.1
Switch back to localhost from 127.0.0.1 for daemon restart tests
2024-09-02 21:01:15 +01:00
Kubernetes Prow Robot
534003da8a
Merge pull request #127057 from liangyuanpeng/agnhost_alpine_3.19
Bump alpine to 3.19 for agnhost.
2024-09-02 18:07:22 +01:00
Kubernetes Prow Robot
33c47290e2
Merge pull request #127055 from dims/fix-etcd-failures-in-ci-kubernetes-e2e-cos-gce-disruptive-canary
Fix etcd failures in ci-kubernetes-e2e-cos-gce-disruptive-canary
2024-09-02 18:07:16 +01:00
cpanato
b0c17b124f
Bump images, dependencies and versions to go 1.23.0
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-09-02 10:42:04 -06:00
Kubernetes Prow Robot
e5e1b312a7
Merge pull request #126784 from eminwux/fix-allocate-cidr-doc
Fix flag documentation kube-controller-manager and cloud-provider
2024-09-02 16:19:16 +01:00
Davanum Srinivas
3fa898bbc6
Incorporate feedback from review
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-02 09:25:59 -04:00
Davanum Srinivas
d6144619df
Switch back to localhost from 127.0.0.1 for daemon restart tests
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-02 09:15:25 -04:00
Davanum Srinivas
52b1c77730
Fix etcd failures in ci-kubernetes-e2e-cos-gce-disruptive-canary
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-02 09:05:33 -04:00
Kubernetes Prow Robot
e954415912
Merge pull request #126995 from googs1025/fix/top_cmd
kubectl(top): modify the percentage display of the top command
2024-09-02 13:24:57 +01:00
googs1025
4209f515ee kubectl(top): modify the percentage display of the top command 2024-09-02 19:19:52 +08:00
Kubernetes Prow Robot
e90364f45d
Merge pull request #126465 from googs1025/podEligibleToPreemptOthers_refactor
feat: add ctx param for PodEligibleToPreemptOthers
2024-09-02 12:02:56 +01:00
Madhu Rajanna
d644860cfb check usage when VolumeCondition is not supported
The Usage and VolumeCondition are both
optional in the response and kubelet
need to consider returning metrics if
either one is set.
2024-09-02 11:03:26 +02:00
carlory
de7e4318d6 Remove GAed feature gates ServerSideApply/ServerSideFieldValidation 2024-09-02 13:52:48 +08:00
Lan Liang
184c84ba00 Bump alpine to 3.19 for agnhost.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-09-02 05:47:42 +00:00
carlory
49b2c969a3 remove resource flowschemas and prioritylevelconfigurations from legacyBetaEnabledByDefaultResources in v1.32 2024-09-02 11:30:17 +08:00
Kubernetes Prow Robot
746f08a8da
Merge pull request #127033 from dims/fix-for-DaemonRestart-Disruptive-tests
Fix for DaemonRestart [Disruptive] tests
2024-09-01 04:10:45 +01:00
Davanum Srinivas
0a124e28b6
Fix for DaemonRestart [Disruptive] tests
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-08-31 21:15:23 -04:00
Kubernetes Prow Robot
df577d7fbc
Merge pull request #127035 from alvaroaleman/rename-TypedNewDelayingQueue
Rename TypedNewDelayingQueue to NewTypedDelayingQueue
2024-08-31 19:46:44 +01:00
Alvaro Aleman
45da5dc30e Rename TypedNewDelayingQueue to NewTypedDelayingQueue
This change renames NewTypedDelayingQueue to NewTypedDelayingQueue to
stay consistent with the naming scheme in the package. A
NewTypedDelayingQueue constructor is kept for backwards compatibility
but marked as deprecated.
2024-08-31 12:11:20 -04:00
Kubernetes Prow Robot
ed373709d8
Merge pull request #126786 from thockin/remove_AllowServiceLBStatusOnNonLB_gate
Remove AllowServiceLBStatusOnNonLB gate
2024-08-31 11:22:43 +01:00
Kubernetes Prow Robot
2ecff6d0db
Merge pull request #126940 from pohly/dra-1.31-api-comments
DRA API: update some comments
2024-08-31 06:14:43 +01:00
Kubernetes Prow Robot
4cfdad0935
Merge pull request #127023 from aimuz/fix-lead
leaderelection: replace deprecated wait.PollImmediateUntil with wait.PollUntilContextTimeout
2024-08-30 22:18:44 +01:00
Kubernetes Prow Robot
c3cb89ebb0
Merge pull request #127010 from aramase/aramase/f/kep_3331_jti
Set credential-id in userinfo.extra for jwt authenticators if jti claim present
2024-08-30 20:06:45 +01:00
Anish Ramasekar
c22a41e879
Set credential-id in userinfo.extra for jwt authenticators if jti claim present
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2024-08-30 11:02:44 -07:00
Kubernetes Prow Robot
ed75e55c44
Merge pull request #127001 from skitt/applyconfiguration-gen-ambiguous
Handle ambiguous fields in applyconfiguration-gen
2024-08-30 17:18:44 +01:00
Stephen Kitt
689d6ef7a3
Run codegen
Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-08-30 17:11:03 +02:00
Kubernetes Prow Robot
494f0b5d47
Merge pull request #127008 from Jefftree/agg-discovery-remove-generated-v2beta1
Remove v2beta1 aggregated discovery from being generated
2024-08-30 16:07:02 +01:00
Stephen Kitt
68bad250b6
applyconfiguration-gen: handle conflicting members
With embedded structs, objects can end up with conflicting members.
These aren't ambiguous in Go, but applyconfiguration-gen's generated
functions ignore this possibility and produce ambiguous member
accesses and duplicate methods.

This resolves the problem by qualifying embedded member accesses with
their types when appropriate, and by memoizing generated function
names to avoid duplicates. When conflicting members are encountered,
functions are generated for the first one; this is assumed to produce
correct results.

For applyconfiguration-gen, a more correct approach would be to only
generate With... and Get... functions for the specific members the
generator is interested in; but that would be a breaking change for
any client code relying on the other With... functions.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-08-30 16:12:46 +02:00
Stephen Kitt
63439abb40
Add an example of conflicting members in apply configurations
Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-08-30 16:12:46 +02:00
Kubernetes Prow Robot
fd58143ed2
Merge pull request #126265 from tnqn/fix-watch-error
Enrich the error returned from Request.Watch method
2024-08-30 14:47:31 +01:00
aimuz
3d2f498aa3 leaderelection: replace deprecated wait.PollImmediateUntil with wait.PollUntilContextTimeout
This commit refactors the `renew` function in the leader election package to replace
the deprecated `wait.PollImmediateUntil` with `wait.PollUntilContextTimeout`.
This change simplifies the context handling by removing the need for an additional
timeout context and its cancellation.

The previous implementation created a timeout context for each retry period,
which added unnecessary complexity. The new implementation directly passes the parent
context to the retry function, ensuring that the timeout is handled within `PollUntilContextTimeout`.

This change also ensures that the context passed to `tryAcquireOrRenew` and
`tryCoordinatedRenew` is consistent, improving the readability and maintainability of the code.
2024-08-30 19:25:45 +08:00