Commit Graph

128842 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
1aef26a7eb
Merge pull request #130256 from adrianmoisey/netlink-without-tests
Add retries to some netlink calls - without tests
2025-02-19 15:52:26 -08:00
Jefftree
9e27ae2725 Remove gate for leasecandidate strategy 2025-02-19 23:17:29 +00:00
Kubernetes Prow Robot
c2b8721c3b
Merge pull request #130269 from tmmorin/fix-optimitically-typo
fix typo: optimitically -> optimistically
2025-02-19 14:38:40 -08:00
Kubernetes Prow Robot
9f8d5321f0
Merge pull request #130266 from princepereira/ppereira-winproxy-logformat
Introduced additional log formatting to windows kubeproxy.
2025-02-19 14:38:33 -08:00
Kubernetes Prow Robot
c75960c414
Merge pull request #129497 from carlory/remove-fg-AppArmorFields
Remove general available feature-gate AppArmorFields
2025-02-19 14:38:26 -08:00
Jefftree
4cc32f817a Remove cloud-provider arg for kube-apiserver in local-up-cluster.sh 2025-02-19 22:09:16 +00:00
Mark Rossetti
c186de0080
Fixing k8s.io/kubernetes/cmd/kubeadm/app/util/staticpod unit tests on Windows
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2025-02-19 12:51:19 -08:00
Mark Rossetti
697293906a
Fixing k8s.io/kubernetes/cmd/kubeadm/app/util/dryrun unit tests on Windows
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2025-02-19 12:27:34 -08:00
Tim Allclair
97cb563cae Require auth for all new Kubelet endpoints 2025-02-19 12:17:05 -08:00
Kubernetes Prow Robot
2ca9e2d28f
Merge pull request #122646 from liggitt/deletionTimestamp
prevent deletionTimestamp from moving into the past
2025-02-19 12:16:26 -08:00
Mark Rossetti
2b1b20b3b1
Fixing k8s.io/kubernetes/pkg/proxy/winkernel unit tests
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2025-02-19 11:49:53 -08:00
Lionel Jouin
993f3c361f Fix DRA flaky test for ResourceClaim device status
The previous Eventually loop was not properly checking if the pod was
scheduled and running. Thus, the node name could not be retrieved from
the pod specs. The plugin could not be retrieved and the UpdateStatus
was called on a nil object.
TestPod function is now used instead, so the test waits for the pod to
be scheduled. The Eventually loop to get the pod and resourceClaim is
then no longer needed.

Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
2025-02-19 20:34:38 +01:00
sunnylovestiramisu
21f899596e Promote AnyVolumeDataSource to GA 2025-02-19 17:58:09 +00:00
Kubernetes Prow Robot
f0077a3689
Merge pull request #130221 from soltysh/flake_129779
Add more log information to help debug flake #129779
2025-02-19 06:46:26 -08:00
Kubernetes Prow Robot
77667834b0
Merge pull request #130047 from HirazawaUi/modify-loopback-cert-valid-period
Extending loopback certificate validity in kube-apiserver
2025-02-19 05:30:26 -08:00
Thomas Morin
293a6c5c91 fix typo: optimitically -> optimistically
Signed-off-by: Thomas Morin <thomas.morin@orange.com>
2025-02-19 13:41:24 +01:00
HirazawaUi
553e9bf84d adjusting loopback certificate validity in kube-apiserver 2025-02-19 20:15:33 +08:00
Marek Siarkowicz
9988145383 Ensure that btree threadedStoreIndexer implements orderedLister 2025-02-19 11:52:47 +01:00
Prince Pereira
3d007532e0 Introduced additional log formatting to windows kubeproxy. 2025-02-19 01:44:39 -08:00
Kubernetes Prow Robot
7fc8a86381
Merge pull request #130190 from nkeert/test-validate-deferredResponseWriter-for-multiple-writes
Add a test to validate deferredResponseWriter on multiple writes
2025-02-19 01:42:27 -08:00
Adrian Moisey
faf6dc1313
Add retries to runner.List() 2025-02-19 08:29:06 +02:00
Adrian Moisey
b6f49d0728
Add retries to conntracker.ClearEntries()
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2025-02-19 08:29:06 +02:00
Adrian Moisey
90a42e0dc0
Add retries to conntracker.ListEntries()
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2025-02-19 08:29:05 +02:00
Tim Allclair
84ec78ede7 Extract pod allocation manager from status manager 2025-02-18 19:49:41 -08:00
Tim Allclair
81e54a2a01 Move allocation state out of statusmanager 2025-02-18 19:49:41 -08:00
Kubernetes Prow Robot
728dc0d8c7
Merge pull request #130249 from seans3/bump-websockets-version
Update gorilla/websockets library from 1.5.0 to latest 1.5.3
2025-02-18 19:26:26 -08:00
Kubernetes Prow Robot
717d9f13f3
Merge pull request #130238 from soltysh/subresource_stable
Update kubetl subresource to stable
2025-02-18 18:08:33 -08:00
Kubernetes Prow Robot
bff54e4020
Merge pull request #130013 from yongruilin/crd-racheting-ga
KEP-4008: promote CRDValidationRatcheting to GA
2025-02-18 18:08:25 -08:00
Sean Sullivan
3100bbab2f Update gorilla/websockets library from 1.5.0 to latest 1.5.3 2025-02-19 00:26:21 +00:00
Kubernetes Prow Robot
0e3a247859
Merge pull request #130083 from elizabeth-dev/replace-network-e2e-replicationcontrollers-5
test(network): replace calls to e2erc.RunRC with Deployments in SIG Network tests
2025-02-18 15:06:26 -08:00
Kubernetes Prow Robot
0d996fee31
Merge pull request #130202 from SataQiu/fix-20250216
kubeadm: fix panic when no UpgradeConfiguration was found in the config file
2025-02-18 13:24:33 -08:00
Kubernetes Prow Robot
c38aad07a8
Merge pull request #130186 from tallclair/resize-status-cache
Move PodResizeStatus cache out of allocated state
2025-02-18 13:24:26 -08:00
Kubernetes Prow Robot
821bc2e15e
Merge pull request #130128 from adrianmoisey/bump-kep-4427-to-beta
Bump KEP-4427 : AllowRelaxedDNSSearchValidation to Beta
2025-02-18 12:10:34 -08:00
Kubernetes Prow Robot
4f925a63a0
Merge pull request #130098 from danwinship/deprecate-endpoints
Mark v1.Endpoints deprecated
2025-02-18 12:10:26 -08:00
Kubernetes Release Robot
72b404f6aa CHANGELOG: Update directory for v1.33.0-alpha.2 release 2025-02-18 18:58:13 +00:00
Tim Allclair
3f4ef42e9a Move PodResizeStatus cache out of allocated state 2025-02-18 09:19:23 -08:00
Jan Safranek
d3eb639313 selinux: add tests for SELinuxController
Squeeze them into existing kubelet metric tests. The tests would have very
similar setup + cleanup.
2025-02-18 17:44:13 +01:00
Elizabeth Martin Campos
e15fd43d81
test(network): replace calls to e2erc.RunRC with Deployments in service latency tests
See #119021
2025-02-18 17:42:00 +01:00
Elizabeth Martin Campos
cd0df9786e
test(network): replace calls to e2erc.RunRC with Deployments in service proxying tests
See #119021
2025-02-18 17:41:12 +01:00
Rodrigo Campos
7deb49e3a6 Revert "Enforce the Minimum Kernel Version 6.3 for UserNamespacesSupport feature"
This reverts commit 8597b343fa.

I wrote in the Kubernetes documentation:

	In practice this means you need at least Linux 6.3, as tmpfs started
	supporting idmap mounts in that version. This is usually needed as
	several Kubernetes features use tmpfs (the service account token that is
	mounted by default uses a tmpfs, Secrets use a tmpfs, etc.)

The check is wrong for several reasons:
	* Pods can use userns before 6.3, they will just need to be
	  careful to not use a tmpfs (like a serviceaccount). MOST users
	  will probably need 6.3, but it is possible to use earlier kernel
	  versions. 5.19 probably works fine and with improvements in
          the runtime 5.12 can probably be supported too.
	* Several distros backport changes and the recommended way is
	  usually to try the syscall instead of testing kernel versions.
	  I expect support for simple fs like tmpfs will be backported
	  in several distros, but with this check it can generate confusion.
	* Today a clear error is shown when the pod is created, so it's
	  unlikely a user will not understand why it fails.
	* Returning an error if utilkernel fails to understand what
	  kernel version is running is also too strict (as we are
	  logging a warning even if it is not the expected version)
	* We are switching to enabled by default, which will log a
	  warning on every user that runs on an older than 6.3 kernel,
	  adding noise to the logs.

For there reasons, let's just remove the hardcoded kernel version check.

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2025-02-18 17:24:50 +01:00
Rodrigo Campos
a2eeec5c5a Revert "Switch hard error to a WARNING for kernel version check"
This reverts commit fd06dcd604.

The revert is not to make it a hard error again, this revert is needed
to revert cleanly the commit that added this as an error in the first
place.

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2025-02-18 17:24:25 +01:00
Kubernetes Prow Robot
9a2a278a20
Merge pull request #130162 from carlory/remove-cloud-provider-and-cloud-config-in-apiserver-CLI
kube-apiserver: removed the deprecated the `--cloud-provider` and `--cloud-config` CLI parameters.
2025-02-18 08:00:38 -08:00
Kubernetes Prow Robot
fc876787b8
Merge pull request #130126 from fuweid/fix-128314
proxy: should add PingPeriod for websocket translator
2025-02-18 08:00:26 -08:00
SataQiu
9315ddbb65 kubeadm: fix panic when no UpgradeConfiguration was found in the config file 2025-02-18 22:49:40 +08:00
Maciej Szulik
de984ec9b9
Update kubetl subresource to stable
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-02-18 14:28:59 +01:00
Jan Safranek
992c8e9479 selinux: explicitly specify NodeMetrics in function names
This is just refactoring / renaming.

The SELinux e2e tests grab node metrics so far, so mention `Node` in the
function names. Kube-controller-metrics will follow in a subsequent commit.
2025-02-18 11:48:36 +01:00
Nadia Pinaeva
7d5f3c5723 [kube-proxy:nftables] Read map/set elements on setup.
We used to flush and re-add all map/set elements on nftables
setup, but it is faster to read the existing elements and only
transact the diff.

Signed-off-by: Nadia Pinaeva <npinaeva@redhat.com>
2025-02-18 11:28:41 +01:00
Marek Siarkowicz
26fe6bc6e0 Add tests for encoding collections in JSON for KEP-5116
Used test cases from:
* Original PR https://github.com/kubernetes/kubernetes/pull/129334
* KEP https://github.com/kubernetes/enhancements/tree/master/keps/sig-api-machinery/5116-streaming-response-encoding#unit-tests

For now testing current serializer implementation to show encoder
behavior and agree on set of tests. Having a separate PR should make review easier.
In separate PR will add the implementation for streaming that should
provide same response byte-to-byte.
2025-02-18 10:19:23 +01:00
Francesco Romani
323410664c e2e: node: cpumgr: check CPU allocatable for CFS quota test
add (admittedly pretty crude) CPU allocatable check.
A more incisive refactoring is needed, but we need
to unbreak CI first, so this seems the minimal decently clean test.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2025-02-18 10:04:57 +01:00
Kubernetes Prow Robot
931ad2a9fd
Merge pull request #130108 from carlory/cleanup-after-81245
remove NodeOSDistroIs from test/e2e/framework/pod
2025-02-18 00:12:12 -08:00