Commit Graph

21411 Commits

Author SHA1 Message Date
992c2d87c4 mzq-test 2025-07-24 19:50:01 +08:00
rafaelbreno[commit]
a168768fe0 v1.31.8-k3s1 2025-04-23 16:42:12 +00:00
Darren Shepherd
40190770fb Allow override of "kubernetes" endpoint port 2025-04-23 13:20:06 -03:00
Darren Shepherd
c7e736dc03 Don't ever select the flannel bridge or cni bridge 2025-04-23 13:20:06 -03:00
Darren Shepherd
a7c8b847d3 Cache loopback cert in the certs dir if set 2025-04-23 13:20:06 -03:00
Darren Shepherd
f39bcb4def Make kubelet.sock path changable 2025-04-23 13:20:06 -03:00
Darren Shepherd
29752c9c3d only use the resolved name if port was zero 2025-04-23 13:20:06 -03:00
Wojciech Tyczyński
de2117a41c Fix race for sending errors in watch 2025-04-03 08:47:31 +01:00
Kubernetes Prow Robot
f165a1dc46 Merge pull request #130084 from richabanker/automated-cherry-pick-of-#128430-upstream-release-1.31
Automated cherry pick of #128430: do not install handler for '/metrics/slis' endpoint using sync.Once
2025-03-06 04:53:44 -08:00
Kubernetes Prow Robot
11fefab875 Merge pull request #130156 from AwesomePatrol/automated-cherry-pick-of-#130113-upstream-release-1.31
Automated cherry pick of #130113: Make ResourceQuota LIST requests only when Informer is not synced
2025-02-24 07:50:28 -08:00
Kubernetes Prow Robot
6476cf7cc9 Merge pull request #130194 from liggitt/go-1.23-1.31
[release-1.31][go1.23] Build with go 1.23.6
2025-02-20 02:50:27 -08:00
Wei Fu
e8b0252a41 proxy: should add PingPeriod for websocket translator
IIUC, before using the translator handler, the ping data can be delivered from
the client to the runtime side since kube-apiserver does not parse any client
data. However, with WebSocket, the server responds with a pong to the client
without forwarding the data to the runtime side. If a proxy is present, it may
close the connection due to inactivity. SPDY's PingPeriod can help address this
issue.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
Co-authored-by: Antonio Ojea <aojea@google.com>
(cherry picked from commit dc59c0246fb407dcf035afc224f63fcf0da8244e)
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2025-02-18 21:09:33 -05:00
Jordan Liggitt
3a9f05a1e6 Bump to build with go 1.23.6 2025-02-15 15:40:08 -05:00
Aleksander Mistewicz
c1cddd5fff Limit ResourceQuota LIST requests to times when informer is not synced
This should reduce the number of slow (100ms) LIST requests when there
are no ResourceQuota objects present in the namespace. The behavior
stays virtually the same.
2025-02-14 07:54:16 +01:00
Richa Banker
19ebee96b2 Add tests 2025-02-10 14:39:06 -08:00
Richa Banker
93a63da852 do not install handler for /metrics/slis using sync.Once 2025-02-10 14:35:20 -08:00
cpanato
4e49e903c7 Bump images, dependencies and versions to go 1.22.12 and distroless iptables
Signed-off-by: cpanato <ctadeu@gmail.com>
2025-02-10 14:30:58 -06:00
cpanato
56652a09ee Bump images, dependencies and versions to go 1.22.11 and distroless iptables
Signed-off-by: cpanato <ctadeu@gmail.com>
2025-02-03 18:42:09 +01:00
Kubernetes Prow Robot
1c1db14595 Merge pull request #128940 from jpbetz/automated-cherry-pick-of-#128737-upstream-release-1.31
Automated cherry pick of #128737: Fix potential nil pointer dereference in selectable fields check
2025-01-30 04:53:23 -08:00
Kubernetes Prow Robot
c74754fee6 Merge pull request #129741 from bobsongplus/automated-cherry-pick-of-#129629-upstream-release-1.31
Automated cherry pick of #129629: Fix: touch /dev/null permission denied on macos
2025-01-28 04:21:32 -08:00
Kubernetes Prow Robot
d7fc7e30cb Merge pull request #129519 from kishen-v/automated-cherry-pick-of-#127422-upstream-release-1.31
Automated cherry pick of #127422: Fix Go vet errors for master golang
2025-01-22 11:10:37 -08:00
song
c5958ed889 Fix: touch /dev/null permission denied on macos
Signed-off-by: song <tinysong1226@gmail.com>
2025-01-22 09:23:19 +08:00
Ankit Gohil
ae081128a3 Fix Portworx plugin's CSI translation to copy secret name & namespace 2025-01-17 06:04:48 +00:00
Aravindh Puthiyaparambil
c94919d68b kubelet: use env vars in node log query PS command
- Use environment variables to pass string arguments in the node log
  query PS command
- Split getLoggingCmd into getLoggingCmdEnv and getLoggingCmdArgs
  for better modularization
2025-01-13 14:46:05 -08:00
Abhishek Kr Srivastav
9d10ddb060 Fix Go vet errors for master golang
Co-authored-by: Rajalakshmi-Girish <rajalakshmi.girish1@ibm.com>
Co-authored-by: Abhishek Kr Srivastav <Abhishek.kr.srivastav@ibm.com>
2025-01-08 15:11:34 +05:30
Madhav Jivrajani
774adff447 webhook: alter regex to account for x509sha1 GODEBUG removal
go1.24 removes the x509sha1 GODEBUG variable, and with it the
support for SHA-1 signed certs. This commit alters the regex
in unit tests to account for that and prep for go1.24.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2025-01-06 15:08:09 -08:00
cpanato
eb8c239955 Bump images, dependencies and versions to go 1.22.10 and distroless iptables
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-12-30 09:13:26 +01:00
umagnus
80964efae9 fix isLikelyNotMountPointStatx relative path issue 2024-11-27 13:29:30 +00:00
jyh071116
4fd0809717 Fix nil pointer dereference in selectable fields check When checking specVersion.SelectableFields, if specVersion is nil, a nil pointer dereference could occur. This change updates the conditional to use || instead of &&, ensuring that the check for specVersion being nil happens first, avoiding potential runtime panics.
Additionally, a new test case has been added to validate this condition, ensuring safe handling of nil values for specVersion and empty SelectableFields.
Signed-off-by: pirates <whalehunting.bob@gmail.com>
2024-11-22 10:36:52 -05:00
cpanato
779a0827ab Bump images, dependencies and versions to go 1.22.9 and distroless iptables
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-11-21 14:55:35 +01:00
Kubernetes Prow Robot
c9e75e73f4 Merge pull request #128236 from carlory/automated-cherry-pick-of-#128182-upstream-release-1.31
Automated cherry pick of #128182: Fix crash on kube manager's service-lb-controller after v1.31.0.
2024-11-12 09:13:00 +00:00
Wojciech Tyczyński
7682b74271 Fix TestCacherDontMissEventsOnReinitialization test 2024-11-04 09:25:58 +01:00
Kubernetes Prow Robot
6d1bcd738f Merge pull request #127928 from p0lyn0mial/automated-cherry-pick-of-#127902-upstream-release-1.31
Automated cherry pick of #127902: server/config: assing system:apiserver user to system:authenticated group
2024-11-01 00:15:26 +00:00
carlory
fb63fe6926 Fix crash on kube manager's service-lb-controller after v1.31.0.
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2024-10-22 10:19:54 +08:00
Haitao Chen
de071d2739 bump golang to 1.22.8 2024-10-16 10:38:04 -07:00
Kubernetes Prow Robot
87bc649cbb Merge pull request #127328 from xuzhenglun/automated-cherry-pick-of-#127239-github-release-1.31
Automated cherry pick of #127239: API emulation versioning honors cohabitating resources
2024-10-10 13:30:23 +01:00
Kubernetes Prow Robot
36493b1849 Merge pull request #126983 from dashpole/fix_mem_leak_31
Cherrypick of #126957 on 1.31: Fix memory leak from global OpenTelemetry MeterProvider
2024-10-09 12:50:22 +01:00
Lukasz Szaszkiewicz
32286d571d server/config: assing system:apiserver user to system:authenticated group 2024-10-08 14:12:25 +02:00
Haitao Chen
a732fb1167 bump to go 1.22.7 2024-09-24 10:25:43 -07:00
xuzhenglun
880e026a07 API emulation versioning honors cohabitating resources 2024-09-13 00:39:55 +08:00
David Ashpole
924414d232 update vendor 2024-08-29 00:08:09 +00:00
David Ashpole
b42f8d32b5 fix memory leak from global MeterProvider 2024-08-29 00:05:38 +00:00
cpanato
d539a38837 Bump images, dependencies and versions to go 1.22.6 and distroless iptables
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-08-28 16:33:54 +02:00
Tim Hockin
62e601a95a fix v1a3 ResourceSliceList metadata field name
This field was incorrectly named "listMeta" and was missed in review.
2024-08-17 12:12:57 -07:00
Jordan Liggitt
906d15782c Restore honoring --version build ID overrides 2024-08-13 21:52:32 -04:00
Maciej Szulik
fad6c424ac wait: don't lowercase condition in --for argument 2024-08-12 16:59:17 +02:00
Kubernetes Prow Robot
f8d5b2074c Merge pull request #126489 from mehabhalodiya/bump-publishing-131
releng: update publishing bot rules for 1.31
2024-07-31 13:32:20 -07:00
mehabhalodiya
017d7b8387 releng: update publishing bot rules for 1.31
Signed-off-by: mehabhalodiya <mehabhalodiya@gmail.com>
2024-07-31 22:40:42 +05:30
Marek Siarkowicz
bb686f2033 Make object transformation concurrent to remove watch cache scalability issue for conversion webhook
Test by enabling consistent list from cache in storage version migrator stress test that uses
conversion webhook that bottlenects events comming to watch cache.

Set concurrency to 10, based on maximum/average transform latency when
running stress test. In my testing max was about 60-100ms, while average
was 6-10ms.
2024-07-31 18:30:46 +02:00
Marek Siarkowicz
93a10a7569 Introduce ConcurrentWatchObjectDecode feature gate disabled by default 2024-07-31 18:30:45 +02:00