Commit Graph

17726 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
200220ccef
Merge pull request #113534 from pacoxu/ControllerManagerLeaderMigration
remove FG ControllerManagerLeaderMigration
2023-02-01 09:35:09 -08:00
Kubernetes Prow Robot
b1667918bc
Merge pull request #115424 from songxiao-wang87/runwxs-test11
Make docs more accurate for the contention-profiling flag
2023-02-01 07:25:20 -08:00
Kubernetes Prow Robot
a94caec59c
Merge pull request #114605 from mochizuki875/feature_114546
Fix: Pod terminating stuck because of trying to umount not actual mounted dir
2023-02-01 07:25:08 -08:00
Kubernetes Prow Robot
39b1ec434e
Merge pull request #115383 from my-git9/imporve/note
Cleanup: improve some note for code
2023-01-31 17:05:07 -08:00
Kubernetes Prow Robot
abf8f35356
Merge pull request #113896 from nilekhc/kms-hot-reload-tests
chore: improves tests for hot reload of encryptionconfig
2023-01-31 15:50:53 -08:00
Kubernetes Prow Robot
87759c73eb
Merge pull request #112072 from tkashem/retry-concurrency-test
client-go: add unit test for Request thread safety
2023-01-31 01:46:49 -08:00
songxiao-wang87
3e6b954290 Making a run test.
Signed-off-by: songxiao-wang87 <wang.xiaosong23@zte.com.cn>
2023-01-31 09:38:48 +00:00
Kubernetes Prow Robot
9fb6306068
Merge pull request #115292 from SergeyKanzhelev/wrongDirName
change the comment in CRI API to point to the correct logs directory
2023-01-30 17:37:00 -08:00
Kubernetes Prow Robot
5d4776adc1
Merge pull request #114948 from haoruan/feature-api-doc-field-linter
Add linter to check if api docs match field tag names
2023-01-30 16:21:09 -08:00
Nilekh Chaudhari
b3f326722d
chore: improves tests
Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
2023-01-30 23:18:14 +00:00
Kubernetes Prow Robot
0cb1eabbf0
Merge pull request #115339 from kevindelgado/patch-opton-params
Separate Put and Patch Options
2023-01-30 13:49:00 -08:00
Abu Kashem
ca492a9b62
client-go: add unit test for Request thread safety 2023-01-30 16:24:02 -05:00
Kubernetes Prow Robot
c9e281df23
Merge pull request #115341 from tkashem/delete-collection
apiserver: remove 34s timeout from DELETECOLLECTION rest handler
2023-01-30 12:41:01 -08:00
Kubernetes Prow Robot
6d17cb2051
Merge pull request #115266 from pohly/gomega-update
dependencies: update gomega to v1.26.0
2023-01-30 12:40:49 -08:00
Kevin Delgado
f0394dd6e0 Separate Put and Patch Options 2023-01-30 19:16:10 +00:00
Kubernetes Prow Robot
5681b0da14
Merge pull request #115338 from danwinship/nodeutil.gethostname
Move GetHostname() from k/k/pkg/util/node to k/component-helpers/node/util
2023-01-30 09:07:20 -08:00
Kubernetes Prow Robot
4b074c816e
Merge pull request #115298 from knelasevero/StartTestServerCtx
Pass context to StartTestServer to get contextualized logger from it during tests
2023-01-30 09:07:12 -08:00
Kubernetes Prow Robot
d529048a3e
Merge pull request #112809 from tkashem/cors-cve
apiserver: fix cve for CORS
2023-01-30 09:06:52 -08:00
Kubernetes Prow Robot
4198d66457
Merge pull request #108835 from guettli/patch-2
Extend example to contain --as=...
2023-01-30 08:00:50 -08:00
Abu Kashem
709748a34e
apiserver: remove 34s from DELETECOLLECTION rest handler 2023-01-30 10:55:52 -05:00
Kubernetes Prow Robot
c829397f7a
Merge pull request #115354 from pohly/dra-reserved-for-list-type
dynamic resource allocation: avoid apiserver complaint about list content
2023-01-30 06:24:50 -08:00
Kubernetes Prow Robot
a94a35293b
Merge pull request #114490 from MadhavJivrajani/update-contention-profiling-docs
*: Make docs more accurate for the contention-profiling flag
2023-01-29 17:20:49 -08:00
Thomas Guettler
2b980b8c01 Extend example to contain --as==... 2023-01-29 19:39:58 +01:00
xin.li
04bdd5bd2a Cleanup: improve some note for code
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-01-29 17:44:02 +08:00
Kubernetes Prow Robot
8e642d3d0d
Merge pull request #115310 from mzaian/etcd-3.5.7-build-image
etcd: Update to version 3.5.7
2023-01-28 10:20:42 -08:00
Kubernetes Prow Robot
d7cb1c54a5
Merge pull request #115145 from alexzielenski/apiserver/policy/typed-params
ValidatingAdmissionPolicy: use natively-typed informer for params
2023-01-27 16:24:33 -08:00
Dan Winship
f994ae2521 Move GetHostname() from k/k/pkg/util/node to k/component-helpers/node/util
In fact, this actually uses pkg/util/node's GetHostname() but takes
the unit tests from cmd/kubeadm/app/util's private fork of that
function since they were more extensive. (Of course the fact that
kubeadm had a private fork of this function is a strong argument for
moving it to component-helpers.)
2023-01-27 18:24:38 -05: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
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
Richa Banker
452343367c Enable ComponentSLIs as beta feature 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
Joseph Anttila Hall
1a428fd1fa Fix konnectivity-client metric registration. 2023-01-26 14:41:29 -08:00
Alexander Zielenski
24fb6b8981 use transformer to set gvk back 2023-01-26 12:14:14 -08:00
Lucas Severo Alves
fa0ead381e remove unecessary comment changes 2023-01-26 20:41:51 +01: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
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
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
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
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
Sergey Kanzhelev
cb4bb03c6a change the comment in CRI API to point to the correct logs directory 2023-01-25 23:51:23 +00:00
Anish Ramasekar
4804baa011
kmsv2: implement expire cache with clock
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2023-01-25 22:50:32 +00:00
Lucas Severo Alves
6a06b63554 comment change from t.Fatal to panic 2023-01-25 11:44:12 +01:00
Patrick Ohly
aa1279b5eb dependencies: update gomega to v1.26.0
If gomega.Eventually/Consistently run into a situation where it observes some
state of e.g. a pod which does not satisfy the condition and then further
polling fails with API server errors, gomega will report both the most recent
pod state and API error instead of just the API error.
2023-01-25 09:55:50 +01:00
Patrick Ohly
74885d1a1d logs: add logger.V(5).Info example
This is relevant for unit tests where normally such output would be shown
when using ktesting.
2023-01-25 08:49:05 +01:00
Patrick Ohly
0a38a5e68a logs: remove example of secret data
Dynamic log
sanitization (https://github.com/kubernetes/enhancements/tree/master/keps/sig-instrumentation/1753-logs-sanitization)
got removed a while back, there's no need to have it in the example anymore.
2023-01-25 08:45:12 +01:00