Tim Hockin
ca708fa9ac
Service REST test: Fix some names
2021-07-01 23:24:24 -07:00
Tim Hockin
54b6a416fb
Service REST test: better IP and port alloc checks
2021-07-01 23:01:36 -07:00
Tim Hockin
43b13840db
Service REST test: remove obscure const
2021-07-01 18:26:46 -07:00
Tim Hockin
44eb475b10
Service REST test: remove unused return value
2021-07-01 18:26:45 -07:00
Tim Hockin
d6208606f3
Service REST test: remove pointless scaffolding
2021-07-01 18:26:45 -07:00
Tim Hockin
48e591eba2
Service REST test: remove obsolete setup param
2021-07-01 18:26:45 -07:00
Tim Hockin
a3b05033f6
Move endpoints test-helper funcs to a package
2021-07-01 18:26:45 -07:00
Tim Hockin
012bfaf98d
Service REST test: remove last use of "inner"
...
This required making a more hi-fidelity fake. That, in turn, required
fixing some tests which were just not correct.
2021-07-01 18:26:45 -07:00
Tim Hockin
22ed090e73
Service REST test: mostly remove tests of "inner"
...
This test was sometimes using the "inner" REST and sometimes using the
"outer" REST. This commit changes all but one test to use the outer.
The remaining test needs rework.
2021-07-01 18:26:45 -07:00
Tim Hockin
7e8882d189
Service REST test: Remove pointless scaffolding
...
These fields don't add much value in actually proving it all works, and
they make the upcoming de-layering hard.
2021-07-01 18:26:45 -07:00
Tim Hockin
175f4f3387
Move service test-helper funcs to a package
2021-07-01 18:26:45 -07:00
Tim Hockin
b1fcbab801
Service REST test: helper funcs for ports, too
2021-07-01 18:26:45 -07:00
Tim Hockin
5f65ba7d76
Service REST test: Use helper funcs to streamline
...
This makes subsequent changes easier to see.
2021-07-01 18:26:44 -07:00
Tim Hockin
d64bb1b29e
Service REST test: always check errors
...
This will be needed in upcoming changes.
2021-07-01 18:26:44 -07:00
Tim Hockin
d3a0332b6c
Service REST test: remove unused fields
...
These fields are never set, so we can remove them with no change in
behavior.
2021-07-01 18:26:44 -07:00
Tim Hockin
292b1444eb
Remove bad test for AllocateLoadBalancerNodePorts
...
If the gate is open, we should never find nil.
2021-07-01 18:26:44 -07:00
Tim Hockin
0bb280044e
Fix typo in IP allocator error
2021-07-01 18:26:44 -07:00
Tim Hockin
5970c4671c
Add an IPFamily() method to ipallocator
2021-07-01 18:26:44 -07:00
Tim Hockin
89b633d353
Fix doc comment
2021-07-01 18:26:44 -07:00
Chris Henzie
dba8ee229e
Add validation options for PersistentVolumeClaims
...
These options provide an extensible way of configuring how PVCs are
validated
2021-06-28 21:24:55 -07:00
Chris Henzie
9ba0eed7c5
Add validation options for PersistentVolumes
...
These options provide an extensible way of configuring how PVs are
validated
2021-06-28 21:24:55 -07:00
Shiming Zhang
45ce2dfacc
Treat negative as 1s in delete path
2021-06-28 11:49:39 +08:00
Antonio Ojea
fa7b5d86e6
remove duplicate validation on services
...
The rest api for services was validating that, on updates, both
the old and new service have the same type. That guarantees that
the type is going to be the same after that, thus we don't need
to validate the service type on the old and the new service.
2021-06-25 23:18:56 +02:00
Khaled (Kal) Henidak
2c6bba2936
fix auto upgraded preferDualStack services (in cluster upgrade)
2021-06-22 17:40:21 +00:00
Jordan Liggitt
068e4c55a8
Eliminate parallel and unnecessary embedded etcd instances
2021-06-15 09:53:06 -04:00
Andrew Sy Kim
4d38d21880
apis: remove Service topologyKeys
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2021-06-03 22:17:45 -04:00
Kubernetes Prow Robot
f5eded9a00
Merge pull request #100142 from Ethyling/enh-get-lastrestart
...
Add `LAST RESTART` column to `kubectl get pods`
2021-06-02 10:54:43 -07:00
Jordan Jacobelli
9eea445bcc
Update test cases for 'RESTARTS' column in 'kubectl get pods'
...
Signed-off-by: Jordan Jacobelli <jordanjacobelli04@gmail.com >
2021-06-02 17:32:21 +02:00
Kubernetes Prow Robot
63c75f3766
Merge pull request #102461 from goodluckbot/apiserver-event-toSelectableFields
...
Improve ToSelectableFields' performance for events
2021-06-02 08:02:18 -07:00
goodluckbot
eb114115fd
Improve func ToSelectableFields performance for event
2021-05-31 23:48:26 +08:00
Kubernetes Prow Robot
c115435adc
Merge pull request #101688 from liggitt/field-warnings
...
Add field-level warning plumbing and add pod spec warnings
2021-05-19 17:23:04 -07:00
Jordan Liggitt
f669796dfd
Send pod spec warnings when creating or changing workload objects
2021-05-18 10:42:36 -04:00
Jordan Liggitt
642e6168d1
Add metadata.generation support to all pod-spec-containing types
2021-05-18 10:42:36 -04:00
Jordan Liggitt
8c8a4cf3e4
Add WarningsOnCreate,WarningsOnUpdate
2021-05-18 10:42:36 -04:00
Kubernetes Prow Robot
7563d3092e
Merge pull request #96216 from knight42/refactor/disable-insecure-port-in-ctrler-mgr
...
refactor: disable insecure serving in controller-manager
2021-05-10 13:49:36 -07:00
Jian Zeng
e481d99965
refactor: disable insecure serving in controller-manager
...
Now the following flags have no effect and would be removed in v1.24:
* `--port`
* `--address`
The insecure port flags `--port` may only be set to 0 now.
Signed-off-by: Jian Zeng <zengjian.zj@bytedance.com >
2021-05-03 00:01:49 +08:00
Kubernetes Prow Robot
972ee2d425
Merge pull request #101034 from verb/1.22-ec-api
...
Switch alpha Pod ephemeralcontainers API to use Pod kind
2021-04-22 06:21:41 -07:00
Andrea Nodari
09649e58b5
Check request info when updating managed fields during scale
...
- Test all versions to make sure each resource version is in the
mappings
- Fail when request info contains an unrecognized version. We have tests
that guarantee that all known versions are in the mappings. If we
get a version in request info that is not there we should fail fast to
prevent inconsistent behaviour (e.g. for some reason the mappings is
not up to date).
Ensure all known versions are in mappings
2021-04-21 20:27:02 +02:00
Antoine Pelisse
816e80206c
Use ScaleHandler for all scalable resources
2021-04-21 18:41:40 +02:00
Kubernetes Prow Robot
27a625cf89
Merge pull request #100724 from liggitt/eviction-v1beta1
...
Add policy/v1 Eviction support
2021-04-16 10:02:22 -07:00
Lee Verberne
97726a50c1
Address feedback for new /ephemeralcontainers API
...
* Use deep copies in `PrepareForUpdate()`
* Preserve select metadata from new pod
* Use patch to add ephemeral container `kubectl debug`
* Distinguish between pod vs /ephemeralcontainers NotFound
2021-04-16 14:08:12 +02:00
Jordan Liggitt
10b07085f8
Define constant for eviction failure cause
2021-04-14 09:12:39 -04:00
Jordan Liggitt
33ad842480
allow evictions subresource to accept policy/v1 and policy/v1beta1
2021-04-13 21:22:25 -04:00
Jordan Liggitt
40f8fb2224
Register Eviction v1
2021-04-13 17:27:42 -04:00
Lee Verberne
d22dc5cb72
Switch ephemeralcontainers SR to Pod Kind
...
This changes the `/ephemeralcontainers` subresource of `/pods` to use
the `Pod` kind rather than `EphemeralContainers`.
When designing this API initially it seemed preferable to create a new
kind containing only the pod's ephemeral containers, similar to how
binding and scaling work.
It later became clear that this made admission control more difficult
because the controller wouldn't be presented with the entire Pod, so we
updated this to operate on the entire Pod, similar to how `/status`
works.
2021-04-13 13:36:48 +02:00
Monis Khan
bca4993004
Update auth OWNERS files to only use aliases
...
Signed-off-by: Monis Khan <mok@vmware.com >
2021-04-07 10:46:03 -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
Kubernetes Prow Robot
00e81db174
Merge pull request #99946 from deads2k/tidy-node-validation-master
...
refine validation
2021-03-09 16:08:32 -08:00
Morten Torkildsen
621aed4d32
generated
2021-03-09 10:29:11 -05:00
Morten Torkildsen
21fba79d45
Promote PDBs to GA
2021-03-09 10:29:11 -05:00