Commit Graph

125812 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
55b83c92b3
Merge pull request #128062 from aramase/aramase/i/cred_provider_config_typos
credential provider config: detect typos
2024-10-15 02:04:35 +01:00
Kubernetes Prow Robot
510a7e7601
Merge pull request #128038 from seans3/resource-quota-config-validation
Enable strict validation for ResourceQuotaConfiguration
2024-10-15 02:04:27 +01:00
Kubernetes Prow Robot
8b7b768ff7
Merge pull request #128011 from seans3/egress-selector-configuration-strict
EgressSelectorConfiguration now uses strict validation
2024-10-15 02:04:20 +01:00
Kubernetes Prow Robot
023cd33d23
Merge pull request #128009 from seans3/leader-migration-config-strict-validate
LeaderMigrationConfig now uses strict validation kube-controller-manager
2024-10-15 01:00:20 +01:00
Kubernetes Prow Robot
d1e03f3a77
Merge pull request #127195 from yaojunyu/fix-pod-alway-restart-open-envetedpleg
EventedPLEG: Set Timestamp in PodStatus for Generic PLEG more accurate
2024-10-14 23:36:20 +01:00
Kubernetes Prow Robot
429edc5f25
Merge pull request #128060 from antoninbas/fix-typos-in-pkg/proxy/ipvs/ipset/ipset_test.go
Fix typos in pkg/proxy/ipvs/ipset/ipset_test.go
2024-10-14 22:02:21 +01:00
Kubernetes Prow Robot
9f09c55818
Merge pull request #128045 from princepereira/ppereira-hnslib-import
Replacing hcsshim library with new hnslib library.
2024-10-14 20:58:21 +01:00
Anish Ramasekar
1882a4a9f0
credential provider config: detect typos
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2024-10-14 12:23:43 -07:00
Antonin Bas
0350e5ae69 Fix typos in pkg/proxy/ipvs/ipset/ipset_test.go
There were a couple of typos in test error logs

Signed-off-by: Antonin Bas <antonin.bas@broadcom.com>
2024-10-14 11:06:36 -07:00
Prince Pereira
3448455083 Replacing hcsshim library with new hnslib library. 2024-10-14 10:44:30 -07:00
Kubernetes Prow Robot
78879fa3d0
Merge pull request #128054 from aojea/e2e_ds_flake
e2e flake CheckDaemonStatus assert on async value
2024-10-14 18:16:21 +01:00
Kubernetes Prow Robot
62c1aa0529
Merge pull request #127929 from pohly/prune-junit-xml-failure
prune-junit-xml: simplify failure message
2024-10-14 17:08:21 +01:00
Kubernetes Prow Robot
7f5510921d
Merge pull request #128052 from saschagrunert/imagefsinfo-timeout
CRI client: use default timeout for ImageFsInfo RPC
2024-10-14 15:16:28 +01:00
Kubernetes Prow Robot
9a0b07d38c
Merge pull request #128051 from googs1025/kubectl/fix/resourcebuilder
bug(kubectl): return resource builder error in scale cmd
2024-10-14 15:16:20 +01:00
Antonio Ojea
bceec5a3ff e2e flake CheckDaemonStatus assert on async value
The util for checking on daemonstatus was checking once if the Status of
the daemonset was reporting that all the desired Pods are scheduled and
ready.

However, the pattern used in the e2e test for this function was not
taking into consideration that the controller needs to propagate the Pod
status to the DeamonSet status, and was asserting on the condition only
once after waiting for all the Pods to be ready.

In order to avoid more churn code, change the CheckDaemonStatus
signature to the wait.Condition type and use it in a async poll loop on
the tests.
2024-10-14 13:30:03 +00:00
Kubernetes Prow Robot
de8f6b0db7
Merge pull request #128037 from dshebib/e2eNode_containerLifecycleContext
[e2e_node] Use shared context in regular container tests
2024-10-14 13:10:28 +01:00
Kubernetes Prow Robot
a454563a8d
Merge pull request #127812 from p0lyn0mial/upstream-decode-list-blueprint
client-go/rest/request: decodes initialEventsListBlueprint for watchlist requests
2024-10-14 13:10:21 +01:00
Sascha Grunert
e055a1f89a
CRI client: use default timeout for ImageFsInfo RPC
The RPC call usually does not take much time for containerd or CRI-O. We
now assume the default timeout is fine and therefore resolve the `TODO`.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-10-14 13:49:03 +02:00
Kubernetes Prow Robot
faf89fe5e9
Merge pull request #128000 from klueska/fix-resourceslice-filter
DRA: Update resourceslice controller filtering logic
2024-10-14 12:06:20 +01:00
googs1025
8d08480929 bug(kubectl): return resource builder error in scale cmd 2024-10-14 18:52:56 +08:00
Kubernetes Prow Robot
d003e4cd9f
Merge pull request #127923 from unvavo/add-test-tainttoleration-for-queueinghint
add integration test for tainttoleration in requeueing scenarios
2024-10-14 10:20:28 +01:00
Kubernetes Prow Robot
769695a218
Merge pull request #126776 from neolit123/1.31-improve-dry-run-logic
kubeadm: refactor the dry-run logic
2024-10-14 10:20:21 +01:00
Kubernetes Prow Robot
c5abe615eb
Merge pull request #128021 from toVersus/fix/flaky-restart-check
[Sidecar Containers] Check for restarts without being affected by container startup order
2024-10-14 07:56:21 +01:00
Lukasz Szaszkiewicz
7be192ae0b client-go/rest/request: decodes initialEventsListBlueprint for watchlist requests 2024-10-14 08:48:32 +02:00
Kubernetes Prow Robot
5b1a4caeda
Merge pull request #127881 from omerap12/drain-package-PollUntilContextTimeout
Update waitForDelete to use PollUntilContextTimeout
2024-10-14 06:18:20 +01:00
Sean Sullivan
a95c0c5499 Enable strict validation for ResourceQuotaConfiguration 2024-10-13 17:50:18 -07:00
Sean Sullivan
32b2eea50d EgressSelectorConfiguration now uses strict validation 2024-10-13 16:09:35 -07:00
Kubernetes Prow Robot
4dc7a48ac6
Merge pull request #128035 from alexanderstephan/export-reflector
Make getter names for reflector fields idiomatic
2024-10-13 23:04:20 +01:00
Alexander Stephan
fdabcb5141 Make getter names for reflector fields idiomatic 2024-10-13 20:53:25 +00:00
Patrick Ohly
fba2bcf2d2 prune-junit-xml: simplify failure message
In Go unit tests, the entire test output becomes the failure message because
`go test` doesn't track why a test fails. This can make the failure message
pretty large, in particular in integration tests.

We cannot identify the real failure either because Kubernetes has no convention
for how to format test failures. What we can do is recognize log output added
by klog.

prune-junit-xml now moves the full text to to the test output and only keep
those lines in the failure which are not from klog.

The klog output parsing might eventually get moved to
k8s.io/logtools/logparse. For now it is developed as a sub-package of
prune-junit-xml.
2024-10-13 09:37:50 +02:00
Kubernetes Prow Robot
468676cb2f
Merge pull request #127677 from jdtuhui/testifylint/formatter@security
fix: unnecessary fmt.Sprintf in assertions
2024-10-13 07:44:19 +01:00
Kubernetes Prow Robot
17d7f1b564
Merge pull request #128025 from bart0sh/PR159-Makefile-fix-escaping
Makefile: escape $ to prevent confusing output
2024-10-13 03:28:19 +01:00
Daniel Shebib
1618dbe695 Add context to tests 2024-10-12 21:23:29 -05:00
Kubernetes Prow Robot
e9f0ea6f86
Merge pull request #127920 from saschagrunert/mount-hostpath-docs
CRI: clarify `Mount.host_path` docs
2024-10-13 02:24:26 +01:00
Kubernetes Prow Robot
1bda3efdf4
Merge pull request #127754 from skitt/followup-module-verify
hack verify.sh: clean up "base"
2024-10-13 02:24:19 +01:00
Kevin Klues
cfd6037b03 DRA: Update resourceslice controller filtering logic
The logic has been updated to ensure that a controller started for
non-node-local resources filters out all resourceslices created for
node-local resources. Without this change, a single driver with both
node-local and non-node-local resources would end up in a constant
battle of creating and deleting node-local resource slices in the
controller it setup for its non-node-local resources. This change fixes
that.

Signed-off-by: Kevin Klues <kklues@nvidia.com>
2024-10-12 22:30:45 +02:00
Ed Bartosh
3c58cab7a0 Revert "fix bug in Makefile"
This reverts commit 9dc27e93fb.
2024-10-12 23:27:19 +03:00
Omer Aplatony
bba055067e Update waitForDelete to use PollUntilContextTimeout
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2024-10-12 21:42:17 +03:00
Kubernetes Prow Robot
426aa3d6ce
Merge pull request #127489 from pacoxu/feature/125234
feat: Added net.ipv4.tcp_rmem and net.ipv4.tcp_wmem into safe sysctl list
2024-10-12 08:46:20 +01:00
unvavo
2c254d3b25
add integration test for tainttoleration in requeueing scenarios 2024-10-12 15:23:55 +09:00
Tsubasa Nagasawa
04c6d9324e Check for restarts without being affected by container startup order
The test for checking container restarts in a Pod with restartable-init-1
and regular-1 is flaky. Right now, when we check if restartable-init-1 has
restarted, we see if it hasn’t written the "Started" log after regular-1 has
written its "Started" log.
But even though the startup sequence starts with restartable-init-1 and then
regular-1, there’s no guarantee they’ll finish starting up in that order.
Sometimes regular-1 finishes first and writes its "Started" log before restartable-init-1.

1. restartable-init-1 Starting
2. regular-1 Starting
3. regular-1 Started
4. restartable-init-1 Started

In this test, the startup order doesn’t really matter; all we need to check is
if restartable-init-1 restarted. So I changed the test to simply look for
more than one "Starting" log in restartable-init-1's logs.

There were other places that used the same helper function DoesntStartAfter,
so replaced those as well and deleted the helper function.
2024-10-12 15:17:47 +09:00
Kubernetes Prow Robot
4812ea8aa5
Merge pull request #125570 from sanchezl/test-additional-types
KEP-4222: Cover aggregator and apiextension types in unstructured roundtrip test.
2024-10-12 03:18:20 +01:00
Paco Xu
e9d999d5c2 add PSA testdata 1.32 2024-10-12 09:22:55 +08:00
Kubernetes Prow Robot
762a85e25d
Merge pull request #125923 from haircommander/cpuset-fix-restart
kubelet/cm: fix bug where kubelet restarts from missing cpuset cgroup
2024-10-12 00:12:20 +01:00
Sean Sullivan
553b2041e1 LeaderMigrationConfig now uses strict validation 2024-10-11 14:59:35 -07:00
Peter Hunt
b94c5387b8 e2e_node: use restart instead of start stop
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2024-10-11 16:53:33 -04:00
Luis Sanchez
aaa7364f60 cover additional types in unstructured roundtrip test
Co-authored-by: Ben Luddy <bluddy@redhat.com>
2024-10-11 16:07:39 -04:00
Kubernetes Prow Robot
c45f3ab813
Merge pull request #127976 from chengjoey/fix/named-ports
fix eps named ports does not work in sidecar(initContainer with restartPolicy=Always)
2024-10-11 19:14:21 +01:00
Kubernetes Prow Robot
2f7df335ad
Merge pull request #127615 from macsko/add_node_add_event_benchmark_to_scheduler_perf
Add scheduler_perf test case for NodeAdd event handling
2024-10-11 18:10:19 +01:00
Francesco Romani
cc87438f2f e2e_node: add a test to verify the kubelet starts
with systemd cgroup driver and cpumanager none policy.

This was originally planned to be a correctness check for
https://issues.k8s.io/125923, but it was difficult to reproduce the bug,
so it's now a regression test against it.

Signed-off-by: Francesco Romani <fromani@redhat.com>
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2024-10-11 11:29:16 -04:00