Commit Graph

126001 Commits

Author SHA1 Message Date
Michal Wozniak
ec983bd3fb Use Consistently in the e2e for Job 2024-10-17 09:02:39 +02:00
Michal Wozniak
70a8ceb6f0 Graduate JobManagedBy to Beta in 1.32
# Conflicts:
#	pkg/features/kube_features.go
2024-10-17 09:01:54 +02:00
Kubernetes Prow Robot
a4c262bc8c
Merge pull request #127293 from hshiina/typecheck
kubelet/cm: Unite return value types of helper functions
2024-10-17 07:45:04 +01:00
bzsuni
6d0b62a84d Update npd from v0.8.19 to v0.8.20
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2024-10-17 14:06:14 +08:00
yongruilin
c9979e6fbc chore: Use generic sets for metrics
The sets.String has been deprecated.
2024-10-16 22:38:13 -07:00
yongruilin
b664351284 fix: Remove unnecessary lock in metrics parsing allow-list manifest 2024-10-16 22:38:11 -07:00
Kubernetes Prow Robot
d67e6545b1
Merge pull request #124227 from iholder101/in-pod-vertical-scaling/extended-resources
[FG:InPlacePodVerticalScaling] Add extended resources to ContainerStatuses[i].Resources
2024-10-17 01:39:03 +01:00
Kubernetes Prow Robot
a8fd407d2f
Merge pull request #128136 from enj/enj/t/non_global_kms_kdf_via_name
kmsv2: run KDF tests in parallel
2024-10-16 23:49:03 +01:00
runzhliu
e8602f224d improve the logging format 2024-10-17 05:57:50 +08:00
Patrick Ohly
f84eb5ecf8 DRA: remove "classic DRA"
This removes the DRAControlPlaneController feature gate, the fields controlled
by it (claim.spec.controller, claim.status.deallocationRequested,
claim.status.allocation.controller, class.spec.suitableNodes), the
PodSchedulingContext type, and all code related to the feature.

The feature gets removed because there is no path towards beta and GA and DRA
with "structured parameters" should be able to replace it.
2024-10-16 23:09:50 +02:00
Monis Khan
43740c0def
kmsv2: run KDF tests in parallel
This change updates the KDF "feature flag" to be per KMS provider
instead of global to the API server.  This allows integration tests
that use distinct provider names to run in parallel.

Locally this change reduced the runtime of
test/integration/controlplane/transformation by 3.5 minutes.

Signed-off-by: Monis Khan <mok@microsoft.com>
2024-10-16 16:58:19 -04:00
Kubernetes Prow Robot
b7fb82f9d8
Merge pull request #128076 from AmarNathChary/Removed_Alpha_Beta_Ga
Removed_alpha_beta_ga
2024-10-16 20:35:15 +01:00
Kubernetes Prow Robot
d6e7aa0f18
Merge pull request #127495 from zhifei92/criproxy-for-e2enode
Add cri proxy for e2e_node
2024-10-16 20:35:04 +01:00
Kubernetes Prow Robot
190eb057f4
Merge pull request #128118 from amaddio/master
Fix misleading kubeadm output
2024-10-16 18:23:04 +01:00
Kubernetes Prow Robot
e673417529
Merge pull request #127862 from dinhxuanvu/cbor-fuzz
KEP-4222: Add fuzz test for roundtrip unstructured objects to JSON/CBOR
2024-10-16 17:19:03 +01:00
Vu Dinh
c96cd52b6a Add fuzz test for roundtrip unstructured objects to JSON/CBOR
Fuzz: Roundtrip JSON-to-CBOR-to-JSON and CBOR-to-JSON-to-CBOR

Signed-off-by: Vu Dinh <vudinh@outlook.com>
2024-10-16 11:14:52 -04:00
Kubernetes Prow Robot
e287784a8d
Merge pull request #128050 from macsko/add_pod_add_event_handling_scheduler_perf_test_case
Add scheduler_perf test case for AssignedPodAdd event handling
2024-10-16 15:37:02 +01:00
zhifei92
2e182e736b feat: Add cri proxy for e2e_node
add example of using CRI proxy

fix:  Invalid function call

fix:  Optimize getPodImagePullDuration

fix:  Return error if the CRI Proxy is undefined

chore:  add a document
2024-10-16 20:53:28 +08:00
googs1025
573f0d4538 flake(kubectl): fix run_kubectl_request_timeout_tests in integration test 2024-10-16 20:44:25 +08:00
Kubernetes Prow Robot
a0db55c3a6
Merge pull request #128110 from haitch/haitao/k132-on-go123p2
bump golang to 1.23.2
2024-10-16 13:29:05 +01:00
AmarNathChary
ff7c708207 removed_comments_from_kube_feature_of_alpha_beta_ga 2024-10-16 15:36:34 +05:30
Antonio Ojea
62bdb27420 use same name as the folder for the package 2024-10-16 09:55:10 +00:00
Kubernetes Prow Robot
7b802a60bd
Merge pull request #119949 from rexagod/119697-1
metrics: add exemplar support for counters
2024-10-16 10:45:05 +01:00
Sascha Grunert
544d8c06c3
Clarify API validation error if operator is Exists
Without this patch the error message for this example:

```
---
apiVersion: v1
kind: Pod
metadata:
  name: test
spec:
  containers:
    - name: agent
      image: debian:latest
  tolerations:
    - key: pool
      operator: Exists
      value: build
      effect: NoSchedule
```

Looks like:

```
The Pod "test" is invalid: spec.tolerations[0].operator: Invalid value:
core.Toleration{Key:"pool", Operator:"Exists", Value:"build",
Effect:"NoSchedule", TolerationSeconds:(*int64)(nil)}: value must be
empty when `operator` is 'Exists'
```

To clarify that the `Value` field is wrong, we now directly point the
`field.Invalid` to it. Now the error message becomes a more clear and
concise one:

```
The Pod "test" is invalid: spec.tolerations[0].operator: Invalid value:
"build": value must be empty when `operator` is 'Exists'
```

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-10-16 11:40:02 +02:00
Antonio
250d00d8dc #128117 Fix misleading kubadm output
The control-plane should be referred to in plural otherwise it can be misleading to join the the cp to other nodes.
2024-10-16 11:32:18 +02:00
Maciej Skoczeń
0db96a0ac3 Add scheduler_perf test case for AssignedPodAdd event handling 2024-10-16 07:45:50 +00:00
Kubernetes Prow Robot
07e73682b9
Merge pull request #128064 from dims/update-to-last-versions-of-some-very-infrequently-updated-repos
Update to last versions of some very infrequently updated repos
2024-10-16 04:23:02 +01:00
Haitao Chen
e9cbbc7886 bump golang to 1.23.2
from 1.23.0
2024-10-15 18:43:50 -07:00
Kubernetes Prow Robot
e5ba5cd2b0
Merge pull request #128097 from jsturtevant/fix-gmsa-test
[sig-windows] Update kubectl exec to use correct format
2024-10-15 23:05:10 +01:00
Kubernetes Prow Robot
558c0b6eaa
Merge pull request #128084 from macsko/fix_panic_when_defining_featuregates_only_on_workload_level_scheduler_perf
Fix panic when setting feature gates only on workload level in scheduler_perf
2024-10-15 23:05:03 +01:00
Kubernetes Prow Robot
db0af9bd94
Merge pull request #128099 from benluddy/nested-number-as-float64-portability
Make NestedNumberAsFloat64 accuracy test architecture-neutral.
2024-10-15 21:47:03 +01:00
Kubernetes Prow Robot
9b56413d56
Merge pull request #128085 from sttts/sttts-volume-flake
volume: fix TestVolumePluginMultiThreaded unit test flake
2024-10-15 20:43:11 +01:00
Kubernetes Prow Robot
9872b17ccc
Merge pull request #127828 from macsko/add_template_parameters_to_createnodesop_in_scheduler_perf
Add template parameters to createNodesOp in scheduler_perf
2024-10-15 20:43:04 +01:00
yongruilin
22ba326f50 refactor: update test setup order for testing metric label allow list
This update covers the case that metrics are initialized before allow-metric-label flag is applied.
2024-10-15 11:26:35 -07:00
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