Commit Graph

125079 Commits

Author SHA1 Message Date
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
Yuki Iwai
34dcec91f8 JobIntegrationTest: Retry polling even if the client fails to obtain Jobs at once
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2024-09-03 06:22:44 +09: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
Maciej Skoczeń
1f157bcb90 Don't panic when popping from empty scheduling queue 2024-09-02 12:12:19 +00: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
Patrick Ohly
57f9b7c7a2 client-go/rest: contextual logging of request/response
Logging in rest.Request.Body cannot be made context-aware without an API
change. Such a change is complicated if done in a backwards-compatible
fashion (must change lots of callers in Kubernetes) and prohibitive if not (all
callers of Body would have to pass a context).

Instead, logging of the request body gets moved into the functions which send
the request. This is a change of behavior, but it is limited to log levels >= 8
and thus should have no impact in production.

A request which gets sent multiple times will also log the body multiple
times. This might even be a good thing because it serves as reminder what is
being sent when it is being sent.

While at it, stack backtracing gets enhanced so that the caller of the REST API
is logged and tests for the new behavior get added.
2024-09-02 11:21:01 +02: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
Kensei Nakada
110d28355d feat(scheduler): support inflight_events metric 2024-09-02 10:16:43 +09: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
Daman Arora
ae3b5dbdc6 bump: github.com/vishvananda/netlink to v1.3.0
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-08-31 20:11:16 +05:30
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
googs1025
754ad2001f fix(kubelet): register ImageGarbageCollectedTotal metrics 2024-08-30 22:45:07 +08: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
Sascha Grunert
6bd3bb5881
Allow using SELinux on image volume e2e test
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-08-30 10:43:15 +02:00
Kubernetes Prow Robot
de6db3ffb0
Merge pull request #126758 from my-git9/dryrun-ut
kubeadm: increase ut coverage for util/dryrun
2024-08-30 06:33:30 +01:00
xin.li
6f7f49c3df kubeadm: increase ut coverage for util/dryrun
Signed-off-by: xin.li <xin.li@daocloud.io>
2024-08-30 10:53:04 +08:00
Kubernetes Prow Robot
c93f93c714
Merge pull request #127006 from deads2k/clarify-local-ref
clarify that new usages of generic *ObjectReference structs are discouraged
2024-08-30 00:25:31 +01:00
David Eads
39c6f57b54 generated 2024-08-29 15:27:30 -04:00
Kubernetes Prow Robot
baf11b01c5
Merge pull request #126989 from cpanato/update-rules
Update publishing-bot rules to Go 1.22.6
2024-08-29 19:33:31 +01:00