Commit Graph

26926 Commits

Author SHA1 Message Date
mansikulkarni96
2a32b21372 [test] handle ModeIrregular in getFilePerm for Go 1.23 2025-02-21 18:02:28 -05:00
Kubernetes Prow Robot
354299bea0 Merge pull request #130323 from Jefftree/ssr-test-fix
Fix SelfSubjectReview test to decouple beta and GA types
2025-02-21 08:38:38 -08:00
Kubernetes Prow Robot
fa03b93d25 Merge pull request #130326 from elizabeth-dev/statefulset-framework-return-errors
test(statefulset): return errors in framework function GetPodList for upstream handling
2025-02-21 00:06:26 -08:00
Kubernetes Prow Robot
b2021035c7 Merge pull request #129888 from jsafrane/selinux-controller-tests
Add SELinux controller e2e tests
2025-02-20 13:46:26 -08:00
Elizabeth Martin Campos
a49b336e83 test(statefulset): return errors in framework function GetPodList for upstream handling
See #130159
2025-02-20 21:24:15 +01:00
Jefftree
92cc680c8a Fix SelfSubjectReview test to decouple beta and GA types from the same apiserver 2025-02-20 19:32:16 +00:00
Jan Safranek
bf63e0046c selinux: rename allMetrics
To indicate they're all _SELinux_ metrics
2025-02-20 12:19:07 +01:00
Kubernetes Prow Robot
0b1ef24a99 Merge pull request #130285 from LionelJouin/fix-130096
Fix DRA flaky test for ResourceClaim device status
2025-02-20 00:20:26 -08:00
Kubernetes Prow Robot
afbbdbedc2 Merge pull request #128685 from AnishShah/fix-ippr-test
[FG:InPlacePodVerticalScaling]  assert specific error occurred in tests
2025-02-19 17:06:26 -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
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
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
bff54e4020 Merge pull request #130013 from yongruilin/crd-racheting-ga
KEP-4008: promote CRDValidationRatcheting to GA
2025-02-18 18:08:25 -08: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
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
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
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
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
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
Maciej Szulik
a36f64e074 Add more log information to help debug flake #129779
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-02-17 18:13:20 +01:00
Kubernetes Prow Robot
1b79b8952a Merge pull request #129997 from carlory/HonorPVReclaimPolicy-e2e
HonorPVReclaimPolicy: add more e2e tests
2025-02-17 04:08:22 -08:00
Kubernetes Prow Robot
2527854078 Merge pull request #130178 from bart0sh/PR172-e2e-fix-websockets-conformance
e2e: fix node conformance flake
2025-02-17 02:08:33 -08:00
carlory
c48499d360 fix ci
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-02-17 11:49:24 +08:00
carlory
2382c0125b remove Removed generally available feature-gate DisableCloudProviders and DisableKubeletCloudCredentialProviders
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-02-17 09:59:59 +08:00
Kubernetes Prow Robot
1e38c86893 Merge pull request #129996 from yongruilin/fix-flag-apiserver
fix: apiserver flagz to response actual parsed flags
2025-02-16 13:56:23 -08:00
Kubernetes Prow Robot
e7b03ea0d3 Merge pull request #130080 from elizabeth-dev/replace-network-e2e-replicationcontrollers-2
test(network): replace RCs with Deployments in util function StartServeHostnameService
2025-02-16 09:44:21 -08:00
Elizabeth Martin Campos
e353086e6a test(network): replace RCs with Deployments in util function StartServeHostnameService
See #119021
2025-02-16 14:50:46 +01:00
Elizabeth Martin Campos
98d600bef9 test(network): replace RCs with Deployments in util function CreateServicePods
See #119021
2025-02-15 22:09:55 +01:00
Kubernetes Prow Robot
78f7217993 Merge pull request #130082 from elizabeth-dev/replace-network-e2e-replicationcontrollers-4
test(network): replace RCs with Deployments in util function jig.Run
2025-02-15 07:44:21 -08:00
Kubernetes Prow Robot
1d73c5d882 Merge pull request #130141 from pohly/dra-e2e-env-check
DRA E2E: fix race between container start and check
2025-02-14 21:46:20 -08:00
Kubernetes Prow Robot
8dbc6739e0 Merge pull request #130151 from marosset/windows-unit-tests-externaljwt-plugin-fixes
fixing k8s.io/kubernetes/pkg/serviceaccount/externaljwt/plugin unit tests on Windows
2025-02-14 13:44:20 -08:00
Ed Bartosh
f6090185a8 e2e: fix node conformance flake
The test `Pods should support retriving logs from the container
over websockets` flakes as it doesn't always wait until
container is running and is able to produce expected output.
Waiting for pod to be in the `Running` state is not enough
as it doesn't mean that container is running.

Waiting for container to be in `Running` state should fix
the test.
2025-02-14 20:19:17 +02:00
Adrian Moisey
6d58125111 Bump KEP-4427 : AllowRelaxedDNSSearchValidation to Beta 2025-02-14 19:39:18 +02:00
Kubernetes Prow Robot
9f2629123f Merge pull request #129940 from vinayakankugoyal/gen
cleanup: Remove unused service account creation from node_authn.go
2025-02-14 07:46:21 -08:00
Wei Fu
dc59c0246f 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>
2025-02-14 10:16:18 -05:00
Michal Wozniak
f5e86dfea6 Deflake the PodReplacementPolicyFeatureToggling Job integration test 2025-02-14 12:32:51 +01:00
Mark Rossetti
5e6611af55 fixing various unit tests on Windows that create abstract sockets
by now having them create file-based sockets on windows/darwin

Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2025-02-13 15:41:33 -08:00
Vinayak Goyal
453e22a166 Remove unused service account creation from node_authn.go 2025-02-13 19:27:33 +00:00
Kubernetes Prow Robot
d7774fce9a Merge pull request #129653 from danwinship/nftables-ga
KEP-3866 nftables kube-proxy to GA
2025-02-13 08:42:20 -08:00
Dan Winship
83595f500a NFTablesProxyMode to GA 2025-02-13 10:27:14 -05:00
Kubernetes Prow Robot
e62ce1c9db Merge pull request #129489 from elizabeth-dev/replace-network-e2e-replicationcontrollers
test(network): replace jig.CreateRC with jig.CreateDeployment
2025-02-13 05:58:22 -08:00
Patrick Ohly
447c74ca2c DRA E2E: fix race between container start and check
Previously, "env" ran as the command inside the container and its log output
was checked. That suffered from a race because even though the pod might be
reported as running, there's no guarantee that the command has really produced
output and that this output has been captured.

Instead, explicitly running the command inside the pause container is safer
because it ensures that the full output of the command gets returned.
2025-02-13 14:49:38 +01:00
Elizabeth Martin Campos
4724870b97 test: remove implicit inclusion of "name" label in utils functions 2025-02-13 12:48:30 +01:00
Kubernetes Prow Robot
11ec99f7ff Merge pull request #130127 from carlory/fix-metrics
GetRandomReadySchedulableNode does not return MetricsGrabbingDisabledError
2025-02-13 00:12:20 -08:00
carlory
93a88f5518 GetRandomReadySchedulableNode nerver return MetricsGrabbingDisabledError
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-02-13 12:00:42 +08:00
Kubernetes Prow Robot
f38fca82dc Merge pull request #130024 from sivchari/propagate-context
Propagate cotnext to avoid goroutine leak
2025-02-12 15:16:19 -08:00
Kubernetes Prow Robot
fbdf8905ea Merge pull request #130058 from gjkim42/add-disableLegacySidecarContainers
Add LegacySidecarContainers feature gate
2025-02-12 13:16:27 -08:00