Commit Graph

122070 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
100f19e070
Merge pull request #126251 from neolit123/automated-cherry-pick-of-#126224-origin-release-1.30
Automated cherry pick of #126224: kubeadm: fix join bug where kubeletconfig was not patched in
2024-07-29 02:12:25 -07:00
Kubernetes Prow Robot
5df0453fb0
Merge pull request #126153 from xyz-li/cherrpick-125145-130
cherry pick of #125145 apiserver fix watch namespace
2024-07-29 02:12:16 -07:00
Kubernetes Prow Robot
18c3e042b2
Merge pull request #126146 from xyz-li/cherrypick-124568
Cherry pick of #124568 fix ValidatingAdmissionPolicyList json tag
2024-07-29 02:12:07 -07:00
Kubernetes Prow Robot
bf224e388b
Merge pull request #125839 from mengjiao-liu/automated-cherry-pick-of-#125690-upstream-release-1.30
Automated cherry pick of #125690: Fixed metrics missing issue for metrics reference page
2024-07-29 02:11:58 -07:00
Kubernetes Prow Robot
9258988b20
Merge pull request #125481 from neolit123/automated-cherry-pick-of-#125480-origin-release-1.30
Automated cherry pick of #125480: kubeadm: fix a bug in
2024-07-29 02:11:40 -07:00
Kubernetes Prow Robot
26166e3fc8
Merge pull request #126245 from andyzhangx/automated-cherry-pick-of-#126174-upstream-release-1.30
Automated cherry pick of #126174: mount-utils: treat syscall.ENODEV as corrupted mount
2024-07-29 01:02:26 -07:00
Lubomir I. Ivanov
4892aa46b2 kubeadm: fix join bug where kubeletconfig was not patched in memory
During kubeadm join in 1.30 kubeadm started respecting
the kubeletconfiguration healthz address/port. Previously
it hardcoded the health check to localhost:defaultport.

A corner case was not handled where the user applies --patches
on join to modify the local kubeletconfiguration. This results
in kubeletconfiguration patch target patches not being applied to
the KubeletConfiguration in memory and the health check
running on the address:port which are present in the kubelet-config
configmap.

Fix that by explicitly calling a new function to patch the
KubeletConfiguration in memory. This is scoped to only handle
the healthz checks *after* the kubelet config.yaml was already
patched and written to disk.
2024-07-20 22:24:17 +03:00
Jonathan Dobson
b000817c8b mount-utils: treat syscall.ENODEV as corrupted mount 2024-07-20 13:46:14 +00:00
Kubernetes Prow Robot
c052f64689
Merge pull request #126059 from mimowo/automated-cherry-pick-of-#126046-upstream-release-1.30
Automated cherry pick of #126046: Use omitempty for optional fields in Job Pod Failure Policy
2024-07-18 02:00:11 -07:00
Kubernetes Prow Robot
105481db59
Merge pull request #126115 from mimowo/automated-cherry-pick-of-#125404-upstream-release-1.30
Automated cherry pick of #125404: Fix that PodIP field is not set for terminal pod
2024-07-17 12:08:34 -07:00
xyz-li
d926cbf559 apiserver: fix watch namespace
For request like '/api/v1/watch/namespaces/*', don't set scope.namespace.
Because the func `addWatcher` add a watcher to allWatchers with the value `scope.namespace` not empty.
But the function `dispatchEvent` dispatch event with an empty namespace.

Signed-off-by: xyz-li <hui0787411@163.com>
2024-07-17 17:15:33 +08:00
xyz-li
de002a7ea5 api: fix ValidatingAdmissionPolicyList json tag
This change make api-server not omity the field `item` of
ValidatingAdmissionPolicyList when ValidatingAdmissionPolicy is empty.
So kubetl will print ValidatingAdmissionPolicyList correctly when ValidatingAdmissionPolicy is empty.

Signed-off-by: xyz-li <hui0787411@163.com>
2024-07-17 16:37:30 +08:00
Kubernetes Release Robot
7bda370a08 Update CHANGELOG/CHANGELOG-1.30.md for v1.30.3 2024-07-17 00:09:23 +00:00
Kubernetes Release Robot
6fc0a69044 Release commit for Kubernetes v1.30.3 2024-07-16 23:48:11 +00:00
Kubernetes Prow Robot
a3839c22b4
Merge pull request #126129 from cji/cherrypick-5321-130
Cherry pick of #126104 Add funcs in pkg/filesystem/util that can actually set file permissiosn
2024-07-16 11:43:06 -07:00
Mark Rossetti
23660a78ae Add funcs in pkg/filesystem/util that can actually set file permissiosn
on Windows and update container log dir perms to 660 on Windows
2024-07-16 15:52:42 +00:00
Michal Wozniak
3bc2fdb19c Fix that PodIP field is not set for terminal pod 2024-07-16 10:17:55 +02:00
Kubernetes Prow Robot
7e92bb98e3
Merge pull request #126023 from fxierh/automated-cherry-pick-of-#125973-origin-release-1.30
Automated cherry pick of #125973: Mark a test case which sets up a sample-apiserver as serial
2024-07-12 17:38:46 -07:00
Kubernetes Prow Robot
917b6035f6
Merge pull request #125455 from tenzen-y/automated-cherry-pick-of-#125429-upstream-release-1.30
Automated cherry pick of #125429: Job: Fix a bug that the SuccessCriteriaMet condition is added
2024-07-12 17:38:39 -07:00
Michal Wozniak
877e3e49a4 Use omitempty for optional fields in Job Pod Failure Policy 2024-07-12 19:28:06 +02:00
Kubernetes Prow Robot
c6c2a46727
Merge pull request #126043 from carlory/automated-cherry-pick-of-#125767-upstream-release-1.30
Automated cherry pick of #125767: Fix pv reclaim failed due to its phase is wrongly updated to
2024-07-12 07:05:16 -07:00
carlory
b5ac4e577a Fix pv reclaim failed due to its phase is wrongly updated to the Failed state by kcm 2024-07-12 14:11:52 +08:00
Kubernetes Prow Robot
b48119a302
Merge pull request #125988 from dims/automated-cherry-pick-of-#124531-upstream-release-1.30
Automated cherry pick of #124531: gitRepo volume: directory must be max 1 level deep
2024-07-11 17:52:21 -07:00
Kubernetes Prow Robot
20597ffc22
Merge pull request #125857 from tnqn/automated-cherry-pick-of-#125675-upstream-release-1.30
Automated cherry pick of #125675: Fix endpoints status out-of-sync when the pod state changes
2024-07-11 12:40:03 -07:00
Kubernetes Prow Robot
7a7e47c923
Merge pull request #125643 from sanposhiho/automated-cherry-pick-of-#125527-upstream-release-1.30
Automated cherry pick of #125527: fix: skip isPodWorthRequeuing only when SchedulingGates
2024-07-11 05:22:56 -07:00
Kubernetes Prow Robot
40a4bcd1cb
Merge pull request #125998 from carlory/automated-cherry-pick-of-#125970-upstream-release-1.30
Automated cherry pick of #125970: defaultMaskedPaths must be kept in sync with moby/moby.
2024-07-11 03:40:15 -07:00
Feilian Xie
3b5b3a80be Mark a test case which sets up a sample-apiserver as serial due to potential conflicts with other test cases which do the same.
Signed-off-by: Feilian Xie <fxie@redhat.com>
2024-07-11 16:15:27 +08:00
carlory
95f23fd963 defaultMaskedPaths must be kept in sync with moby/moby. 2024-07-10 19:10:35 +08:00
Imre Rad
50428ed169
gitRepo volume: directory must be max 1 level deep
More details on Hackerone #2266560
2024-07-09 20:38:33 -04:00
Kubernetes Prow Robot
d27e3462ba
Merge pull request #125895 from cpanato/update-go122-rel-130
[release-1.30] [go] Bump images, dependencies and versions to go 1.22.5 and distroless iptables
2024-07-04 11:19:45 -07:00
cpanato
dc7f0cac7d
Bump images, dependencies and versions to go 1.22.5 and distroless iptables
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-07-04 16:38:30 +02:00
Quan Tian
c1aea3d7ba Fix endpoints status out-of-sync when the pod state changes rapidly
When Pod state changes rapidly, endpoints controller may use outdated
informer cache to sync Service. If the outdated endpoints appear to be
expected by the controller, it skips updating it.

The commit fixes it by checking if endpoints informer cache is outdated
when processing a service. If the endpoints is stale, it returns an
error and retries later.

Signed-off-by: Quan Tian <quan.tian@broadcom.com>
2024-07-03 15:57:21 +08:00
Mengjiao Liu
c526622e8c Fixed metrics missing issue for metrics reference page 2024-07-02 15:52:27 +08:00
Kensei Nakada
a805b38229 fix: skip isPodWorthRequeuing only when SchedulingGates gates the pod 2024-06-23 04:31:21 +00:00
Lubomir I. Ivanov
ba69c28653 kubeadm: fix a bug in v1beta3.JoinConfiguration.Discovery.Timeout
After the introduction of v1beta4 if the user inputs the old
v1beta3 discovery timeout the value is ignored. Fix that
by introducing a conversion to v1beta4.

Co-authored-by: penghez (GitHub handle)
2024-06-13 12:43:26 +03:00
Yuki Iwai
81a15801b6 Clean up the featureGates during the matchSuccessPolicy unit tests
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2024-06-12 17:27:29 +09:00
Yuki Iwai
49a2366ddb Initialize terminating field in the Job controller unit tests
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2024-06-12 15:35:23 +09:00
Yuki Iwai
46f9e4b41f Job: Fix a bug that the SuccessCriteriaMet condition is added to the Job with successPolicy even if the JobSuccessPolicy featureGate is disabled
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2024-06-12 15:17:33 +09:00
Kubernetes Release Robot
85fad5b874 Update CHANGELOG/CHANGELOG-1.30.md for v1.30.2 2024-06-11 20:49:01 +00:00
Kubernetes Release Robot
39683505b6 Release commit for Kubernetes v1.30.2 2024-06-11 20:20:59 +00:00
Kubernetes Prow Robot
60f96f5818
Merge pull request #125366 from cpanato/update-go-130
[release-1.30] [go] Bump images, dependencies and versions to go 1.22.4 and distroless iptables/setcap/debian-base
2024-06-11 03:55:56 -07:00
cpanato
47c36d4bbf
Bump images, dependencies and versions to go 1.22.4 and distroless iptables/setcap/debian-base
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-06-06 18:18:54 +02:00
Kubernetes Prow Robot
517793856d
Merge pull request #125208 from Dragoncell/fix-gpu-driver-installer
update driver installer
2024-06-06 08:10:16 -07:00
Kubernetes Prow Robot
ed1cda037c
Merge pull request #125306 from gabesaba/automated-cherry-pick-of-#125197-upstream-release-1.30
Cherry pick of #125197: [scheduler] absent key in NodeToStatusMap implies UnschedulableAndUnresolvable
2024-06-05 00:39:53 -07:00
Jiaming Xu
cd73ad187c update driver installer 2024-06-04 23:23:18 +00:00
Gabe
654c085cb1 Don't fill in NodeToStatusMap with UnschedulableAndUnresolvable 2024-06-04 09:04:10 +00:00
Gabe
1ddcf34861 Revert "scheduler: preallocation for NodeToStatusMap"
This reverts commit 9fcd791c01.
2024-06-04 09:02:07 +00:00
Kubernetes Prow Robot
20845d5c0e
Merge pull request #125081 from ardaguclu/automated-cherry-pick-of-#124883-upstream-release-1.30
Automated cherry pick of #124883: kubectl create cronjobs: Manually set OwnerReferences
2024-06-03 19:50:37 -07:00
Kubernetes Prow Robot
4c576aa3c9
Merge pull request #124848 from gabesaba/gated-fix-1.30
cherry pick #124618 to 1.30
2024-06-03 19:50:28 -07:00
Kubernetes Prow Robot
4844fb1876
Merge pull request #124676 from cici37/automated-cherry-pick-of-#124675-upstream-release-1.30
Automated cherry pick of #124675: Adding a deprecating featurer gate to fix cost
2024-06-03 17:53:14 -07:00