Commit Graph

126037 Commits

Author SHA1 Message Date
Ben Luddy
e413e026a3
Make NestedNumberAsFloat64 accuracy test architecture-neutral.
NestedNumberAsFloat64 will convert int64s to float64 only if the int64 value can be represented
exactly by a float64. The original test for this property used a roundtrip conversion from int64 to
float64 and back, and the behavior of these conversions is inconsistent across architectures.
2024-10-15 13:46:30 -04:00
yongruilin
67f3128cb9 refactor: Defer metrics label value allow list initialization
Defer the initialization of label value allow lists until the first invocation of `WithLabelValues` or `With`. This fixes the issue that metrics initialized before flag applied which results in label value allow list is not honored.
2024-10-15 10:33:03 -07:00
Kubernetes Prow Robot
3694a02bb9
Merge pull request #128073 from seans3/tracing-config-strict-validation
TracingConfiguration is now validated strictly
2024-10-15 18:23:09 +01:00
Kubernetes Prow Robot
c360a2c75c
Merge pull request #124059 from benluddy/dynamic-client-negotiation
Use content negotiation in the dynamic client.
2024-10-15 18:23:03 +01:00
James Sturtevant
f1af725850
Update kubectl exec to use correct format
Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
2024-10-15 09:34:38 -07:00
Kubernetes Prow Robot
2fda3e4a65
Merge pull request #128090 from enj/patch-10
Truncate AUTH_PROVIDER_GCP_LINUX_CONF_FILE
2024-10-15 16:28:57 +01:00
Kubernetes Prow Robot
99cc395e2b
Merge pull request #128081 from soltysh/strict_spacing
Fix spacing in --validate flag description
2024-10-15 12:24:28 +01:00
Kubernetes Prow Robot
1cd8074b83
Merge pull request #128079 from pohly/e2e-daemonset-check-daemon-status-polling
e2e daemon set: better polling in CheckDaemonStatus
2024-10-15 12:24:21 +01:00
Mo Khan
ece2241a9c
Truncate AUTH_PROVIDER_GCP_LINUX_CONF_FILE 2024-10-15 07:14:19 -04:00
Dr. Stefan Schimanski
33749d0436
volume: fix unit test flake
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-10-15 11:57:57 +02:00
Maciej Skoczeń
cca6f8c800 Fix panic when defining feature gates only on workload level in scheduler_perf 2024-10-15 09:50:55 +00:00
Kubernetes Prow Robot
d32e9b0b69
Merge pull request #127982 from tkashem/refactor-store-decoder
KEP-3926: refactor: extract etcd3 store decode functions into an interface
2024-10-15 10:28:22 +01:00
Maciej Szulik
7b0660ec9f
Fix spacing in --validate flag description 2024-10-15 11:16:33 +02:00
Kubernetes Prow Robot
7c53005b6c
Merge pull request #128066 from bart0sh/PR160-e2e_nod-fix-mirror-pod-test
e2e_node: fix mirror pod test
2024-10-15 09:24:21 +01:00
Patrick Ohly
e43065d542 e2e daemon set: better polling in CheckDaemonStatus
As a quick fix for a flake, bceec5a3ff
introduced polling with wait.Poll in all callers of CheckDaemonStatus.

This commit reverts all callers to what they were before (CheckDaemonStatus +
ExpectNoError) and implements polling according to E2E best practices
(https://github.com/kubernetes/community/blob/master/contributors/devel/sig-testing/writing-good-e2e-tests.md#polling-and-timeouts):

- no logging while polling
- support for progress reporting while polling
- last but not least, produce an informative failure message in case of a
  timeout, including a dump of the daemon set as YAML
2024-10-15 10:12:28 +02:00
Paco Xu
386f495d41 storage fsquota monitoring pod should be user namespaced 2024-10-15 14:43:16 +08:00
Pranshu Srivastava
460b8478cd
fixup! metrics: add exemplar support for counters 2024-10-15 12:04:25 +05:30
Pranshu Srivastava
47c21fac9b
metrics: add exemplar support for counters
adds exemplar support for counters
* utilizes Prometheus' underlying exemplar machinery
* introduces contextual counters (which were a no-op till now)
* adds testcases

addresses (a part of): #119697
2024-10-15 11:33:15 +05:30
AmarNathChary
f34d14c314 Removed_alp_beta_ga 2024-10-15 10:39:59 +05:30
torredil
6da4f57e8a
Implement e2e test for Retroactive StorageClass Assignment feature
Signed-off-by: torredil <torredil@amazon.com>
2024-10-15 03:33:32 +00:00
Sean Sullivan
a9c8061b1e TracingConfiguration is now validated strictly 2024-10-14 18:09:16 -07:00
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
Ed Bartosh
876819b8b6 e2e_node: fix mirror pod test
Modified stopNfsServer function to wait until nfs rpc is unregistered.
This should fix failing pull-kubernetes-node-arm64-ubuntu-serial-gce
job.
2024-10-15 02:05:26 +03: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
Davanum Srinivas
7f8210e33f
Update to last versions of some very infrequently updated repos
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-10-14 17:43:29 -04: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
Ben Luddy
97958d96a2
Use content negotiation in the dynamic client. 2024-10-14 14:09:46 -04: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
Daman Arora
e63260082a kube-proxy: internal config: refactor Healthz and Metrics Address
Refactor Healthz with Metrics Address for internal configuration of
kube-proxy adhering to the v1alpha2 version specifications as detailed
in https://kep.k8s.io/784.

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-10-14 22:56:23 +05:30
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
Daman Arora
48f1356b2f pkg/proxy: refactor NodePortAddresses to NodeAddressHandler
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-10-14 21:49:29 +05:30
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
Daman Arora
4f732a233d pkg/proxy/utils: file rename
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-10-14 21:31:39 +05:30
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
Abu Kashem
1d1a656d8d
refactor: extract decode functions into an interface for etcd3 store 2024-10-14 10:04:03 -04: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