Marcus Puckett
533f9479cc
Revert "Move kubectl wait to informers with a cache to avoid hanging due to objects disappearing from the cluster ( #108086 )"
...
This reverts commit 171431ca2c009c0a576fa288b7df892b59299389.
Kubernetes-commit: a6bd1e6ac90f3ccbbe527e44e3217a8420636c41
2022-07-01 13:45:18 -07:00
Marcus Puckett
2e38f74bcc
Move kubectl wait to informers with a cache to avoid hanging due to objects disappearing from the cluster ( #108086 )
...
* move to using informers for getObjAndCheckCondition
* move to using informers for IsDeleted
* update tests to handle new informer methodology
* set minimum timeout to 1s because informer can't handle less for caching reasons
* fix null return for deletes issue
Kubernetes-commit: 171431ca2c009c0a576fa288b7df892b59299389
2022-06-30 20:54:29 +00:00
Chok Yip Lau
8d1dfaeedb
Added JSONPath wait for kubectl wait
...
Co-authored-by: Eddie Zaneski <eddiezane@gmail.com>
Kubernetes-commit: 8fcf98ec3bb16ddf32ea1688752e6b7e2a14eaa4
2021-10-04 16:19:08 -04:00
Ling Samuel
cf01e4558b
fix kubectl wait --for=delete ignore not found
...
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
Kubernetes-commit: 99cdc37e2a89df1f86045f295916c00266e4d034
2020-11-19 14:48:28 +08:00
Nick Maliwacki
f3ec5d79c4
add .status.observedGeneration tests & update names
...
Kubernetes-commit: bca0ddeba0d669093d04a148cef4d4179e2fa271
2021-01-13 22:35:58 -08:00
Nick Maliwacki
a84bbc2022
wait ensures observedGeneration >= generation
...
Kubernetes-commit: 44aff9917566885ab5d8cc712a3330bac1923214
2020-12-20 00:35:31 -08:00
David Eads
6cadd0558f
add GVK to fake dynamic client to match actual behavior
...
Kubernetes-commit: f4383458432cd67714e9ce0acde56a2ed5c24a21
2020-10-29 15:53:34 -04:00
zhouya0
3c159f733a
kubectl wait add ignore not found flag
...
Kubernetes-commit: 3d2d95e99dd1219331ef3d32e63b39122a0ef116
2020-05-11 09:19:10 +08:00
Sean Sullivan
c6063dd846
Move pkg/kubectl/cmd/{command} to staging
...
Kubernetes-commit: 0e0ea523392f1121f61f99ac30a9bc2043eaed90
2019-08-01 11:01:40 -07:00