Commit Graph

21 Commits

Author SHA1 Message Date
Patrick Ohly
fec5233668 api: resource.k8s.io PodScheduling -> PodSchedulingContext
The name "PodScheduling" was unusual because in contrast to most other names,
it was impossible to put an article in front of it. Now PodSchedulingContext is
used instead.
2023-03-14 10:18:08 +01:00
Patrick Ohly
29941b8d3e api: resource.k8s.io v1alpha1 -> v1alpha2
For Kubernetes 1.27, we intend to make some breaking API changes:
- rename PodScheduling -> PodSchedulingHints (https://github.com/kubernetes/kubernetes/issues/114283)
- extend ResourceClaimStatus (https://github.com/kubernetes/enhancements/pull/3802)

We need to switch from v1alpha1 to v1alpha2 for that.
2023-03-14 07:52:03 +01:00
Jiahui Feng
82eb24156a add test for reset fields. 2023-03-08 15:01:06 -08:00
Patrick Ohly
5cca60f0b8 api: dynamic resource allocation API
This adds a new resource.k8s.io API group with v1alpha1 as version. It contains
four new types: resource.ResourceClaim, resource.ResourceClass, resource.ResourceClaimTemplate, and
resource.PodScheduling.
2022-11-10 20:08:24 +01:00
Kubernetes Prow Robot
a6bee7d5fc
Merge pull request #112575 from tkashem/apf-fix-reset-fields-test
apf: don't omit flowschemas from reset fields test
2022-10-03 13:20:13 -07:00
Kubernetes Prow Robot
9720af2ba3
Merge pull request #112306 from tkashem/v1beta3
add v1beta3 for Priority And Fairness
2022-10-03 10:06:14 -07:00
Wojciech Tyczyński
57c95fbfa1 Lock ServerSideApply feature to true 2022-09-27 13:48:28 +02:00
Abu Kashem
66fc0d7037
rename assuredConcurrencyShares for flowcontrol v1beta3 2022-09-26 15:34:10 -04:00
Abu Kashem
e1a764d635
apiserver: enable v1beta3 for apf 2022-09-21 18:54:19 -04:00
Abu Kashem
aa04af3f5c
apf: don't omit flowschemas from reset fields test 2022-09-19 13:46:38 -04:00
Mike Spreitzer
d3081b378a Revise according to review 2022-08-29 23:02:29 -04:00
Mike Spreitzer
98acbc3692 Make TestApplyResetFields exhibit surprising object 2022-08-26 14:13:35 -04:00
Kevin Delgado
581ac7f446 Add Apply and ApplyStatus methods to dynamic ResourceInterface 2022-04-12 21:55:40 +00:00
Ricardo Katz
42a1201082
Implementation on Network Policy Status (#107963)
* Implement status subresource in NetworkPolicy

* add NetworkPolicyStatus generated files

* Fix comments in netpol status review
2022-03-29 01:52:48 -07:00
Jordan Liggitt
363a8beaab Revert "Revert "Merge pull request 107797 from tkashem/revert-107456""
This reverts commit b0b460921b.
2022-03-25 14:36:10 -04:00
Abu Kashem
b0b460921b
Revert "Merge pull request #107797 from tkashem/revert-107456"
This reverts commit 83ca745412, reversing
changes made to 1c216c6ec8.
2022-02-27 13:40:28 -05:00
Abu Kashem
8fb3333863
Revert "Merge pull request #107456 from tkashem/apf-ssa"
This reverts commit 6faa4f0010, reversing
changes made to 33a2c50bce.
2022-01-26 13:54:26 -05:00
Abu Kashem
d9f4d6507b
apf: change controller to use SSA for patches 2022-01-19 14:56:53 -05:00
wangyysde
d2abddd909 rename v2beta2 to v2
Signed-off-by: wangyysde <net_use@bzhy.com>

Generation swagger.json.

Use v2 path for hpa_cpu_field.

run update-codegen.sh

Signed-off-by: wangyysde <net_use@bzhy.com>
2021-11-09 10:34:54 +08:00
Abu Kashem
e2b8701545
apf: ebable v1beta2 2021-09-09 08:28:53 -04:00
Kevin Delgado
a1fac8cbd9 Server-Side Apply: Status Wiping/Reset Fields
Adds and implements ResetFieldsProvder interface in order to ensure that
the fieldmanager no longer owns fields that get reset before the object
is persisted.

Co-authored-by: Kevin Wiesmueller <kwiesmul@redhat.com>
Co-authored-by: Kevin Delgado <kevindelgado@google.com>
2021-03-10 01:02:18 +00:00