Harshal Neelkamal
6fdacf0411
Add plugin and key-cache for ExternalJWTSigner integration
2024-11-07 03:16:23 +00:00
Richa Banker
9274a584b8
Split k8s.io/component-base/registry and add into k8s.io/component-base/version and k8s.io/component-base/featuregate
2024-10-24 19:09:30 -07:00
Richa Banker
81cd728c66
Move k8s.io/apiserver/pkg/util/version to component-base
2024-10-22 13:03:42 -07:00
Aaron Prindle
701e6c7ab1
chore: bump DefaultKubeBinaryVersion to 1.32, make 1.32 CEL changes, fix int tests to handle 1 version off API deprecation, and fix prerelease-lifecycle-gen for # of APIs
2024-09-17 19:32:14 +00:00
Siyuan Zhang
40cddbe215
add emulated-version flag to kube-scheduler to control the feature gate.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com >
2024-07-09 09:04:41 -07:00
Wojciech Tyczyński
a5772bd425
Implement resilient watchcache initialization post-start-hook
2024-07-01 12:54:57 +02:00
Kubernetes Prow Robot
d40676c227
Merge pull request #122047 from aojea/treeless
...
KEP-1880 Multiple Service CIDRs: Graduate to Beta (1/2)
2024-06-28 01:00:20 -07:00
Kubernetes Prow Robot
522e2e5066
Merge pull request #124917 from vinayakankugoyal/kep4633
...
KEP-4633: Only allow anonymous auth for configured endpoints.
2024-06-27 20:39:51 -07:00
Vinayak Goyal
5e6a4937f5
KEP-4633: Allow health-only anonymous auth mode.
...
Signed-off-by: Vinayak Goyal <vinaygo@google.com >
2024-06-28 00:30:05 +00:00
Antonio Ojea
9b1bad431b
implement dual write on Service ClusterIP allocator
...
MultiCIDRServiceAllocator implements a new ClusterIP allocator based on
IPAddress object to solve the problems and limitations caused by
existing bitmap allocators.
However, during the rollout of new versions, deployments need to support
a skew of one version between kube-apiservers. To avoid the possible
problem where there are multiple Services requests on the skewed
apiservers and that both allocate the same IP to different Services,
the new allocator will implement a dual-write strategy under the
feature gate DisableAllocatorDualWrite.
After the MultiCIDRServiceAllocator is GA, the DisableAllocatorDualWrite
can be enabled safely as all apiservers will run with the new
allocators. The graduation of DisableAllocatorDualWrite can also
be used to clean up the opaque API object that contains the old bitmaps.
If MultiCIDRServiceAllocator is enabled and DisableAllocatorDualWrite is disable
and is a new environment, there is no bitmap object created, hence, the
apiserver will initialize it to be able to write on it.
2024-06-27 11:33:36 +00:00
Siyuan Zhang
379676c4be
add DefaultComponentGlobalsRegistry flags in ServerRunOptions
...
Signed-off-by: Siyuan Zhang <sizhang@google.com >
2024-06-25 22:12:11 +00:00
Siyuan Zhang
4352c4ad27
Add version mapping in ComponentGlobalsRegistry.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com >
2024-06-25 22:12:11 +00:00
Siyuan Zhang
701e5fc374
Add composition flags for emulation version and feature gate.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com >
2024-06-25 22:12:11 +00: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
TommyStarK
cce8551272
kube-apiserver: remove deprecated otel NewNoopTracerProvider
...
Signed-off-by: TommyStarK <thomasmilox@gmail.com >
2024-06-07 19:57:37 +02:00
carlory
ab0205bb33
remove pkg/cloudprovider
2024-05-10 15:44:58 +08:00
Davanum Srinivas
bf268f02a3
Remove gcp in-tree cloud provider and credential provider
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-05-01 09:03:53 -04: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
Marek Siarkowicz
3ee8178768
Cleanup defer from SetFeatureGateDuringTest function call
2024-04-24 20:25:29 +02:00
Antonio Ojea
e3a0df26a8
remove flag cidr max size validation if gate enable
2023-10-31 21:05:06 +00:00
Kubernetes Prow Robot
722503e9e5
Merge pull request #121390 from wojtek-t/disable_paging
...
Remove ability to disable pagination at store level
2023-10-24 18:55:16 +02:00
Wojciech Tyczyński
b386120da2
Remove storageConfig.Paging parameter
2023-10-20 15:35:58 +02:00
Nabarun Pal
22e5a806a7
Add --authorization-config flag to apiserver
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com >
2023-10-18 11:58:47 +05:30
Dr. Stefan Schimanski
0f989046d0
kube-apiserver: move cloud provider validation into options
...
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com >
2023-10-10 22:43:23 +02:00
Anish Ramasekar
9e1ff1e512
add loading config and wire feature flag
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com >
2023-08-30 23:14:56 +00:00
Kubernetes Prow Robot
68b7685b2a
Merge pull request #119081 from sttts/sttts-public-ip-validation-move
...
kube-apiserver: move "public IP matches IP family" check to option validation
2023-07-04 14:28:54 -07: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
36e458612a
cmd/kube-apiserver: move back master count variable from generic controlplane
2023-07-03 13:20:29 +02:00
Dr. Stefan Schimanski
764da8a01d
FIXUP: cmd/kube-apiserver/app/options: split apart controlplane part
2023-06-26 21:50:38 +02:00
Dr. Stefan Schimanski
1b3779baa0
MOVE: cmd/kube-apiserver/app/options: split apart controlplane part
2023-06-26 21:50:37 +02:00
Dr. Stefan Schimanski
6e079545c4
cmd/kube-apiserver: move options completion into options package
2023-06-26 15:20:40 +02:00
Antonio Ojea
811c2f50a1
remove apiserver limitations
...
Change-Id: I97b35d912ba5d86857cf82d3eddd65b648030005
2023-03-14 22:58:11 +00:00
Monis Khan
754cb3d601
kubelet/client: collapse transport wiring onto standard approach
...
Signed-off-by: Monis Khan <mok@microsoft.com >
2023-02-06 20:34:49 -05:00
TommyStarK
44c94f98b6
fix typo in cmd/kube-apiserver/app/options/validation_test.go
...
Put back test case that was dropped by mistake.
Signed-off-by: TommyStarK <thomasmilox@gmail.com >
2022-11-16 19:25:31 +01:00
TommyStarK
47fdbd97d3
cmd/kube-apiserver/app/options: Improving test coverage
...
Signed-off-by: TommyStarK <thomasmilox@gmail.com >
2022-11-10 16:20:20 +01:00
Andrew Sy Kim
02020b20e7
kube-apiserver: remove flags --identity-lease-duration-seconds and --identity-lease-renew-interval-seconds
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com >
2022-11-07 19:36:22 -05:00
SataQiu
ecfae2bebe
kube-apiserver: keep the types of LeaseEndpointReconcilerType and NoneEndpointReconcilerType the same as MasterCountReconcilerType
2022-10-26 21:49:31 +08:00
Abu Kashem
6dc81c3280
update api enablement for flowcontrol v1beta3
2022-09-21 18:54:20 -04:00
Kubernetes Prow Robot
80edf6d1a4
Merge pull request #112532 from ldsdsy/modify4
...
Eliminate unnecessary string conversions in options.go
2022-09-19 07:53:29 -07:00
ldsdsy
bd339b9c9c
Eliminate unnecessary string conversions in options.go
2022-09-17 10:01:15 +08:00
Di Jin
0b400cf6aa
Add an option for aggregator
2022-09-01 15:25:26 -07:00
Tim Hockin
5f59159bfc
Docs: node-port-range should not overlap ephemeral
2022-08-04 10:26:26 -07:00
Sally O'Malley
47e7d8034f
kubelet tracing
...
Signed-off-by: Sally O'Malley <somalley@redhat.com >
Co-authored-by: David Ashpole <dashpole@google.com >
2022-08-01 12:55:02 -04:00
Maciej Wyrzuc
b42045a64f
Add additional etcd check to readyz with 2 seconds timeout.
2022-07-27 12:23:02 +00:00
Patrick Ohly
4c6338ac0f
logs: replace config methods with functions
...
API types are only supposed to have methods related to serialization.
2022-06-17 20:22:13 +02:00
Antonio Ojea
2124f17c72
unit tests for Class E IP addresses
2022-06-08 15:29:48 +02:00
twilight0620
62298c0493
add test case TestValidateServiceNodePort for validateServiceNodePort method
2022-05-17 14:32:06 +08:00
carlory
fcc282f9f2
remove audit.k8s.io/v1[alpha|beta]1 versions
2022-03-08 14:37:26 +08:00
Antonio Ojea
5a20c425f2
apiserver: use endpoint lease reconciler as default
...
The apiserver owns and manages the kubernetes.default service.
It has 3 different options to reconcile the endpoints that belong to
that service:
- None: endpoints are handled by an external party.
- MasterCount: legacy, it reconciles based on the endpoints generated
and a flag specifying the number of master on the cluster.
- Lease: default since 1.11, each apiserver writes a lease in etcd
and renews periodically, the endpoints are generated based on the
existing leases.
It seems that when the default was set for the lease reconciler, the
controlplane code wasn't updated and kept using the master count
reconciler.
This also starts the deprecation of the master count reconciler in
favor of the lease reconciler.
2022-02-11 09:00:54 +01:00
Jian Zeng
9573b4a6b9
refactor(apiserver): remove the insecure flags
...
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com >
2021-12-08 10:53:44 +08:00