Commit Graph

113482 Commits

Author SHA1 Message Date
Hemant Kumar
32851bb316 Add e2e for node expansion with missing staging path 2023-01-27 16:51:21 -05:00
Todd Neal
69f04a2fc1 update comment to match implementation 2023-01-27 13:59:40 -06:00
Kubernetes Prow Robot
1f02f43ec6
Merge pull request #114997 from Richabanker/metrics-slis-beta
Enable ComponentSLI as beta feature
2023-01-27 10:04:25 -08:00
Mohamed Zaian
90570b7595 etcd: Update to version 3.5.7 2023-01-27 17:24:00 +01:00
Kubernetes Prow Robot
5a2dd64801
Merge pull request #115336 from mzaian/etcd-357
etcd: Build image 3.5.7-0
2023-01-27 07:06:26 -08:00
Fabio Bertinatto
b382148915 Trim out suffix added to backing file path of loopback device
When a block device, say /dev/sdc, is unexpectedly disconnected from a node,
the corresponding backing file path found at /sys/block/loop*/backing_file gets
a "(deleted)" suffix. This patch trims that suffix out, allowing the Kubelet to
unmount the volume correctly.
2023-01-27 10:53:00 -03:00
Kubernetes Prow Robot
4d9e8f7695
Merge pull request #115304 from gnufied/fix-version-skew-for-older-expansion-controller
Use expansion without recovery if allocatedResource/resizeStatus unset
2023-01-27 02:36:25 -08:00
Patrick Ohly
508cd60760 dynamic resource allocation: avoid apiserver complaint about list content
This fixes the following warning (error?) in the apiserver:

E0126 18:10:38.665239   16370 fieldmanager.go:210] "[SHOULD NOT HAPPEN] failed to update managedFields" err="failed to convert new object (test/claim-84; resource.k8s.io/v1alpha1, Kind=ResourceClaim) to smd typed: .status.reservedFor: element 0: associative list without keys has an element that's a map type" VersionKind="/, Kind=" namespace="test" name="claim-84"

The root cause is the same as in e50e8a0c91:
nothing in Kubernetes outright complains about a list of items where the item
type is comparable in Go, but not a simple type. This nonetheless isn't
supposed to be done in the API and can causes problems elsewhere.

For the ReservedFor field, everything seems to work okay except for the
warning. However, it's better to follow conventions and use a map. This is
possible in this case because UID is guaranteed to be a unique key.

Validation is now stricter than before, which is a good thing: previously,
two entries with the same UID were allowed as long as some other field was
different, which wasn't a situation that should have been allowed.
2023-01-27 11:33:05 +01:00
Kubernetes Prow Robot
3bf42a7aec
Merge pull request #110253 from tkashem/retry-condition-test
client-go: add a test to document retry conditions
2023-01-27 00:46:24 -08:00
Kubernetes Prow Robot
336934ab0a
Merge pull request #115243 from liggitt/host-protoc
Use host protoc if it is the correct version
2023-01-26 18:52:24 -08:00
Richa Banker
452343367c Enable ComponentSLIs as beta feature 2023-01-26 17:46:21 -08:00
Richa Banker
eb55e2b980 Add e2e test for checking /metrics/slis endpoint for API server 2023-01-26 17:46:21 -08:00
Kubernetes Prow Robot
301fa8f633
Merge pull request #115327 from jkh52/fix-metrics
Fix konnectivity-client metric registration.
2023-01-26 17:42:39 -08:00
Kubernetes Prow Robot
12240c2a5c
Merge pull request #115247 from Volatus/refactor-node-storage-tests
Refactor: cleanup node/storage tests
2023-01-26 17:42:32 -08:00
Kubernetes Prow Robot
cec91d9c00
Merge pull request #115219 from bobbypage/gh-108804-skipper
e2e node: Update runtime class handler skip logic
2023-01-26 17:42:25 -08:00
Kubernetes Prow Robot
6f22d1f1ab
Merge pull request #115321 from rphillips/fixes/linger_grpc_probes
Kubelet GRPC probes: improve network resources utilization
2023-01-26 15:56:24 -08:00
Jordan Liggitt
71174aa2da
Generate proto uncontainerized if host has required protoc version 2023-01-26 18:00:10 -05:00
Jordan Liggitt
028683efe6
Add missing proto path to kube::protoc::protoc invocation 2023-01-26 18:00:09 -05:00
Jordan Liggitt
d49d988467
Allow init.sh and protoc.sh to be sourced idempotently 2023-01-26 18:00:09 -05:00
Jordan Liggitt
3548e7febe
Add helper script to install protoc 2023-01-26 18:00:08 -05:00
Jordan Liggitt
238e0226db
Check protoc version strictly 2023-01-26 18:00:06 -05:00
Joseph Anttila Hall
1a428fd1fa Fix konnectivity-client metric registration. 2023-01-26 14:41:29 -08:00
Kubernetes Prow Robot
e6170c3883
Merge pull request #114992 from TheOneTheOnlyJJ/skip-failing-unittests-2
Skip failing Windows unit tests (volume)
2023-01-26 14:04:25 -08:00
Ismayil Mirzali
6d484dc037
Refactor: cleanup node/storage tests
Removes some repetitive patterns and simplifies the existing test code.
2023-01-26 23:03:02 +02:00
Hemant Kumar
f052ea3ec3 Set node_stage whenever available 2023-01-26 15:27:20 -05:00
Alexander Zielenski
24fb6b8981 use transformer to set gvk back 2023-01-26 12:14:14 -08:00
Kubernetes Prow Robot
97ab147537
Merge pull request #115179 from sunnylovestiramisu/fixPanic
Fix nil pointer error in nodevolumelimits csi logging
2023-01-26 12:06:38 -08:00
Kubernetes Prow Robot
201caf28b2
Merge pull request #114694 from yanggangtony/fix-typo
fix-typo
2023-01-26 12:06:26 -08:00
Lucas Severo Alves
fa0ead381e remove unecessary comment changes 2023-01-26 20:41:51 +01:00
Hemant Kumar
1e57dae5ec Ignore error when we can't find plugin capable of expanding the volume intre 2023-01-26 14:39:05 -05:00
Hemant Kumar
402fe4ec9b use expansion without recovery if allocatedResource is not unset 2023-01-26 14:25:00 -05:00
Kubernetes Prow Robot
0e6f4d3a35
Merge pull request #115271 from kevindelgado/field-validation-conformance
Field validation e2e tests and GA graduation
2023-01-26 09:34:26 -08:00
Abu Kashem
68c542d522
client-go: add test to document retry conditions 2023-01-26 12:11:48 -05:00
Kubernetes Prow Robot
ea09f81009
Merge pull request #115311 from atwamahmoud/fix-scaleup-hpa-e2e-tests
Decrease target value for scale up tests in HPA
2023-01-26 07:34:26 -08:00
Kevin Delgado
b149b93189 update codegen 2023-01-26 14:31:40 +00:00
Kevin Delgado
2d5ceb9b15 drop Enabled() checks for ServerSideFieldValidation feature gate 2023-01-26 14:16:58 +00:00
Mohamed Zaian
e98853ec28 etcd: Build image 3.5.7-0 2023-01-26 14:44:24 +01:00
Kubernetes Prow Robot
668477e994
Merge pull request #115308 from pohly/logs-goflag-example
logs examples
2023-01-26 02:14:26 -08:00
Kubernetes Prow Robot
3d6c7efc23
Merge pull request #115322 from aojea/hotfix
Fix panic on ClusterIP allocation for /28 subnets
2023-01-26 00:38:26 -08:00
David Porter
6cb022ff4a test: Update Host Exec to support node e2e
Node E2E tests do not run a scheduler, so the host exec pod must have
the `spec.nodeName` set explicitly.

Signed-off-by: David Porter <david@porter.me>
2023-01-26 00:37:01 -08:00
Kubernetes Prow Robot
eb4e2a2225
Merge pull request #115302 from alexzielenski/apiserver/discovery/lastreconciled-race
fix race in aggregated discovery controller
2023-01-25 23:12:24 -08:00
xuzhenglun
d48dd100bf
add kube_apiserver_nodeport_allocator_* to improve observability of ServiceNodePortStaticSubrange 2023-01-26 14:44:16 +08:00
xuzhenglun
c18c6e1b87
allocate nodeport with offset 2023-01-26 14:44:04 +08:00
Kubernetes Prow Robot
538c6c044f
Merge pull request #115329 from aojea/disable_probe
skip scale test for probes
2023-01-25 22:02:33 -08:00
Kubernetes Prow Robot
083e0d2be1
Merge pull request #114991 from TheOneTheOnlyJJ/skip-failing-unittests
Skip failing Windows unit tests
2023-01-25 22:02:25 -08:00
Kubernetes Prow Robot
fab126d7f3
Merge pull request #113121 from aramase/expiring-cache
kmsv2: implement expire cache with clock
2023-01-25 19:04:25 -08:00
Alexander Zielenski
65513eac3a add unfortunate deepcopy 2023-01-25 16:22:00 -08:00
Antonio Ojea
3fb4edb257 skip scale test for probes
Change-Id: I215e2cf9211348aadcc0d262da01953d6523794a
2023-01-26 00:02:30 +00:00
Sergey Kanzhelev
15b63c380e use a proper regex looking for the restartCount 2023-01-25 23:55:27 +00:00
Sergey Kanzhelev
cb4bb03c6a change the comment in CRI API to point to the correct logs directory 2023-01-25 23:51:23 +00:00