Oscar Utbult
61cd37b806
Update shellcheck version (0.7.2 -> 0.8.0) and fix findings
2022-11-08 11:53:57 +01:00
Katrina Verey
5200ff86d0
Add --chunk-size flag to kubectl drain
2021-04-12 08:10:52 -07:00
Katrina Verey
8bae3b449a
Fix kubectl drain integration tests
...
These tests were not performing evictions because:
- Test pods were not on the test node (fixed with spec.nodeName)
- The test pods are unmanaged and require the --force flag to be evicted
(added the flag)
- The test node does not run pods, which prevents pod deletion from
finalizing (worked around with --skip-wait-for-delete-timeout)
2021-03-16 15:52:00 -07:00
Jian Zeng
237f051a58
feat(kubectl): add flag --show-managed-fields to kubectl-get
2021-02-16 22:52:03 +08:00
Julian V. Modesto
360c348d0e
Set kubectl field manager names
2020-05-09 13:24:39 -04:00
Julian V. Modesto
a9ec444d74
Add --dry-run to more kubectl commands.
...
- delete
- taint
- replace
2020-02-19 17:53:21 -05:00
Julian V. Modesto
13b80b48cd
Use --dry-run=client,server in kubectl.
...
- Support --dry-run=server for subcommands apply, run, create, annotate,
expose, patch, label, autoscale, apply set-last-applied, drain, rollout undo
- Support --dry-run=server for set subcommands
- image
- resources
- serviceaccount
- selector
- env
- subject
- Support --dry-run=server for create subcommands.
- clusterrole
- clusterrolebinding
- configmap
- cronjob
- job
- deployment
- namespace
- poddisruptionbudget
- priorityclass
- quota
- role
- rolebinding
- service
- secret
- serviceaccount
- Remove GetClientSideDryRun
2020-02-12 20:46:54 -05:00
Maciej Szulik
6972d6f33a
Fix kubectl taint's Complete parsing
2020-01-27 13:31:22 +01:00
Xiangyang Chu
99b2184993
Fix shellcheck faulures in test/cmd
...
Including files after test/cmd/n*
2019-06-17 14:04:34 +08:00
Wei Huang
61e6acb1a8
update e2e shell script due to newly introduced unreachable:NoSchedule taint when the node is in Unknown status
2018-08-27 16:19:03 -07:00
David Eads
aa8110044d
straight split of test-cmd
2018-07-05 11:38:26 -04:00