Commit Graph

130354 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
3d699ce0ec Merge pull request #131670 from pohly/client-go-watch-context-comment
client-go: call out WithContext inconsistency
2025-06-10 15:16:55 -07:00
Kubernetes Prow Robot
dc19f0b6b9 Merge pull request #132209 from dims/update-github.com/spf13/cobra-v1.9.1eksctl
update github.com/spf13/cobra v1.9.1
2025-06-10 12:45:03 -07:00
Kubernetes Prow Robot
fa8c5acf5e Merge pull request #131654 from vinayakankugoyal/anonGA
KEP-4633: Graduate to Stable.
2025-06-10 12:44:56 -07:00
Kubernetes Prow Robot
4db16edaa8 Merge pull request #132054 from HirazawaUi/promote-4369-to-ga
[KEP-4369]: Graduate RelaxedEnvironmentVariableValidation to GA
2025-06-10 11:19:02 -07:00
Kubernetes Prow Robot
3b1178aedd Merge pull request #131514 from cici37/ondGA
Promote feature OrderedNamespaceDeletion to GA.
2025-06-10 11:18:55 -07:00
Vinayak Goyal
26b188aaa8 KEP-4633: Graduate to Stable. 2025-06-10 17:13:15 +00:00
Kubernetes Prow Robot
447efd4c0f Merge pull request #131500 from HaraldNordgren/sort_configmaps
kubectl: sort configmap data alphabetically and simplify display format
2025-06-10 09:04:26 -07:00
HirazawaUi
ef2c18a5a0 Add more test cases 2025-06-11 00:02:48 +08:00
cici37
eb3c9a3184 Promote feature OrderedNamespaceDeletion to GA. 2025-06-10 15:41:50 +00:00
Harald Nordgren
f8b7012435 Revert "improve display format"
This reverts commit 28e7acf0f9.
2025-06-10 16:56:58 +02:00
Davanum Srinivas
449320a54a update github.com/spf13/cobra v1.9.1
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-06-10 10:50:54 -04:00
Kubernetes Prow Robot
1a200abf92 Merge pull request #132197 from dims/support-building-k8s-using-go-tip-master
Build k8s using latest commit of golang
2025-06-10 06:14:27 -07:00
Kubernetes Prow Robot
da502386e5 Merge pull request #132203 from soltysh/clean_unused
Drop unused testing manifest
2025-06-10 03:56:25 -07:00
Maciej Szulik
b2ab0ba193 Drop unused testing manifest
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-06-10 11:37:47 +02:00
Kubernetes Prow Robot
78edda21a3 Merge pull request #132191 from AwesomePatrol/pass-ctx-to-count
Add context to Count() method of storage interface
2025-06-10 00:52:26 -07:00
Aleksander Mistewicz
96b39187c5 Add context to Count()
Passing the same context will let us associate etcd traces with those
from apiserver.

Signed-off-by: Aleksander Mistewicz <amistewicz@google.com>
2025-06-10 08:45:51 +02:00
Kubernetes Prow Robot
c7331527b5 Merge pull request #132183 from chiris414362444/patch-1
Fix incorrect logging of insufficientResources in preemption
2025-06-09 20:50:24 -07:00
Davanum Srinivas
c85ac59df4 Build k8s using latest commit of golang
Run "gimme master" and use the newly built binaries. Adjust
GOROOT_BOOTSTRAP so we can use the golang that is already
on disk to build the new commit from golang.

To enable this, edit `.go-version` and set the version to
```
devel
```

and then run `make quick-release` (for example)

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-06-09 17:41:41 -04:00
Kubernetes Prow Robot
387f474920 Merge pull request #131547 from carlory/fix-incorrect-comments
fix incorrect comments
2025-06-09 10:52:24 -07:00
Kubernetes Prow Robot
11c5a45171 Merge pull request #131490 from aroradaman/skip-nfacct-test
kube-proxy: conditionally skip e2e
2025-06-09 07:42:24 -07:00
Kubernetes Prow Robot
3aa448625c Merge pull request #132149 from p0lyn0mial/upstream-watchlist-meta-client-rm
metadata client: remove support for API streaming
2025-06-09 03:38:23 -07:00
ChrisYx
b02fba7e0e Fix incorrect logging of insufficientResources in preemption
#### What type of PR is this?

/kind bug  
/sig node  
/area kubelet  
/priority backlog

#### What this PR does / why we need it:

Fixes a logging issue in `pkg/kubelet/preemption/preemption.go` where the `insufficientResources` array is logged as a pointer instead of a readable value. The current log output appears as:

``` 
insufficientResources=[0xc00bfb88c0]
```

This is not informative and makes debugging difficult.

This change ensures that the contents of `insufficientResources` are printed in a human-readable format, improving debuggability and observability.

#### Which issue(s) this PR fixes:

N/A

#### Special notes for your reviewer:

- No functional behavior is changed.
- This is purely a logging improvement.
- The change only affects verbose log level 3 (`-v=3`) and above.

#### Does this PR introduce a user-facing change?

```release-note
Fixed an issue where `insufficientResources` was logged as a pointer during pod preemption, making logs more readable.
```

#### Additional documentation:
2025-06-09 14:30:05 +08:00
Kubernetes Prow Robot
34cea34c7f Merge pull request #132176 from dims/tolerate-newer-golang/oauth2-version
tolerate newer golang/oauth2 version in TestTokenSourceTransportRoundTrip
2025-06-08 20:38:22 -07:00
Kubernetes Prow Robot
121f303d74 Merge pull request #132180 from aroradaman/iperf-output
Iperf output parsing for v2.2.0+
2025-06-08 07:50:23 -07:00
Daman Arora
fc7ba63ee8 support parsing of iperf 2.2.0 output
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2025-06-08 16:48:09 +05:30
Daman Arora
1755a9e545 fix: iperf version in comments
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2025-06-08 16:42:25 +05:30
Kubernetes Prow Robot
19aa01e61c Merge pull request #132170 from danwinship/kubelet-iptables-startup-errors
Fix kubelet iptables startup, clarify semantics of utiliptables calls.
2025-06-08 02:56:22 -07:00
HirazawaUi
0ca9c380ad update all api files 2025-06-08 12:00:14 +08:00
Davanum Srinivas
32aa52adf6 tolerate newer golang/oauth2 version
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-06-07 19:52:48 -04:00
Dan Winship
97ec8618d3 Fix kubelet iptables startup, clarify semantics of utiliptables calls. 2025-06-07 10:28:36 -04:00
HirazawaUi
6a4751da7f Graduate RelaxedEnvironmentVariableValidation Feature gate to GA 2025-06-07 20:32:03 +08:00
Kubernetes Prow Robot
43bb11b5c1 Merge pull request #131534 from aroradaman/kube-proxy-ipt-init-error-2
kube-proxy: log iptables errors in platformCheckSupported
2025-06-06 21:08:38 -07:00
Kubernetes Prow Robot
92de708958 Merge pull request #132139 from hoskeri/kubeletlog
kuberuntime_manager: don't log entire container spec.
2025-06-06 15:04:38 -07:00
Kubernetes Prow Robot
b5504bc2ae Merge pull request #132148 from soltysh/drop_poddisruptionconditions
KEP-3329: drop PodDisruptionConditions feature gate
2025-06-06 13:38:45 -07:00
Kubernetes Prow Robot
a26f3fd5c6 Merge pull request #132109 from linxiulei/jobdelay
Clean backoff record earlier
2025-06-06 13:38:38 -07:00
Abhijit Hoskeri
0d468f58c0 kuberuntime_manager: don't log entire container spec.
We shouldn't log all of spec.container because some fields
like args, env may contain sensitive data.

Most log lines involving containers log just the container.Name.
Fix the rest to match.

Change-Id: I3ca23d1f8338bdc7807ff84702222ee266730af1
2025-06-06 20:37:50 +00:00
Daman Arora
858b88bcee kube-proxy: log ipt errors during platformCheckSupported
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2025-06-07 01:14:33 +05:30
Kubernetes Prow Robot
827c36254f Merge pull request #132111 from jenshu/update-pr-template2
Update PR template with more guidance around issue links
2025-06-06 12:00:51 -07:00
Kubernetes Prow Robot
513e188697 Merge pull request #129460 from sohankunkerkar/add-test
kubelet: add coverage for identical kubelet config and drop-in config content
2025-06-06 12:00:44 -07:00
Eric Lin
1f46b3fdbf Clean backoff record earlier
Once received job deletion event, it cleans the backoff records for that
job before enqueueing this job so that we can avoid a race condition
that the syncJob() may incorrect use stale backoff records for a newly created
job with same key.

Co-authored-by: Michal Wozniak <michalwozniak@google.com>
2025-06-06 18:31:38 +00:00
Kubernetes Prow Robot
5090812df4 Merge pull request #132103 from nojnhuh/typed-ring-buffer
Replace queue.FIFOs with k8s.io/utils/buffer.Ring
2025-06-06 10:26:39 -07:00
Kubernetes Prow Robot
9c4cebb199 Merge pull request #132147 from soltysh/drop_elasticindexedjob
KEP-3715: drop ElasticIndexedJob feature gate
2025-06-06 08:16:39 -07:00
Lukasz Szaszkiewicz
0d5578b839 test/apimachinery/watchlist: prove metadata client's List method not streaming 2025-06-06 16:46:15 +02:00
Jenny Shu
5b0f0d2efa update pr template issue links section
incorporate review comments

remove newline
2025-06-06 10:40:00 -04:00
Lukasz Szaszkiewicz
a38ad3a2c6 client-go/metadata: rm watchlist 2025-06-06 16:15:43 +02:00
Maciej Szulik
beb86a8391 KEP-3329: drop PodDisruptionConditions feature gate
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-06-06 16:15:30 +02:00
Maciej Szulik
b5a8f5d0a5 KEP-3715: drop ElasticIndexedJob feature gate
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-06-06 16:08:21 +02:00
Kubernetes Prow Robot
ebd25a55e3 Merge pull request #132142 from carlory/fix-unit-test-TestNodeAffinityPriority
fix TestNodeAffinityPriority
2025-06-06 02:38:52 -07:00
carlory
0896693693 fix TestNodeAffinityPriority: calculate the priorities correctly even if PreScore is not called 2025-06-06 16:03:46 +08:00
Kubernetes Prow Robot
230b9f470a Merge pull request #131258 from ArkaSaha30/fix-pause-windows-tag
Fix `windows-pause-image-base:<tag>@<digest>` invalid reference format
2025-06-06 00:26:40 -07:00