Commit Graph

126037 Commits

Author SHA1 Message Date
dom4ha
b7f55a37a0 Bring back the smallest integration test 2024-10-17 15:41:36 +00:00
dom4ha
59458573ff Remove unschedulable test and replace it with the new one. 2024-10-17 15:41:21 +00:00
dom4ha
f2c947e36d Add UnschedulableAsync test in scheduler_perf to monitor impact of unschedulable pods on scheduler throughput 2024-10-17 15:35:21 +00:00
Kubernetes Prow Robot
9568a2ac14
Merge pull request #128149 from neolit123/1.32-update-system-validators-to-v1.9.0
vendor: update system-validators to v1.9.0
2024-10-17 16:03:29 +01:00
Kubernetes Prow Robot
c6a5e916c1
Merge pull request #128125 from googs1025/flake/kubectl
flake(kubectl): fix run_kubectl_request_timeout_tests in integration test
2024-10-17 16:03:19 +01:00
Kubernetes Prow Robot
4d32d7e5ad
Merge pull request #127930 from aroradaman/kube-proxy-refactor-healthz-metrics-address
re: kube-proxy: internal config: refactor HealthzAddress and MetricsAddress
2024-10-17 16:03:11 +01:00
Kubernetes Prow Robot
6f3af076d6
Merge pull request #127829 from dom4ha/scheduler-perf
Add PreemptionBlocking test in scheduler_perf to monitor how long the preemption process (which blocks scheduling of regular nodes) takes.
2024-10-17 16:03:04 +01:00
Kubernetes Prow Robot
1f9038a468
Merge pull request #127919 from carlory/fix-127852
Fix data race in kubelet/volumemanager
2024-10-17 14:57:03 +01:00
Anish Shah
d72c7319f8 test: refactor duplicate inplace pod resize test utilities 2024-10-17 05:35:40 -07:00
Anish Shah
b8897e688d test: refactor duplicate IPPR e22 tests.
This change refactors duplicate IPPR cluster and node e2e tests under
test/e2e/common directory
2024-10-17 05:27:27 -07:00
Anish Shah
6203006348 test: parity between cluster and node IPPR e2e tests
Some IPPR cluster e2e tests are missing from node e2e tests. This change
brings parity between them.
2024-10-17 05:23:55 -07:00
Lukasz Szaszkiewicz
06a15c5cf9
Promote WatchList feature to Beta (#128053)
* e2e/apimachinery/watchlist: always run WatchList e2e tests

* kube-controller-manager: enable WatchListClient

* kube-apiserver: promote WatchList feature to beta
2024-10-17 11:07:04 +01:00
dom4ha
b2b41444f2 Add PreemptionBlocking test in scheduler_perf to monitor how long the preemption process (which blocks scheduling of regular nodes) takes. 2024-10-17 09:58:32 +00:00
Lubomir I. Ivanov
7b10b5fd33 vendor: update system-validators to v1.9.0 2024-10-17 12:10:06 +03:00
Kubernetes Prow Robot
0ac74edbd8
Merge pull request #128012 from yongruilin/fix-allow-metrics
fix: Remove unnecessary lock in metrics parsing allow-list manifest
2024-10-17 09:59:03 +01:00
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
Patrick Ohly
4526b28606 ktesting: improve context message
This is not necessarily a problem, some code might use a timeout and expect it
to trigger. Therefore this should only be an info message, not a
warning. Long-term it might be useful to have an API where the caller decides
whether this gets logged.

The caller should use short messages and leave it to the user of those to
provide more context (no pun intended...). When logging, "canceling context" is
that context.

Before:

    scheduler_perf.go:1431: FATAL ERROR: op 7: delete scheduled pods: client rate limiter Wait returned an error: rate: Wait(n=1) would exceed context deadline
    contexthelper.go:69:
        WARNING: the operation ran for the configured 2s

After:

    scheduler_perf.go:1431: FATAL ERROR: op 7: delete scheduled pods: client rate limiter Wait returned an error: rate: Wait(n=1) would exceed context deadline
    contexthelper.go:69:
        INFO: canceling context: the operation ran for the configured 2s
2024-10-16 10:46:24 +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