Commit Graph
31 Commits
Author SHA1 Message Date
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