Morten Torkildsen
39507d911f
Add resource v1beta2 API
2025-03-26 14:41:09 +00:00
Kubernetes Prow Robot
2b79593ece
Merge pull request #130225 from ritazh/dra-admin-access-namespace
...
DRA: AdminAccess validate based on namespace label
2025-03-19 10:18:50 -07:00
Rita Zhang
0301e5a9f8
DRA: AdminAccess validate based on namespace label
...
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
2025-03-18 22:56:54 -07:00
Kubernetes Prow Robot
a6227695ab
Merge pull request #128402 from richabanker/mvp-agg-discovery
...
KEP 4020: Replace StorageVersionAPI with aggregated discovery to fetch served resources by a peer apiserver
2025-03-18 21:43:49 -07:00
Richa Banker
8b2cee83c1
Replace StorageVersion API with aggregated discovery to fetch served resources by a peer for MVP
...
Co-authored-by: Joe Betz <jpbetz@google.com>
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
2025-03-18 13:27:27 -07:00
Jefftree
5ba4a90fda
Add LeaseCandidate v1beta1
2025-03-12 17:52:10 +00:00
Stanislav Láznička
e0f536bf1f
use the ClusterTrustBundles beta API
2025-03-11 18:07:24 +01:00
Jefftree
05a90bf642
Revert "Add LeaseCandidate v1beta1"
...
This reverts commit fad4594fd9 .
2025-03-01 14:14:25 +00:00
Jefftree
fad4594fd9
Add LeaseCandidate v1beta1
2025-02-27 15:41:26 +00:00
Jefftree
0ce7b688a6
v1alpha2 LeaseCandidate API
2024-11-08 02:27:19 +00:00
Patrick Ohly
2e64c72249
DRA API: register v1beta1
...
This is the minimal set of changes that are needed to make the new version
usable. The storage version is still v1alpha3. More changes will follow.
2024-11-06 13:03:18 +01:00
carlory
49b2c969a3
remove resource flowschemas and prioritylevelconfigurations from legacyBetaEnabledByDefaultResources in v1.32
2024-09-02 11:30:17 +08:00
Jefftree
e3e56eb1e2
CLE storage and type registration changes
2024-07-24 14:38:11 +00:00
Kubernetes Prow Robot
bb350f7111
Merge pull request #125661 from mjudeikis/mjudeikis/poststarthookctx.stopch.cleanup
...
Clean deprecated context.StopCh
2024-07-23 02:12:22 -07:00
Patrick Ohly
b51d68bb87
DRA: bump API v1alpha2 -> v1alpha3
...
This is in preparation for revamping the resource.k8s.io completely. Because
there will be no support for transitioning from v1alpha2 to v1alpha3, the
roundtrip test data for that API in 1.29 and 1.30 gets removed.
Repeating the version in the import name of the API packages is not really
required. It was done for a while to support simpler grepping for usage of
alpha APIs, but there are better ways for that now. So during this transition,
"resourceapi" gets used instead of "resourcev1alpha3" and the version gets
dropped from informer and lister imports. The advantage is that the next bump
to v1beta1 will affect fewer source code lines.
Only source code where the version really matters (like API registration)
retains the versioned import.
2024-07-21 17:28:13 +02:00
Antonio Ojea
0e1f9dadd6
modify components to use the networking v1beta1 API
2024-06-30 09:48:46 +00:00
Mangirdas Judeikis
24ecb20e41
clean deprecated context.StopCh
2024-06-27 16:07:29 +03:00
Siyuan Zhang
403301bfdf
apiserver: Add API emulation versioning.
...
Co-authored-by: Siyuan Zhang <sizhang@google.com>
Co-authored-by: Joe Betz <jpbetz@google.com>
Co-authored-by: Alex Zielenski <zielenski@google.com>
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-06-25 22:12:11 +00:00
Dr. Stefan Schimanski
3a3be8c704
controlplane: add generic storage construction
...
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-06-03 13:50:04 +02:00
Patrick Ohly
b92273a760
apiserver + controllers: enhance context support
...
27a68aee3a introduced context support for events. Creating an event
broadcaster with context makes tests more resilient against leaking goroutines
when that context gets canceled at the end of a test and enables per-test
output via ktesting.
The context could get passed to the constructor. A cleaner solution is to
enhance context support for the apiserver and then pass the context into the
controller's run method. This ripples up the call stack to all places which
start an apiserver.
2024-04-29 20:59:21 +02:00
Dr. Stefan Schimanski
3b6d2a66a4
pkg/controlplane: split apart generic server part of instance.go
...
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-29 10:15:02 +02:00
Kubernetes Prow Robot
c6b6163e2e
Merge pull request #124576 from sttts/sttts-peer-proxy-generic-move
...
controlplane/apiserver: move peer proxy code to allow generic aggregator construction
2024-04-29 01:11:06 -07:00
Dr. Stefan Schimanski
c252ebe50c
controlplane/apiserver: move peer proxy code to allow aggregator construction
...
This reverts commit 0bb6ff5e454cfc99c0b611e22162391eaa31e103.
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-29 08:13:43 +02:00
Dr. Stefan Schimanski
3daae717c3
controlplane: split out SystemNamespaces
...
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-27 14:19:56 +02:00
Dr. Stefan Schimanski
7e0fea2331
kube-apiserver/aggregator: remove unused PeerCAFile in config
...
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-26 23:22:09 +02:00
Dr. Stefan Schimanski
96a144c977
Address comments
...
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-26 17:47:30 +02:00
Dr. Stefan Schimanski
e37917fea7
pkg/controlplane: split up config into generic controlplane and kube-related part
...
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-26 14:14:06 +02:00
Nilekh Chaudhari
91a7708cdc
feat: implements Storage Version Migration API in-tree
...
Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
2024-03-08 04:18:56 +00:00
Antonio Ojea
3b450378e0
bootstrap controller for default ServiceCIDR
...
The bootstrap controller for ServiceCIDR ensures that the default
ServiceCIDR is created from the existing flags.
It follows the same behavior than the kubernetes.default Service,
it only creates the default ServiceCIDR if it doesn't exist, but
does not modify it despite the parameters doesn't match.
review: bootstrap controller for default ServiceCIDR
2023-10-31 21:05:04 +00:00
Abu Kashem
b24dd44904
apiserver: enable apf v1 API
2023-10-30 07:48:22 -04:00
Dr. Stefan Schimanski
581af9ba6d
kube-apiserver: use only one client in apiserver controllers
...
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2023-10-10 16:49:56 +02:00
bzsuni
7c33b78418
remove resource flowschemas and prioritylevelconfigurations for legacyBetaEnabledByDefaultResources in v1.29
...
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2023-09-04 21:54:51 +08:00
SataQiu
2825519da2
apf: remove v1alpha1 API
2023-08-30 20:48:42 +08:00
SataQiu
213ed03c00
remove deprecated kube-apiserver identity lease garbage collector
2023-07-25 10:10:18 +08:00
Alexander Zielenski
88becfc0ba
api: add v1beta1 ValidatingAdmissionPolicy/Binding types and storage
2023-07-20 13:24:09 -07:00
Richa Banker
cd5f3d9f9d
Add impl for uvip
2023-07-18 17:36:22 -07:00
carlory
850dc6123a
Remove ability to re-enable serving deprecated policyv1beta1 APIs
2023-07-18 10:24:26 +08:00
Antonio Ojea
c5147c91b8
controlplane: kubernetes.default controller stop polling
...
the kubernetesservice controller is in charge of reconciling the
kubernetes.default service with the first IP in the service CIDR range
and port 443, it also maintains the Endpoints associated to the Service
using the configure EndpointReconciler.
Until now, the controller was creating the default namespace if it
doesn't exist , and creating the kubernetes.default service if it
doesn't exist too. However, it was polling the Service in each loop,
with this change we reuse the apiserver informers to watch the Service
instead of polling.
It also removes the logic to create the default network namespace, since
this is part of the systemnamespaces controller now.
Change-Id: I70954f8e6309e7af8e4b749bf0752168f0ec2c42
Signed-off-by: Antonio Ojea <aojea@google.com>
2023-07-13 10:41:06 +00:00
Dr. Stefan Schimanski
a34e06e74c
kube-apiserver/corerest: structure Config
2023-07-11 17:27:20 +02:00
Dr. Stefan Schimanski
75e3576523
kube-apiserver: rewire service controllers: kubernetesservice + IP repair
2023-07-11 17:27:20 +02:00
Dr. Stefan Schimanski
c733c57962
pkg/controlplane: wire core storage as RESTStorageProvider
2023-07-05 16:46:40 +02:00
Dr. Stefan Schimanski
68aee61d4f
SPLIT: kube-apiserver/corerest: split out service IP setup logic
2023-07-05 11:00:37 +02:00
Dr. Stefan Schimanski
dad3e4d211
SPLIT: kube-apiserver/corerest: split constructor
2023-07-05 09:45:20 +02:00
Dr. Stefan Schimanski
4149933ed2
kube-apiserver: move "public IP matches IP family" check to option validation
2023-07-04 22:28:27 +02:00
Dr. Stefan Schimanski
616c959988
FIXUP: pkg/controlplane: move bootstrap controller to controllers/kubernetesservice
2023-07-04 16:38:14 +02:00
Dr. Stefan Schimanski
764da8a01d
FIXUP: cmd/kube-apiserver/app/options: split apart controlplane part
2023-06-26 21:50:38 +02:00
carlory
e7396e3551
remove ability to re-enable serving deprecated versions of the runtimeclasses kind
2023-05-02 22:40:26 +08:00
carlory
da922f0af6
Remove ability to re-enable serving deprecated discoveryv1beta1 APIs
2023-04-30 19:21:46 +08:00
carlory
944a4cd311
Remove ability to re-enable serving deprecated autoscalingapiv2beta APIs
2023-04-29 16:51:48 +08:00
Kubernetes Prow Robot
4ca7bcec24
Merge pull request #117665 from carlory/fix-007
...
Remove ability to re-enable serving deprecated eventv1beta1 APIs
2023-04-28 11:08:27 -07:00