Commit Graph

16373 Commits

Author SHA1 Message Date
Maciej Szulik
7fb3714fa1 Update generated 2022-08-02 16:53:07 +02:00
Maciej Szulik
8fd81c6573 Promote CronJobTimeZone to beta 2022-08-02 16:53:04 +02:00
Kubernetes Prow Robot
cdc60112a6 Merge pull request #111119 from aramase/aes-gcm-part-2
feat:(kms) encrypt data with DEK using AES-GCM instead of AES-CBC
2022-08-01 19:22:28 -07:00
Anish Ramasekar
d54631a41a feat:(kms) encrypt data with DEK using AES-GCM instead of AES-CBC
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-08-02 01:12:47 +00:00
Kubernetes Prow Robot
59cedf4871 Merge pull request #111477 from negz/biglogs
Share a single etcd3 client logger across all clients
2022-08-01 16:18:28 -07:00
Kubernetes Prow Robot
341c22dd03 Merge pull request #111538 from alexanderConstantinescu/cleanup-ccm-func-point
CCM [Service controller]: align function pointer variable with struct name
2022-08-01 15:05:08 -07:00
Kubernetes Prow Robot
b3ea9c9e2b Merge pull request #111218 from nixpanic/mount-utils/no-systemd
mount-utils: add Linux specific non-systemd Mounter
2022-08-01 10:24:28 -07:00
Kubernetes Prow Robot
bddb4ec08e Merge pull request #111486 from peizhouyu/fix-apply-help-text
fix that beginning of help text is cut off for apply and replace --filename flag
2022-08-01 07:50:52 -07:00
Sascha Grunert
584783ee9f Partly remove support for seccomp annotations
We now partly drop the support for seccomp annotations which is planned
for v1.25 as part of the KEP:

https://github.com/kubernetes/enhancements/issues/135

Pod security policies are not touched by this change and therefore we
have to keep the annotation key constants.

This means we only allow the usage of the annotations for backwards
compatibility reasons while the synchronization of the field to
annotation is no longer supported. Using the annotations for static pods
is also not supported any more.

Making the annotations fully non-functional will be deferred to a
future release.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-08-01 09:19:29 +02:00
ialidzhikov
6aa5efb1bd Update k8s.io/utils to ee6ede2d64ed 2022-07-31 16:33:14 +03:00
Kubernetes Prow Robot
262d8b2a77 Merge pull request #111446 from alexzielenski/trivial-x-preserve-unknown-fields-correction
correct OpenAPI extension in error message
2022-07-30 05:06:27 -07:00
Kubernetes Prow Robot
3902a53419 Merge pull request #111441 from denkensk/respect-topology
Respect PodTopologySpread after rolling upgrades
2022-07-30 01:40:42 -07:00
Alex Wang
86a2a85e7d code generated by script for MatchLabelKeys in TopologySpreadConstraint
Signed-off-by: Alex Wang <wangqingcan1990@gmail.com>
2022-07-30 13:24:55 +08:00
Alex Wang
e6c2bf8516 api defination for MatchLabelKeys in TopologySpreadConstraint
Signed-off-by: Alex Wang <wangqingcan1990@gmail.com>
2022-07-30 13:21:16 +08:00
Kubernetes Prow Robot
f6e163fe27 Merge pull request #111450 from HecarimV/fix-22072710
cleanup: omit redundant arguments in make call
2022-07-29 19:29:52 -07:00
Kubernetes Prow Robot
cf2800b812 Merge pull request #111402 from verb/111030-ec-ga
Promote EphemeralContainers feature to GA
2022-07-29 19:29:20 -07:00
Kubernetes Prow Robot
8cecf183a6 Merge pull request #110851 from negz/more-like-mac-slow-s
Use checksums instead of fsyncs to avoid slow discovery caching on MacOS
2022-07-29 18:11:12 -07:00
Nic Cope
c1aa7a0fe7 Copy etcd client debug level logic from upstream
Replicated from https://github.com/etcd-io/etcd/blob/v3.5.4/client/v3/logger.go#L47

The logic of this function doesn't make a lot of sense to me, but
copying it will avoid any behaviour change.

Signed-off-by: Nic Cope <nicc@rk0n.org>
2022-07-29 14:26:31 -07:00
Nic Cope
f54d260633 Give etcd client logger a name
Logic copied from https://github.com/etcd-io/etcd/blob/v3.5.4/client/v3/client.go#L374

Signed-off-by: Nic Cope <nicc@rk0n.org>
2022-07-29 14:24:17 -07:00
Kubernetes Prow Robot
5065f7296a Merge pull request #111454 from HecarimV/fix-log-capitalized
cleanup: fix some error log capitalization
2022-07-29 09:59:23 -07:00
Kubernetes Prow Robot
442548a064 Merge pull request #110534 from kerthcet/feat/ga-component-config
Graduate component config to stable in kube-scheduler
2022-07-29 09:59:11 -07:00
Kubernetes Prow Robot
762f39e2db Merge pull request #111524 from cici37/celBeta
Promote feature CustomResourceValidationExpressions to beta
2022-07-29 08:35:23 -07:00
Alexander Constantinescu
dd9623cbea CCM [Service controller]: align function pointer variable with struct name 2022-07-29 14:00:38 +02:00
Kubernetes Prow Robot
95303390ac Merge pull request #111519 from jpbetz/skip-cel-validation
Skip CEL expression validation if OpenAPIv3 schema is invalid
2022-07-28 21:37:10 -07:00
Joe Betz
95b0d44a56 Skip CEL expression validation if OpenAPIv3 schema is invalid
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
2022-07-28 23:27:28 -04:00
peizhouyu
d216b3433d fix that beginning of help text is cut off for apply and replace --filename flag 2022-07-29 11:26:56 +08:00
Cici Huang
e0fb5714ac Promote feature CustomResourceValidationExpressions to beta 2022-07-29 03:12:39 +00:00
Nic Cope
0c81eabb85 Share a single etcd3 client logger across all clients
Currently the API server creates one etcd client per CRD. If clients
aren't provided a logger they'll each create their own. These loggers
can account for ~20% of API server memory consumption on a cluster with
hundreds of CRDs.

Signed-off-by: Nic Cope <nicc@rk0n.org>
2022-07-28 19:51:55 -07:00
Kubernetes Prow Robot
da0091ceda Merge pull request #111496 from HecarimV/unnecessary-fmt
Remove unnecessary use of fmt.Sprintf
2022-07-28 19:35:17 -07:00
kerthcet
02f77a1b84 Feat: ga component config in kube-scheduler
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-07-29 08:47:48 +08:00
Kubernetes Prow Robot
f3d90aef8d Merge pull request #111483 from jpbetz/fix-missing-root-object-type
Skip schemas that don't have CEL rules in NewValidator
2022-07-28 16:23:21 -07:00
Joe Betz
735b5a66f2 Skip schemas that are non-structural in NewValidator
Co-authored-by: Cici Huang <cicih@google.com>
2022-07-28 15:47:19 -04:00
Marcus Puckett
dcc54dec19 Fix flakiness with kubectl wait tests (#111168)
* Prepend reactor not watch reactor

This forces the object to be created first it looks like, avoiding a race condition in testing.
Use PrependReactor instead of PrependWatchReactor


Decrease test timeouts

No need to be this long
Revert use of new scheme to reuse same scheme for all tests


Allow 1 to 2 actions in stale observed generation failure


Allow range of test action lengths

Reduce test flakiness
Fix TestWaitForJSONPathCondition/handles_watch_condition_change


Set delete wait options properly


cherry pick original changes back into branch

* Revert delete timeout setting change

* Remove validateActions functions

* Remove go-spew
2022-07-28 10:21:22 -07:00
Kubernetes Prow Robot
15d12e713f Merge pull request #111500 from cpanato/prombot
Update publishing-bot rules for go1.17.12 and go1.18.4
2022-07-28 09:07:23 -07:00
Kubernetes Prow Robot
4f74844299 Merge pull request #111460 from wojtek-t/forget_watcher
Cacher: add support for draining watchers
2022-07-28 07:33:23 -07:00
Kubernetes Prow Robot
5856e83573 Merge pull request #110007 from ardaguclu/enhancements-alpha-events
Add new flags into alpha events
2022-07-28 07:33:11 -07:00
Kubernetes Prow Robot
79a62d6235 Merge pull request #111387 from marseel/feature/retry_internal_errors
Add option to retry internal api error in reflector.
2022-07-28 06:13:10 -07:00
Arda Güçlü
63b8684cd3 Add new flags into alpha events
In order to promote kubectl alpha events to beta,
it should at least support flags which is already
supported by kubectl get events as well as new flags.

This PR adds;

--output: json|yaml support and does essential refactorings to
integrate other printing options easier in the future.

--no-headers: kubectl get events can hide headers when this flag is set for default printing.
Adds this ability to hide headers also for kubectl alpha events.
This flag has no effect when output is json or yaml for both commands.

--types: This will be used to filter certain events to be printed and
discard others(default behavior is same with --event=Normal,Warning).
2022-07-28 15:16:58 +03:00
Marcel Zięba
0b2b6489de Add option to retry internal api error in reflector. 2022-07-28 12:06:01 +00:00
Wojciech Tyczyński
a530a6898a Fix draining cacher tests 2022-07-28 11:36:01 +02:00
Lukasz Szaszkiewicz
debace151c cacher: add support for consistent streaming
design details https://github.com/kubernetes/enhancements/tree/master/keps/sig-api-machinery/3157-watch-list#design-details
2022-07-28 11:36:01 +02:00
jupblb
3c46482eb0 Switch initial/final seats type to uint64 2022-07-28 10:48:40 +02:00
cpanato
a94b67c0a0 drop configs for v1.21 due to EOL
Signed-off-by: cpanato <ctadeu@gmail.com>
2022-07-28 10:40:29 +02:00
cpanato
f64841e4d6 Update publishing-bot rules for go1.17.12 and go1.18.4
Signed-off-by: cpanato <ctadeu@gmail.com>
2022-07-28 10:36:23 +02:00
HaoJie Liu
208a66847b Remove unnecessary use of fmt.Sprintf
Signed-off-by: HaoJie Liu <liuhaojie@beyondcent.com>
2022-07-28 16:02:09 +08:00
Kubernetes Prow Robot
a4a22a2562 Merge pull request #111419 from muyangren2/json_assert
Fix test order staging/src/k8s.io/component-base/logs/json/json_test.go
2022-07-28 00:29:10 -07:00
Kubernetes Prow Robot
1df7b3bed3 Merge pull request #111319 from brianpursley/kubectl-1242
Change kubectl diff to exclude managedFields by default
2022-07-27 19:27:10 -07:00
Kubernetes Prow Robot
914406da51 Merge pull request #109601 from shiftstack/dirty_service
Prevent dirty service object leaking between reconciles
2022-07-27 18:15:10 -07:00
Nic Cope
0e5401c939 Disable the etcd3 client logger
This logger is responsible for 20% of the API server's memory usage when
many CRDs are installed. See the below issue for more context.

https://github.com/kubernetes/kubernetes/issues/111476

Signed-off-by: Nic Cope <nicc@rk0n.org>
2022-07-27 14:44:49 -07:00
Kubernetes Prow Robot
a2ffa21eed Merge pull request #111451 from DangerOnTheRanger/cel-use-case-tests
Add examples of matchExpressions validation as unit tests
2022-07-27 13:20:11 -07:00