Antonio Ojea
3b17aece1f
cacher allow context cancellation if not ready ( #116024 )
...
* cacher allow context cancellation if not ready
Replace the sync.Cond variable with a channel so we can use the
context cancellation signal.
Co-authored-by: Wojciech Tyczy<C5><84>ski <wojtekt@google.com >
Change-Id: I2f75313a6337feee440ece4c1e873c32a12560dd
* wait again on pending state
Change-Id: I1ad79253a5a5d56a4d9611125825b1f7ad552be8
---------
Co-authored-by: Wojciech Tyczy<C5><84>ski <wojtekt@google.com >
2023-02-28 03:23:16 -08:00
Kubernetes Prow Robot
f2fdda8667
Merge pull request #115918 from yt2985/genericWatch
...
Partition watchers by namespace/name scope
2023-02-28 01:47:17 -08:00
Kubernetes Prow Robot
35f0507dca
Merge pull request #111856 from mengjiao-liu/improve-podSpec.restartPpolicy-description
...
Improve spec.template.spec.restartPolicy description
2023-02-27 22:53:27 -08:00
Kubernetes Prow Robot
b9fd1802ba
Merge pull request #102884 from vinaykul/restart-free-pod-vertical-scaling
...
In-place Pod Vertical Scaling feature
2023-02-27 22:53:15 -08:00
Kubernetes Prow Robot
36402f2833
Merge pull request #116039 from liggitt/crd-compat
...
Add CRD compatibility fixtures
2023-02-27 14:55:16 -08:00
Kubernetes Prow Robot
c5cd7a1db5
Merge pull request #116031 from ritazh/kmsv2_mockkms
...
kmsv2: add mock kms for reference implementation
2023-02-27 13:51:28 -08:00
Kubernetes Prow Robot
4a934ae821
Merge pull request #115996 from rayowang/autoscaling
...
Fix API field references for autoscaling v1, v2 and v2beta2
2023-02-27 13:51:16 -08:00
Jordan Liggitt
1c2fa0c7f7
Partition watchers by namespace/name scope
2023-02-27 20:38:11 +00:00
Jordan Liggitt
018475269b
Update generated files
2023-02-27 14:16:02 -05:00
Jordan Liggitt
588884dd69
Add CRD compatibility objects
2023-02-27 14:12:59 -05:00
Jordan Liggitt
9997683ba2
Use custom-defined type generators for slice elements in compatibility objects
2023-02-27 14:12:59 -05:00
Jordan Liggitt
688f5babba
Skip unmarshaled fields with generating compatibility fixtures
2023-02-27 14:12:58 -05:00
Jordan Liggitt
5f9a042284
Explicitly exclude unmarshaled fields for custom-marshaled types from standard JSON handling
2023-02-27 14:12:58 -05:00
Kubernetes Prow Robot
a16fd5467e
Merge pull request #114925 from tkashem/watch-termination
...
apiserver: terminate watch with rate limiting during shutdown
2023-02-27 10:26:38 -08:00
Katrina Verey
0dd346673c
Introduce CLI for ApplySet-based pruning ( #115979 )
...
* Introduce CLI for ApplySet-based pruning
* Address feedback from justinsb
* Fix parent namespace sourcing and restrict types. Increase test coverage.
2023-02-27 09:20:40 -08:00
Rita Zhang
6fd6657d47
kmsv2: add mock kms for reference implementation
...
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com >
2023-02-27 08:54:53 -08:00
Abu Kashem
791fcd6fb4
apiserver: make watch termination during shutdown configurable
2023-02-27 10:49:49 -05:00
Abu Kashem
6385b86a9b
apiserver: terminate watch with a rate limiter during shutdown
2023-02-27 10:49:49 -05:00
Abu Kashem
697d967108
apiserver: watch gets notified on server shutdown signal
2023-02-27 10:49:30 -05:00
Kubernetes Prow Robot
015e2fa20c
Merge pull request #115953 from pohly/lint-gomega
...
test: fixing + linting gomega usage
2023-02-27 00:56:20 -08:00
Mengjiao Liu
81aefe5fee
Improve spec.template.spec.restartPolicy description
2023-02-27 14:25:48 +08:00
Kubernetes Prow Robot
0e077bb7ac
Merge pull request #116070 from aramase/aramase/f/kms-pkg/util
...
[KMS] move util from envelope to kms package
2023-02-26 19:52:18 -08:00
Rayowang
119c5f4512
update openapi-spec, generated proto and generated openapi
2023-02-27 10:08:02 +08:00
Rayowang
00c836b44a
Fix API field references for autoscaling v1, v2 and v2beta2
2023-02-27 10:02:56 +08:00
Kubernetes Prow Robot
53b8170b97
Merge pull request #116055 from aramase/aramase/f/kubernetes#111923
...
[KMSv2] log request metadata as part of read/write
2023-02-26 17:02:17 -08:00
Anish Ramasekar
1f98b49bf3
[KMS] move util from envelope to kms package
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com >
2023-02-27 00:47:46 +00:00
Anish Ramasekar
e40b3cf54e
[KMSv2] log request metadata as part of read/write
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com >
2023-02-27 00:00:36 +00:00
Jordan Liggitt
6165a12c71
Revert "Merge pull request #115324 from alexzielenski/apiserver/smd/use-openapiv3"
...
This reverts commit 7efa62dfdf
, reversing
changes made to c48a7971e3
.
2023-02-25 16:14:23 -05:00
Kubernetes Prow Robot
7efa62dfdf
Merge pull request #115324 from alexzielenski/apiserver/smd/use-openapiv3
...
update SSA to use OpenAPIV3 for builtin and CRD models
2023-02-24 20:04:05 -08:00
Anish Ramasekar
0e06d09676
[KMSv2] remove setting dek_cache_inter_arrival_time_seconds
for KMSv2 only
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com >
2023-02-24 23:23:40 +00:00
Kubernetes Prow Robot
fb57080e06
Merge pull request #115393 from seans3/openapi3-root
...
OpenAPI V3 Root interface and basic implementation
2023-02-24 13:21:28 -08:00
Alexander Zielenski
5883203c8f
update swagger.json used in tests
...
dumped from 1.27 apiserver. now test is closesr to what is used in practice
2023-02-24 13:11:48 -08:00
Alexander Zielenski
8a85077a61
crd directly create smd schema from spec.Schema
...
remove unused builder function
2023-02-24 13:11:48 -08:00
Alexander Zielenski
3e96127af1
clean up unnecessary field
2023-02-24 13:10:01 -08:00
Sean Sullivan
5b482476b1
OpenAPI V3 Root interface and basic implementation
2023-02-24 11:54:34 -08:00
Kubernetes Prow Robot
67f4f9ad5a
Merge pull request #115666 from wojtek-t/refactor_delete_collection
...
Minor refactor of DeleteCollection in preparation for pagination support there
2023-02-24 09:43:34 -08:00
vinay kulkarni
3c70be1a12
Generated files and compat data from API changes
2023-02-24 17:18:04 +00:00
Vinay Kulkarni
76962b0fa7
In-place Pod Vertical Scaling - API changes
...
1. Define ContainerResizePolicy and add it to Container struct.
2. Add ResourcesAllocated and Resources fields to ContainerStatus struct.
3. Define ResourcesResizeStatus and add it to PodStatus struct.
4. Add InPlacePodVerticalScaling feature gate and drop disabled fields.
5. ResizePolicy validation & defaulting and Resources mutability for CPU/Memory.
6. Various fixes from code review feedback (originally committed on Apr 12, 2022)
KEP: /enhancements/keps/sig-node/1287-in-place-update-pod-resources
2023-02-24 17:18:04 +00:00
Kubernetes Prow Robot
cfb32121c1
Merge pull request #115928 from pohly/dra-resource-requirements-pvc
...
DRA resource requirements in PVC
2023-02-24 08:39:35 -08:00
Patrick Ohly
093469fb30
api: generated files
2023-02-24 16:32:58 +01:00
Patrick Ohly
f32302e744
api: drop Resources.Claims from PVC and PVC template
...
PVC and containers share the same ResourceRequirements struct. The Claims field
in it only makes sense when used in containers. When used in a PVC, the field
should have been rejected by validation. This was overlooked when introducing
it, so now persisted objects might have it set and/or people may have started
to rely on it being accepted even when it has no effect.
Therefore we cannot reject it in validation anymore, but we can still strip
it out on create or update.
2023-02-24 16:32:58 +01:00
Kubernetes Prow Robot
6e213e7390
Merge pull request #114872 from Iceber/fix_acquire_leader
...
client-go: fix the wait time for trying to acquire the leader lease
2023-02-24 07:17:34 -08:00
Kubernetes Prow Robot
a8e7572a7b
Merge pull request #114656 from wojtek-t/generalize_cacher_tests_4
...
Reuse generic Watch test for watchcache
2023-02-24 06:15:34 -08:00
Wojciech Tyczyński
a537049110
Split cacheWatcher into its own file
2023-02-24 11:59:01 +01:00
Sean Sullivan
e352d94e45
Refactor to use openapi fake client
2023-02-23 12:13:16 -08:00
Wojciech Tyczyński
e1aa521c14
Minor refactor of DeleteCollection
2023-02-23 20:20:37 +01:00
Kubernetes Prow Robot
7ab7af7111
Merge pull request #115794 from MadhavJivrajani/remove-test-list-deprecated
...
storage: Get rid of TestListDeprecated
2023-02-23 08:47:34 -08:00
Kubernetes Prow Robot
172431ebf1
Merge pull request #115998 from pacoxu/fix-order
...
ut: fix TestLegacyFallbackNoCache versions order
2023-02-23 07:35:48 -08:00
Madhav Jivrajani
7474d9b719
storage: Get rid of TestListDeprecated
...
This commit extends the test cases of RunTestList
to include the things tested by TestListDeprecated
and subsequently deletes the test.
This additionally adds a test case for checking that
the list return the modified version of an object.
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com >
2023-02-23 14:03:10 +05:30
Kubernetes Prow Robot
3ce7cdda1f
Merge pull request #115827 from borgerli/fix/construct-float
...
add missed case for float types
2023-02-22 22:07:06 -08:00