Commit Graph

132224 Commits

Author SHA1 Message Date
Michael Fritch
ce2375645d Don't Panic, everything is fine
control plane components share global DefaultFeatureGate/DefaultMutableFeatureGate variables

See also:
9497222ae2..db342010f4

Signed-off-by: Michael Fritch <mfritch@suse.com>
2026-05-12 17:01:59 -03:00
Michael Fritch
e27e0c2c0d Update DefaultKubeBinaryVersion during each minor release
Signed-off-by: Michael Fritch <mfritch@suse.com>
2026-05-12 17:01:59 -03:00
Vitor Savian
774ef25bfd Fix typo and remove default scheduler config 2026-05-12 17:01:59 -03:00
galal-hussein
6bff58a4aa Add the ability to add extra admission plugins
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2026-05-12 17:01:59 -03:00
galal-hussein
286051f53f Ignore nfacct init error in kube-proxy
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2026-05-12 17:01:59 -03:00
Erik Wilson
36570b2be6 Add Vagrantfile 2026-05-12 17:01:59 -03:00
Darren Shepherd
f9aa18d9f2 Add tag.sh script
Add DefaultKubeBinaryVersion to the tag script

Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2026-05-12 17:01:59 -03:00
Darren Shepherd
96af8d59b3 Fix CSI initialization conflict
CSI is used by both the kubelet and kube-controller-manager.  Both
components will initialize the csiPlugin with different VolumeHost
objects.  The csiPlugin will then assign a global variable for
the node info manager.  It is then possible that the kubelet gets
the credentials of the kube-controller-manager and that will cause
CSI to fail.
2026-05-12 17:01:59 -03:00
Darren Shepherd
9c4c38189a Allow override of "kubernetes" endpoint port 2026-05-12 17:01:59 -03:00
Darren Shepherd
72b729572f Notify startup to grab a hold of handler and authenticator
Fix to the completed options config

Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2026-05-12 17:01:59 -03:00
Darren Shepherd
d96ec7f2c8 Add stopCh to apiserver & context to kublet commands
Remove SetupSignalContext call from the apiserver

Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2026-05-12 17:01:59 -03:00
Erik Wilson
07013c45dc Update kubernetes service on start for port changes 2026-05-12 17:01:59 -03:00
Darren Shepherd
1f81f54c0d Don't ever select the flannel bridge or cni bridge 2026-05-12 17:01:59 -03:00
Darren Shepherd
87165e72bc Cache loopback cert in the certs dir if set 2026-05-12 17:01:59 -03:00
Darren Shepherd
bcf2d90638 Add ability to disable proxy hostname check 2026-05-12 17:01:59 -03:00
Darren Shepherd
32fc8778a2 Hide deprecated warnings 2026-05-12 17:01:59 -03:00
Darren Shepherd
d595bf34ba Set all sources so node+agent in the same process doesn't get restricted 2026-05-12 17:01:59 -03:00
Darren Shepherd
6f90accfe4 Don't check for cpuset cgroup, not always required? 2026-05-12 17:01:59 -03:00
Darren Shepherd
f67f56b1a1 Wait for kube-apiserver for 2 minutes for slow (ARM) systems 2026-05-12 17:01:59 -03:00
Darren Shepherd
41c4af0a08 Make kubelet.sock path changable 2026-05-12 17:01:59 -03:00
Darren Shepherd
30b227fce0 only use the resolved name if port was zero 2026-05-12 17:01:59 -03:00
Darren Shepherd
65e4aba7b8 If you can't set hashsize on nf_conntrack don't fail 2026-05-12 17:01:59 -03:00
Darren Shepherd
c424196fe5 Drop credential providers 2026-05-12 17:01:59 -03:00
Darren Shepherd
f4ab87ba1a Drop storage plugins 2026-05-12 17:01:59 -03:00
Darren Shepherd
6d1a0ee992 Drop client-go cloud auth 2026-05-12 17:01:59 -03: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
Kubernetes Release Robot
96119999dc Update CHANGELOG/CHANGELOG-1.34.md for v1.34.7 2026-04-15 18:20:20 +00:00
Kubernetes Release Robot
66d3c15b9a Release commit for Kubernetes v1.34.7 v1.34.7 2026-04-15 18:09:03 +00:00