Shireesh Anjal
024656ba05
Move support logs to admin logs ( #4381 )
2022-11-30 19:34:01 -08:00
adfost
fd7142e223
update license headers to 2022 ( #4360 )
2022-11-14 18:38:39 -08:00
Krishnan Parthasarathi
5b0fc3ef94
feat: admin-rebalance subcommands ( #4186 )
2022-10-29 22:10:17 -07:00
Klaus Post
48e9183957
Move mc admin top scanner -> mc admin scanner info ( #4151 )
...
Also, add `mc admin scanner trace` which gives a simplified trace
with only relevant options.
2022-07-15 02:20:55 -07:00
Aditya Manthramurthy
811d7e5edb
Add commands to manage external IDPs ( #4131 )
...
This adds the set, info, ls and rm commands
2022-07-05 18:19:13 -07:00
Poorna
a59de0d37e
add import/export bucket metadata command ( #4087 )
2022-06-14 10:55:58 -07:00
Harshavardhana
0ddf3e2691
implement pool decomission commands ( #3769 )
2022-01-10 22:35:35 -08:00
Harshavardhana
a59f9e4d30
add gofumpt support, automated cleanup ( #3911 )
2022-01-06 10:55:40 -08:00
Shireesh Anjal
1461b652d9
Introduce admin health command ( #3847 )
...
It will be a hidden command and will behave
exactly same as `mc admin subnet health`
Also, remove the deprecated command `admin subnet obd`
2021-11-09 16:36:02 -08:00
Aditya Manthramurthy
198bca9cdf
Add new admin replicate subcommand ( #3810 )
...
This change adds support for enabling site replication
2021-10-06 16:57:01 -07:00
Klaus Post
b3ce21fb72
Add mc admin inspect ( #3754 )
...
Add function to download data from server with admin privileges.
For https://github.com/minio/minio/pull/12635
2021-08-06 06:42:23 -07:00
Krishna Srinivas
bc5835e680
feat: admin speedtest implementation ( #3759 )
2021-07-29 18:18:58 -07:00
Krishnan Parthasarathi
deb714784c
Add mc admin tier subcommands ( #3566 )
...
Signed-off-by: Krishnan Parthasarathi <kp@minio.io >
2021-05-11 19:42:49 -07:00
Harshavardhana
1402987ccb
change license to AGPLv3
2021-05-11 17:45:08 -07:00
Shireesh Anjal
440f6dccbc
Deprecate admin health, add admin subnet health ( #3455 )
...
The existing command `admin health` is being restructured to `admin
subnet health` as the reports generated by this command are primarily
intended to be uploaded to Subnet.
If user runs the `admin health` command, they'll be asked to run `admin
subnet health` command.
2020-10-21 09:29:58 -07:00
Anis Elleuch
b7a3dff287
Fix 'did you mean' message ( #3448 )
2020-10-12 09:53:51 -07:00
Harshavardhana
0b0acc611f
Revert "cli: Load global flags in initBeforeRunningCmd ( #3283 )" ( #3302 )
...
This reverts commit 712ff33319 .
2020-07-16 11:10:35 -07:00
Anis Elleuch
712ff33319
cli: Load global flags in initBeforeRunningCmd ( #3283 )
...
app.Before receives a cli.Context but without flags parsed. There is no
point calling ctx.Bool() or ctx.IsSet() at that stage.
However, flags are parsed in commands, so minio initialization and
setting global variables (globalJSON, globalQuiet, etc..) can be moved
to the Before function of all commands.
Avoid setting command.Before for non leaf commands, otherwise Before
function will be called multiples times until it reaches the leaf
command.
2020-07-01 17:28:43 -07:00
poornas
f55e9c1997
Add admin bucket quota command to manage quota ( #3179 )
2020-05-26 22:56:53 -07:00
Sidhartha Mani
eeeca2332d
Onboard Diagnostics ( #3114 )
...
Also colorize JSON output in all admin commands
2020-04-01 01:35:46 -07:00
Andreas Auernhammer
551a124804
add the mc admin kms subcommands ( #2882 )
...
This commit adds the first set of KMS admin
commands.
For new there is only the
`mc admin kms key status <endpoint> [key-ID]` command
that can be used to fetch status information for a
KMS master key. Listing and rotation commands are
planed.
2020-02-05 10:29:17 -08:00
BigUstad
7038207039
Replace Timestamp separator ( #3002 )
...
Replace time stamp separator to use `-`
2019-12-11 17:33:17 -08:00
Praveen raj Mani
508869e3f1
Prometheus config generation ( #2781 )
...
Add `admin promethes --generate` to generate the prometheus config
2019-09-22 20:28:17 +05:30
poornas
22ab93da0f
Add mc admin console command ( #2794 )
...
Also replace thrift package location
2019-09-05 07:04:25 +05:30
Harshavardhana
bd7564a2d4
Add 'mc admin update' command ( #2857 )
...
Also this PR deprecates `service status` command
2019-08-28 15:57:25 -07:00
Ashish Kumar Sinha
3acbeda9c2
Merge mc monitor to mc info ( #2838 )
2019-08-23 00:26:51 +05:30
Aditya Manthramurthy
cb3ce8fb97
Add mc admin group command ( #2841 )
...
This change is in preparation to add user-groups support to MinIO
server.
- Adds add, remove, enable/disable, list and info sub-commands for the
group command
2019-08-05 11:37:07 -07:00
poornas
ca26dac8e2
Add mc admin trace command. ( #2655 )
2019-06-11 16:25:33 -07:00
Andreas Auernhammer
88a3c2b1e1
remove admin-credential command ( #2767 )
...
This commit removes the admin credentials command
to fix the build since github.com/minio/minio
ae002aa7241bd35d5fd9b47e8b62df2176ad2ab1 removes
the admin API for updating the admin credentials.
2019-05-05 22:32:41 -07:00
ebozduman
83a9d8b91d
Adds missing codebase MinIO and min.io changes ( #2745 )
2019-04-16 22:31:54 -07:00
Sidhartha Mani
939e1006cc
add mc admin monitor command ( #2657 )
2019-02-02 22:44:21 +05:30
kannappanr
e3854b077a
List oldest locks currently used in a distributed XL setup ( #2549 )
2019-01-31 12:37:04 -08:00
Harshavardhana
cb4f46854b
Fix command line names and documentation ( #2602 )
2018-11-19 17:19:53 -08:00
Anis Elleuch
0dd32c1b26
Add admin profiling command ( #2557 )
...
Implement profiling command to start & download profiling data of
a standalone or all nodes of a cluster.
```
1. Start CPU profiling
$ mc admin profiling start --type "cpu" myminio/
2. Download latest profiling data under save under profiling.zip
$ mc admin profiling stop myminio/
```
2018-10-17 17:06:12 -07:00
Harshavardhana
b7e87b623d
Add admin users ( #2554 )
2018-10-16 14:54:25 -07:00
Harshavardhana
26f5102eae
Remove/deprecate admin lock commands ( #2503 )
2018-08-06 12:59:13 -07:00
Carter McClellan
c1b9079b73
Improved experimental log of mc admin heal to only appear on heal specific mc commands ( #2230 )
2017-07-30 08:43:42 -07:00
Dee Koder
b9401d574f
Correct typos in mc admin heal warning message. ( #2219 )
2017-07-27 14:32:19 -07:00
Carter McClellan
54a7460fa0
fix to mc admin ( #2207 )
2017-07-11 09:39:32 -07:00
Krishnan Parthasarathi
05468dfc8d
Improve admin subcommand structure ( #2098 )
...
- Rename password subcommand to credentials
- Make clear-lock require --force flag
- Also, fix lock and heal mc-admin subcommand usage text.
2017-03-31 01:12:00 -07:00
Anis Elleuch
ecee324c00
admin: Add config get command ( #2037 )
2017-02-28 14:33:26 -08:00
Anis Elleuch
7673ef084d
admin: Add info cmd and simplify service status ( #2036 )
2017-02-27 12:29:12 -08:00
Harshavardhana
1ef242a5c1
Fix all cli commands to have consistent UI ( #2040 )
...
Fixes #2038
2017-02-27 11:44:26 -08:00
Harshavardhana
e7e44b96ee
Avoid printing hidden flags and commands with custom help. ( #2015 )
...
Always use .VisibleFlags and .VisibleCommands in templates
to avoid printing hidden flags and commands in the help
template.
2017-02-15 02:05:29 -08:00
Anis Elleuch
fb9d10772a
help: Use {{.HelpName}} in help/examples template ( #2013 )
...
It is easier to use {{.HelpName}} in help text template to print
the mc binary name plus the whole command hierarchy (binary name +
command + subcommand, etc..)
2017-02-12 09:30:00 -08:00
Anis Elleuch
8ce4b39fed
admin: Rename creds to password subcommand ( #2009 )
...
Use new command "mc admin password" to change creds
2017-02-09 12:13:45 -08:00
Anis Elleuch
0e1e954768
Add new admin Heal command ( #1958 )
...
e.g.: `mc admin heal list myminio/` and `mc admin heal myminio/testbucket`
Also, some heal files that belong madmin package have been added
2017-01-22 15:19:06 -08:00
Anis Elleuch
085a1e512f
flags: use IsSet to fetch for cli flags ( #1969 )
...
cli package fails to search for global flags when we use many level of subcommands. This PR uses context.IsSet() instead.
2017-01-19 11:25:35 -08:00
Anis Elleuch
7cec8f2285
Add admin lock command ( #1942 )
2017-01-06 01:29:49 -08:00
Anis Elleuch
e90e9bc352
admin: Introduce the new service command ( #1922 )
...
Introducing Admin Service cmd to mc
2016-12-22 13:37:55 -08:00