Masashi Honma
b7630e4168
test: Add service cluster IP range unit test
...
This PR adds trailing unit tests to check the service cluster IP range and
improves the code coverage of k8s.io/kubernetes/cmd/kube-apiserver/app from
5.7% to 6.2%.
1) Dual stack IPv4/IPv6
2) Invalid IPv4, IPv6 mask
3) missing IPv4, IPv6 mask
4) invalid IP address format
The tests 2, 3, 4 are suggsted by Antonio Ojea.
2020-10-22 11:42:21 +09:00
darshanime
f4d1674827
Refactor parsing logic for service IP and ranges, add tests
...
Signed-off-by: darshanime <deathbullet@gmail.com>
2019-12-05 15:35:20 -05:00
Jordan Liggitt
4359054616
Detect long-running requests from parsed request info
2016-12-05 16:46:28 -05:00
Dr. Stefan Schimanski
ab3ce27f01
Make master+federation ServerRunOptions embeddings explicit
2016-10-31 11:04:58 +01:00
Dr. Stefan Schimanski
b798527793
Rename master/options/{APIServer -> ServerRunOptions}
2016-10-31 10:55:19 +01:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
nikhiljindal
2ffa3b4586
Moving StorageFactory building logic to genericapiserver
2016-05-10 00:57:11 -07:00
deads2k
6670b73b18
make storage enablement, serialization, and location orthogonal
2016-04-21 08:18:55 -04:00
nikhiljindal
50a9aceabb
Moving more logic to genericapiserver
2016-04-19 00:03:28 -07:00
goltermann
a3104ba96c
Final vet fixes; enabling vet checks in verify scripts.
2016-04-13 13:51:51 -07:00
deads2k
e8fb35d4d8
refactor resource overrides as positive logic interface
2016-03-28 09:24:49 -04:00
goltermann
34d4eaea08
Fixing several (but not all) go vet errors. Most are around string formatting, or unreachable code.
2016-03-22 17:26:50 -07:00
AdoHe
7228b9b987
restore ability to run against secured etcd
2016-03-11 11:21:16 -05:00
Daniel Smith
74400c33ae
changes for cross-group moves
2016-02-15 21:39:00 +01:00
mqliang
b0e06c14e5
add a knob to enable quorum read
2016-01-30 20:32:12 +08:00
Clayton Coleman
4d127dc969
Initialize API servers with negotiated serializers
...
Pass down into the server initialization the necessary interface for
handling client/server content type negotiation. Add integration tests
for the negotiation.
2016-01-22 01:10:22 -05:00
Clayton Coleman
c0c707d92d
Split apiserver flags and initialization
...
Make it easier to keep defaults and flags clearly identified.
2016-01-06 21:14:30 -05:00
nikhiljindal
2d952aaa87
Extracting APIServer machinery code into a library
2015-12-16 13:54:23 -08:00
deads2k
d0aaf13920
use constants for group names
2015-12-14 10:04:10 -05:00
Timothy St. Clair
413d8d18fe
Futher storage isolation and removal of the tools interface.
2015-12-09 11:04:14 -06:00
nikhiljindal
7bcc4a6755
Allowing runtimeConfig to support enabling/disabling specific extension resources
2015-10-15 14:24:22 -07:00
Chao Xu
53eab7ef1e
gofmt
2015-10-09 16:04:43 -07:00
Chao Xu
80f213c376
"experimental" -> "extensions"
2015-10-09 15:14:03 -07:00
Chao Xu
0b7e3c7dd1
experimental/v1alpha1->extensions/v1beta1
2015-10-09 15:01:33 -07:00
Wojciech Tyczynski
0f1cbe37a4
Events in separate etcd
2015-10-05 10:54:24 +02:00
Chao Xu
c449baea46
Remove ExpStorageVersion and Add StorageVersions to APIServer struct
2015-09-24 17:44:59 -07:00
Jordan Liggitt
b2268574c5
Add pods/attach to long running requests, protect in admission for privileged pods
2015-09-09 00:49:00 -04:00
Mike Danese
677855f1a9
fix longRunningRequestRE to something that doesn'tt push -f orig match pretty much all requests.
2015-06-16 13:48:10 -07:00