Commit Graph

132226 Commits

Author SHA1 Message Date
Erik Wilson
c6b4eb7405 Update kubernetes service on start for port changes 2026-06-12 11:51:48 -03:00
Darren Shepherd
46b2910c26 Don't ever select the flannel bridge or cni bridge 2026-06-12 11:51:48 -03:00
Darren Shepherd
9efedc0e11 Cache loopback cert in the certs dir if set 2026-06-12 11:51:48 -03:00
Darren Shepherd
d14946b848 Add ability to disable proxy hostname check 2026-06-12 11:51:48 -03:00
Darren Shepherd
3316d818d0 Hide deprecated warnings 2026-06-12 11:51:48 -03:00
Darren Shepherd
5e4252db75 Set all sources so node+agent in the same process doesn't get restricted 2026-06-12 11:51:48 -03:00
Darren Shepherd
e3bbfbff91 Don't check for cpuset cgroup, not always required? 2026-06-12 11:51:48 -03:00
Darren Shepherd
0a3519e98a Wait for kube-apiserver for 2 minutes for slow (ARM) systems 2026-06-12 11:51:48 -03:00
Darren Shepherd
546c741f1c Make kubelet.sock path changable 2026-06-12 11:51:48 -03:00
Darren Shepherd
e3e6ad6c8f only use the resolved name if port was zero 2026-06-12 11:51:48 -03:00
Darren Shepherd
88251738c2 If you can't set hashsize on nf_conntrack don't fail 2026-06-12 11:51:48 -03:00
Darren Shepherd
f5bbc85029 Drop credential providers 2026-06-12 11:51:48 -03:00
Darren Shepherd
707f13257e Drop storage plugins 2026-06-12 11:51:48 -03:00
Darren Shepherd
77fe6c857c Drop client-go cloud auth 2026-06-12 11:51:47 -03:00
Kubernetes Release Robot
ad7c7374b7 Release commit for Kubernetes v1.34.9 v1.34.9 2026-06-11 17:37:08 +00:00
Kubernetes Prow Robot
3beec0e9af Merge pull request #139589 from cpanato/update-go-images-rel134
[release-1.34] [go]Bump images and versions to go 1.25.11 and distroless iptables
2026-06-09 21:31:40 +05:30
Carlos Panato
2a666d32a1 Bump images and versions to go 1.25.11 and distroless iptables
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2026-06-09 15:17:32 +02:00
Kubernetes Prow Robot
5f6d054450 Merge pull request #139448 from HirazawaUi/automated-cherry-pick-of-#139339-upstream-release-1.34
Automated cherry pick of #139339: kubeadm: fix dry-run CA copy paths in init certs
2026-06-08 18:09:40 +05:30
Kubernetes Prow Robot
fa9b66de64 Merge pull request #139235 from rahulbabu95/automated-cherry-pick-of-#138736-upstream-release-1.34
Automated cherry pick of #138736: fix: avoid panic on services with empty IPFamilies
2026-06-08 16:27:52 +05:30
Kubernetes Prow Robot
5815885aac Merge pull request #139230 from aramase/automated-cherry-pick-of-#139045-upstream-release-1.34
Automated cherry pick of #139045: fix(csi): preserve mount dir when NodePublish fails on a remount
2026-06-08 16:27:45 +05:30
Kubernetes Prow Robot
e66083b755 Merge pull request #139194 from liggitt/env-binary-1.34
[1.34] Restore ability to plumb binary data through envvar values
2026-06-08 12:08:32 +05:30
bo.jiang
718d9e6d53 kubeadm: fix dry-run CA copy paths in init certs
Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
2026-06-02 23:20:40 +08:00
Rahul
b135fbae16 fix(endpoint): avoid panic on services with empty IPFamilies
Accessing svc.Spec.IPFamilies[0] without a bounds check panics when a
service reaches the controller with an empty IPFamilies field. This can
happen via watch events: the apiserver's defaultOnRead decorator populates
IPFamilies on GET/LIST but not on watch (cachingObject wrapping bypasses
the type assertion).

Restore the inference logic removed in #130101: fall back to ClusterIP
for headful services and pod IP for headless services.

Signed-off-by: Rahul <rahulbabu95@gmail.com>
2026-05-21 13:38:07 -07:00
Anish Ramasekar
1b82d45b7b fix(csi): preserve mount dir on NodePublish error during remount
On a remount (e.g. CSIDriver.spec.requiresRepublish=true), the volume is
already published and the pod is observing the existing bind mount.
Removing the mount dir on a NodePublish error left the pod with stale
contents that subsequent successful republishes could not repair.
2026-05-21 15:13:13 -05:00
Anish Ramasekar
58b0072283 feat(volume): add IsRemount to MounterArgs
Thread the reconciler's existing isRemount signal into MounterArgs so
volume plugins can distinguish an initial publish from a republish
(e.g. CSIDriver.spec.requiresRepublish=true). No behavior change.
2026-05-21 15:10:35 -05:00
Jordan Liggitt
1e8b97d197 Restore ability to plumb binary data through envvar values 2026-05-20 14:06:17 -04:00
Kubernetes Release Robot
811df220eb Update CHANGELOG/CHANGELOG-1.34.md for v1.34.8 2026-05-12 10:01:17 +00:00
Kubernetes Release Robot
1f328c5e9d Release commit for Kubernetes v1.34.8 v1.34.8 2026-05-12 09:50:01 +00:00
Kubernetes Prow Robot
bbb720ba10 Merge pull request #138960 from neolit123/automated-cherry-pick-of-#138957-origin-release-1.34
Automated cherry pick of #138957: kubeadm: use dedicated ClusterRole for apiserver kubelet client
2026-05-11 17:53:51 +05:30
Micah Hausler
3eb96fe62c kubeadm: use dedicated ClusterRole for apiserver kubelet client
Signed-off-by: Micah Hausler <mhausler@amazon.com>
2026-05-11 11:26:00 +02:00
Kubernetes Prow Robot
c269bd0f5b Merge pull request #138503 from soltysh/automated-cherry-pick-of-#138499-upstream-release-1.34
Automated cherry pick of #138499: Ensure the path inside the container is correctly handled
2026-05-09 04:05:18 +05:30
Kubernetes Prow Robot
02f0caa931 Merge pull request #138156 from alimaazamat/automated-cherry-pick-of-#131950-upstream-release-1.34
Automated cherry pick of #131950: PodStartSLIDuration should exclude init container runtime, image pulling time, stateful pods, not immediately schedulable pods
2026-05-09 00:25:19 +05:30
Kubernetes Prow Robot
ea5d59e754 Merge pull request #138385 from hoskeri/automated-cherry-pick-of-#134193-upstream-release-1.34
Automated cherry pick of #134193: Fix IPv6 allocator for /64 CIDRs
2026-05-08 18:35:19 +05:30
Kubernetes Prow Robot
96c9676d7c Merge pull request #138804 from neolit123/automated-cherry-pick-of-#138692-origin-release-1.34
Automated cherry pick of #138692: kubeadm: skip LocalAPIEndpoint defaulting on worker join
2026-05-08 17:21:16 +05:30
Seena Fallah
8e92749f0f kubeadm: skip LocalAPIEndpoint defaulting on worker join
FetchInitConfigurationFromCluster always called SetAPIEndpointDynamicDefaults,
which invokes ChooseAPIServerBindAddress and requires a default route on the
host. Worker nodes joining the cluster don't need a LocalAPIEndpoint and may
legitimately have no default route, causing kubeadm join to fail with:

```
unable to fetch the kubeadm-config ConfigMap: unable to select an IP from
default routes.
```

Add a skipAPIEndpoint parameter to SetInitDynamicDefaults and pass
`!getAPIEndpoint` from FetchInitConfigurationFromCluster, so the endpoint
defaulter is bypassed when the caller did not request the endpoint (worker
join, non-control-plane reset/certs/upgrade paths).

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2026-05-06 11:09:13 +02:00
Kubernetes Prow Robot
358698b866 Merge pull request #138637 from aojea/automated-cherry-pick-of-#138571-upstream-release-1.34
Automated cherry pick of #138571: kube-proxy: don't do full periodic syncs on large cluster mode
2026-05-06 07:52:20 +05:30
Kubernetes Prow Robot
26556cd9a2 Merge pull request #138685 from neolit123/automated-cherry-pick-of-#138449-origin-release-1.34
Automated cherry pick of #138449: kubeadm: use the localAPIEndpoint for all API calls in 'init'
2026-05-05 21:22:23 +05:30
Kubernetes Prow Robot
6b941f8fb5 Merge pull request #138601 from princepereira/automated-cherry-pick-of-#138000-upstream-release-1.34
Automated cherry pick of #138000: Delete remote endpoint if it has same ip as local endpoint in the system.
2026-05-05 08:04:22 +05:30
Lubomir I. Ivanov
d0c333c3df kubeadm: use the localAPIEndpoint for all API calls in 'init'
Historicaly the kubeadm clients have used the 'admin.conf'
and 'super-admin.conf' directly, which makes all API calls
go trough the CPE (control plane endpoint). This can create
problems for scenarios when the LB is provisioned only after
'init' starts the kube-apiserver.

Instead of using the '.conf' as they are, modify them
in memory to point to the LAE (localAPIEndpoint).
This was already done by the WaitControlPlaneClient for
the WaitControlPlane phase, which required it. This separate
client is no longer needed.

However, do use a unmodified kubeconfig to the init phase
bootstrap-token since this is the phase that creates
the cluster-info CM and for that we need the original CPE
server address.
2026-04-29 17:43:52 +02:00
Antonio Ojea
2df7128224 kube-proxy: don't do full periodic syncs on large cluster mode
Periodic full-syncs are just reconcile loops just in case somehow
the dataplane has drifted, however, they have an important cost on large
clusters.

We can avoid to perform full-sync if kube-proxy is in the "largecluster"
mode, we are already doing some optimization, so it is reasonable to
avoid the penalty of a full sync for a "just in case" operation.

Signed-off-by: Antonio Ojea <aojea@google.com>
2026-04-28 07:50:06 +00:00
Prince Pereira
ce035f3a11 Delete remote endpoint if it has same ip as local endpoint in the system. 2026-04-26 09:52:12 +00:00
Prince Pereira
b13bd47041 Delete remote endpoint if it has same ip as local endpoint in the system. 2026-04-26 09:52:12 +00:00
Kubernetes Prow Robot
5e9c8f7def Merge pull request #138540 from ahrtr/automated-cherry-pick-of-#138403-upstream-release-1.34
Automated cherry pick of #138403: kubeadm: Evaluate etcd cluster health using quorum
2026-04-23 18:46:48 +05:30
Benjamin Wang
a15a8c9795 Add a (*Client) addEndpoint method
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2026-04-23 09:15:42 +01:00
Benjamin Wang
ca1b774484 Evaluate etcd cluster health using quorum
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2026-04-23 09:15:42 +01:00
Kubernetes Prow Robot
d5ee4e9398 Merge pull request #138435 from Argh4k/automated-cherry-pick-of-#138324-upstream-release-1.34
Automated cherry pick of #138324: scheduler: fix inFlightPods leak when pod is recreated during scheduling failure
2026-04-22 18:57:52 +05:30
Maciej Szulik
8aebf0222e Escape path inside the container
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2026-04-21 10:55:43 +02:00
Samarth Verma
df429e2556 scheduler: address recreated pod review feedback 2026-04-17 07:09:19 +00:00
Samarth Verma
d7fec89097 scheduler: skip requeueing recreated pods on scheduling failure 2026-04-17 07:06:31 +00:00
Samarth Verma
0fbabbac98 scheduler: fix inFlightPods leak when pod is recreated during scheduling failure
handleSchedulingFailure can refresh podInfo from the informer before AddUnschedulableIfNotPresent. A delete and recreate with the same name may change the Pod UID while inFlightPods still tracks the UID from Pop, so Done and queueing-hint lookups must use that in-flight UID.

Add an explicit in-flight UID parameter, thread it through queueing-hint lookups, cover the same-name recreation case with a regression test, and check the returned error in updated test call sites.
2026-04-17 07:04:00 +00:00