kubectl/pkg/cmd
Arda Güçlü 68a87e8d32 kubectl scale: Add dry-run prefix to indicate result is not applied
Currently, if user executes `kubectl scale --dry-run`, output has no
indicator showing that this is not applied in reality.

This PR adds dry run suffix to the output as well as more integration
tests to verify it.

Kubernetes-commit: 76ee3788ccbac9003e3f24de9000ebd91c27611f
2022-12-02 16:27:18 +03:00
..
annotate Split options from flags for annotate command (#112817) 2022-12-10 04:13:10 +00:00
apiresources (kubectl apiresources): Use restclientgetter instead cmdutil.Factory 2022-08-24 09:52:10 +03:00
apply kubectl-apply: add prune test cases for non-namespaced resources 2022-11-09 07:43:43 +08:00
attach Support cancelable SPDY executor stream 2022-08-24 10:21:35 +08:00
auth Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
autoscale Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
certificates Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
clusterinfo Clean up testing code of kubectl cmd section 2022-10-27 22:18:42 -04:00
completion Enable shell completion descriptions for bash 2022-11-04 16:57:24 -04:00
config Update redacting functionality to redact all sensitive info in config when printing with view (#109189) 2022-11-08 18:06:48 +00:00
cp kubectl: remove unnecessary TODO annotations 2022-11-17 09:39:30 +08:00
create Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
debug Generate and format files 2022-07-19 20:54:13 -04:00
delete Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
describe Refactors describe command to split flags from options 2022-09-23 12:16:43 +05:30
diff kubectl apply: warning that in future release, prune will ignores no-namespaced resource if -n is not empty 2022-11-09 07:43:03 +08:00
drain Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
edit Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
events Move events command to top level 2022-11-10 14:32:14 +01:00
exec kubectl exec: return descriptive error message when multi resource passed 2022-12-02 14:05:11 +03:00
explain use discovery client from factory in explain v2 2022-11-03 18:59:09 -07:00
expose style: remove redundant judgment 2022-07-29 18:25:05 +08:00
get Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
help Move pkg/kubectl/cmd/{command} to staging 2019-08-01 11:01:40 -07:00
kustomize Manually update kustomize attachment points. 2021-07-01 17:10:28 -07:00
label Clean up testing code of kubectl cmd section 2022-10-27 22:18:42 -04:00
logs Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
options replace deprecated setoutput 2022-04-05 14:04:22 +08:00
patch Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
plugin Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
portforward Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
proxy Minor adjustments to descriptions and example text 2021-07-06 15:05:26 -04:00
replace Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
rollout Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
run kubectl/pkg/cmd/run: deprecate flags 2022-11-03 23:11:12 -04:00
scale kubectl scale: Add dry-run prefix to indicate result is not applied 2022-12-02 16:27:18 +03:00
set Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
taint Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
testing Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
top Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
util Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
version Update kubectl kustomize to kyaml/v0.13.9, cmd/config/v0.10.9, api/v0.12.1, kustomize/v4.5.7 (#111606) 2022-08-03 04:48:50 +00:00
wait Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
alpha.go Move events command to top level 2022-11-10 14:32:14 +01:00
cmd.go i18n: Fix bug where package-level variables are not translated. 2022-11-29 23:09:57 -05:00
cmd_test.go Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
profiling.go Add Close() for profile 2021-12-15 21:03:34 +08:00
skiplookerr_go118.go Adjust for os/exec changes in 1.19 2022-07-22 17:42:11 -04:00
skiplookerr_go119.go Adjust for os/exec changes in 1.19 2022-07-22 17:42:11 -04:00