Commit Graph

22071 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
6be327c053 Merge pull request #113046 from jsafrane/add-multiplepv-cap
Add capability for tests with multiple PVs with the same VolumeHandle
2022-10-18 16:27:12 -07:00
Kubernetes Prow Robot
859ada198f Merge pull request #112979 from dashpole/fix_tracing_crash
Fix bug in which APIServerTracing did not work with some egress selectors
2022-10-18 15:07:12 -07:00
Kubernetes Prow Robot
fe9c94ec02 Merge pull request #111957 from ii/create-resourcequota-status-test
Write e2e test for ResourceQuota status +3 Endpoints
2022-10-18 14:01:00 -07:00
David Ashpole
00bcd6cf01 Fix bug in which APIServerTracing did not work with some egress selectors 2022-10-18 19:41:07 +00:00
Jan Safranek
bda42b6b53 Add capability for tests with multiple PVs with the same VolumeHandle
Some CSI drivers do not like multiple PVs with the same VolumeHandle,
therefore make that tests optional.
2022-10-18 13:44:54 +02:00
Maciej Szulik
f2b9479f8e Wait for pod not running or gone in storage tests 2022-10-18 13:18:54 +02:00
Kubernetes Prow Robot
6d48919af2 Merge pull request #113123 from logicalhan/ordered-output
order the output for stable metrics since we're supporting more than just stable now
2022-10-17 19:53:29 -07:00
Stephen Heywood
ae2312fba8 Create e2e test for ResourceQuota status endpoints
e2e test validates the following 3 endpoints
- patchCoreV1NamespacedResourceQuotaStatus
- readCoreV1NamespacedResourceQuotaStatus
- replaceCoreV1ResourceQuotaForAllNamespacesStatus
2022-10-18 15:16:03 +13:00
Kubernetes Prow Robot
507cf76570 Merge pull request #113117 from logicalhan/merged-buckets
add support for merging calls to Linear/Exponential Buckets
2022-10-17 16:59:36 -07:00
Kubernetes Prow Robot
3e06830f2d Merge pull request #109924 from mauriciopoppe/provisioning-sync
Use sync in e2e storage provisioning tests
2022-10-17 15:49:17 -07:00
Han Kang
a6dec62be5 order the output for stable metrics since we're supporting more than just stable now
Change-Id: Idd16bffa058981cb7616dca8aea7966ae689de13
2022-10-17 15:36:22 -07:00
Han Kang
7b616b39b1 add support for merging calls to Linear/Exponential Buckets
Change-Id: Id6005912ac71c9c15354e9e8242f0febf8569dec
2022-10-17 13:30:30 -07:00
Kubernetes Prow Robot
4216ad3542 Merge pull request #113106 from pohly/dep-ginkgo-gomega
dependencies: update to gomega v1.22.1 and ginkgo v2.3.1
2022-10-17 11:09:26 -07:00
Kubernetes Prow Robot
e4ec5c825d Merge pull request #113071 from aojea/dual_stack_assigned
test dualstack services with assigned clusterIPs
2022-10-17 10:01:19 -07:00
Kubernetes Prow Robot
216ba39632 Merge pull request #112987 from chrishenzie/e2e-test-rwop
e2e test for ReadWriteOncePod PV access mode
2022-10-17 10:01:08 -07:00
Patrick Ohly
b667933741 e2e: adapt to modified Ginkgo output 2022-10-17 15:12:41 +02:00
Kubernetes Prow Robot
ea231f5252 Merge pull request #113097 from pohly/e2e-fix-all-nodes-ready
e2e: skip AllNodesReady when the test skipped framework initialization
2022-10-17 04:39:19 -07:00
Kubernetes Prow Robot
e1812683e3 Merge pull request #113042 from swatisehgal/memorymgr-fix-rejection-test
node: e2e: memorymgr: Fix test failure
2022-10-17 04:39:07 -07:00
Patrick Ohly
3c162af45f e2e: skip AllNodesReady when the test skipped framework initialization
This addresses a problem caused by
https://github.com/kubernetes/kubernetes/pull/112043: because the AfterEach
which invokes AllNodesReady always runs, including tests that skipped early,
those tests ran into a nil pointer access. This increased the size of log
files. The tests still worked.
2022-10-17 10:27:14 +02:00
Shiming Zhang
0005364363 Fix NPE (#112999)
* Fix NPE

* bump version
2022-10-15 10:43:05 -07:00
Kubernetes Prow Robot
6f579d3ceb Merge pull request #111616 from ndixita/credential-api-ga
Move the Kubelet Credential Provider feature to GA and Update the Credential Provider API to GA
2022-10-15 07:53:09 -07:00
Kubernetes Prow Robot
83c2585716 Merge pull request #112891 from ii/create-namespace-finalizer-test
Write e2e test for replaceCoreV1NamespaceFinalize +1 Endpoints
2022-10-14 21:25:23 -07:00
Kubernetes Prow Robot
b9c2e53fbc Merge pull request #112587 from k1cn9ggtuc/typo-fix
fix a typo in test/conformance/walk.go
2022-10-14 21:25:04 -07:00
Kubernetes Prow Robot
6705015101 Merge pull request #112133 from knabben/remove-kproxy-userspace
Remove kube-proxy userspace modes
2022-10-14 17:31:06 -07:00
Kubernetes Prow Robot
0ef0fa0e82 Merge pull request #112824 from gjkim42/promote-expandeddnsconfig-to-beta
Promote ExpandedDNSConfig feature to beta stage
2022-10-14 10:54:58 -07:00
Chris Henzie
f6d9c27722 e2e test for ReadWriteOncePod PV access mode
Adds two tests for the enforcement of the ReadWriteOncePod
PersistentVolume access mode.

1. Tests that when two Pods are scheduled that reference the same
   ReadWriteOncePod PVC, the latter-scheduled Pod will be marked
   unschedulable because the PVC is in-use.
2. Tests that when two Pods are scheduled on the same node (setting
   Pod.Spec.NodeName to bypass scheduling for the second Pod), the
   latter Pod will fail to start because the PVC is already mounted on
   the Node.

Included are changes to update the hostpath CSI driver to accept new CSI
access modes. Its sidecar containers are already at supported versions
for ReadWriteOncePod and don't need updating. The GCP PD CSI driver does
not yet support the new CSI access modes, but its sidecar containers are
at supported versions and so the feature will work.

To support ReadWriteOncePod, the following CSI sidecars must be updated
to these versions or greater:
 - csi-provisioner:v3.0.0+
 - csi-attacher:v3.3.0+
 - csi-resizer:v1.3.0+

For more details, see:
https://github.com/kubernetes/enhancements/blob/master/keps/sig-storage/2485-read-write-once-pod-pv-access-mode/README.md
2022-10-14 09:15:36 -07:00
Antonio Ojea
bea96abac3 test dualstack services with assigned clusterIPs 2022-10-14 15:53:49 +00:00
Kubernetes Prow Robot
9bedff1147 Merge pull request #112948 from mimowo/112873-fix-job-finished-metric
Fix the job finished metric issue due to the final job status update occasionally failing
2022-10-14 06:24:57 -07:00
Kubernetes Prow Robot
be5ed7bd12 Merge pull request #113059 from ii/promote-replication-controller-scale-test
Promote Read, Replace ReplicationController scale endpoints Conformance - +2 Endpoints
2022-10-13 19:04:46 -07:00
Stephen Heywood
ca00b6be43 Create e2e test for Namespace endpoint
e2e test validates the following 1 endpoint
- replaceCoreV1NamespaceFinalize
2022-10-14 14:46:31 +13:00
Kubernetes Prow Robot
350fa3de66 Merge pull request #113061 from ii/promote-service-account-replace-test
Promote replaceCoreV1NamespacedServiceAccount test to Conformance - +1 Endpoint
2022-10-13 17:58:57 -07:00
Kubernetes Prow Robot
e16dbe94a6 Merge pull request #113060 from ii/promote-limitrange-test
Promote List, Patch and Delete LimitRange test to Conformance - +3 Endpoints
2022-10-13 17:58:46 -07:00
Kubernetes Prow Robot
040d7aaafa Merge pull request #112939 from lengrongfu/feat/update_preemption_victims_metric
feat: update preemption victims metric
2022-10-13 16:38:46 -07:00
Kubernetes Prow Robot
215f236a6b Merge pull request #113052 from logicalhan/buckets
add support for parsing buckets from variables of prom.Linear and prom.Expo helpers
2022-10-13 13:43:17 -07:00
Kubernetes Prow Robot
879e61a2fc Merge pull request #113049 from logicalhan/stability-v2
update readme for instrumentation static analysis code
2022-10-13 12:39:13 -07:00
lengrongfu
8dcd869665 feat: update preemption victims metric
Signed-off-by: lengrongfu <rongfu.leng@daocloud.io>
2022-10-14 02:45:21 +08:00
Kubernetes Prow Robot
b601769721 Merge pull request #112924 from marosset/remove-20h2-windows-images
cleanup: Remove out-of-support Windows 20H2 images
2022-10-13 11:25:15 -07:00
Kubernetes Prow Robot
01019770cf Merge pull request #112789 from enj/enj/r/kms_load_once_v2
Load encryption config once (second approach)
2022-10-13 11:25:02 -07:00
Han Kang
be3e5cb313 add support for parsing buckets from variables of prom.Linear and prom.Expo helpers
Change-Id: I61bb46dcbdc02d506da563bc7973430ecef8c364
2022-10-13 10:44:13 -07:00
Michal Wozniak
b64e5b2d15 Fix the occasional double-counting job_finished_total metric
The reason for the issue is that the metrics were bumped before the
final job status update. In case the update failed the path was
repeated by the next syncJob leading to double-counting of the metrics.

The solution is to delay recording metrics and broadcasting events
after the job status update succeeds.
2022-10-13 17:23:03 +02:00
Monis Khan
f507bc2553 Load encryption config once
This change updates the API server code to load the encryption
config once at start up instead of multiple times.  Previously the
code would set up the storage transformers and the etcd healthz
checks in separate parse steps.  This is problematic for KMS v2 key
ID based staleness checks which need to be able to assert that the
API server has a single view into the KMS plugin's current key ID.

Signed-off-by: Monis Khan <mok@microsoft.com>
2022-10-13 10:52:29 -04:00
Swati Sehgal
6c6865af28 node: e2e: memorymgr: Fix test failure
The change made in https://github.com/kubernetes/kubernetes/pull/112644
resulted in an update to the rejection message. In the memory manager
node e2e test, we still checked against the old expected error message
giving the impression that the pod succeeded to run even though it failed
as expected mainly because the check wasn't performed correctly.

In this patch, we update to the correct rejection message to make sure
that the memory manager is no longer failing.

NOTE: This test is supposed to run on multi NUMA systems and if the
underlying node does not have multi NUMA nodes, the test is skipped
which is what happens in upstream test infrastructure as it is mainly
composed of single NUMA nodes. Because of this, this test failure
wasn't evident via testgrid.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2022-10-13 12:45:14 +01:00
Han Kang
03015c4bb7 update readme for instrumentation static analysis code
Change-Id: Ibd1261883b3d149de888c9ad2fd7897c00ea3158
2022-10-12 21:22:57 -07:00
Han Kang
bc5d3b06c9 account for timing ratio histogram function calls
Change-Id: Ib27d6018657e4221c36645860bdb9cb9fcf7ebf5
2022-10-12 14:44:28 -07:00
Mark Rossetti
ecd543be04 Remove out-of-support Windows 20H2 images
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2022-10-12 14:43:51 -07:00
Han Kang
f3cb904618 cleanup printlns
Change-Id: I49a48446029ba2e66b09f138a1477b837d55766a
2022-10-12 09:47:49 -07:00
Han Kang
658d7a184e parse time signatures for maxAge
Change-Id: I91e330d82c4ebbfa38bc52889beb64e6689bfb77
2022-10-12 09:34:14 -07:00
Han Kang
0e7814a647 fix parsing error on labels
Change-Id: I990967b93b10dbfa9a564ca4286ffbd051c69697
2022-10-12 09:25:43 -07:00
Han Kang
49c08947f7 add support for parsing gauge func
Change-Id: Id0b9cd51dead5ee9f4adac804d62f5d9742320a7
2022-10-12 08:30:41 -07:00
Kubernetes Prow Robot
525280d285 Merge pull request #112643 from SergeyKanzhelev/removeDynamicKubeletConfig
remove DynamicKubeletConfig feature gate from the code
2022-10-12 01:33:00 -07:00