1
0
mirror of https://github.com/minio/minio.git synced 2025-01-18 18:23:16 -05:00

24 Commits

Author SHA1 Message Date
Harshavardhana
2642e12d14
fix: change policies API to return and take struct ()
This allows for order guarantees in returned values
can be consumed safely by the caller to avoid any
additional parsing and validation.

Fixes 
2020-04-07 19:30:59 -07:00
Harshavardhana
ee4a6a823d Migrate config to KV data format ()
- adding oauth support to MinIO browser () by @kanagaraj
- supports multi-line get/set/del for all config fields
- add support for comments, allow toggle
- add extensive validation of config before saving
- support MinIO browser to support proper claims, using STS tokens
- env support for all config parameters, legacy envs are also
  supported with all documentation now pointing to latest ENVs
- preserve accessKey/secretKey from FS mode setups
- add history support implements three APIs
  - ClearHistory
  - RestoreHistory
  - ListHistory
- add help command support for each config parameters
- all the bug fixes after migration to KV, and other bug
  fixes encountered during testing.
2019-10-22 22:59:13 -07:00
Praveen raj Mani
8836d57e3c The prometheus metrics refractoring ()
The measures are consolidated to the following metrics

- `disk_storage_used` : Disk space used by the disk.
- `disk_storage_available`: Available disk space left on the disk.
- `disk_storage_total`: Total disk space on the disk.
- `disks_offline`: Total number of offline disks in current MinIO instance.
- `disks_total`: Total number of disks in current MinIO instance.
- `s3_requests_total`: Total number of s3 requests in current MinIO instance.
- `s3_errors_total`: Total number of errors in s3 requests in current MinIO instance.
- `s3_requests_current`: Total number of active s3 requests in current MinIO instance.
- `internode_rx_bytes_total`: Total number of internode bytes received by current MinIO server instance.
- `internode_tx_bytes_total`: Total number of bytes sent to the other nodes by current MinIO server instance.
- `s3_rx_bytes_total`: Total number of s3 bytes received by current MinIO server instance.
- `s3_tx_bytes_total`: Total number of s3 bytes sent by current MinIO server instance.
- `minio_version_info`: Current MinIO version with commit-id.
- `s3_ttfb_seconds_bucket`: Histogram that holds the latency information of the requests.

And this PR also modifies the current StorageInfo queries

- Decouples StorageInfo from ServerInfo .
- StorageInfo is enhanced to give endpoint information.

NOTE: ADMIN API VERSION IS BUMPED UP IN THIS PR

Fixes 
2019-10-22 21:01:14 -07:00
Ashish Kumar Sinha
18cb15559d Add network hardware info ()
peerRESTVersion changed to v6
2019-10-17 04:09:49 -07:00
Ashish Kumar Sinha
74008446fe CPU hardware info () 2019-10-03 20:18:38 +05:30
Bala FA
2a2ff96ee1 change ReadPerf into ReadThroughput in NetPerfInfo. ()
Previously `ReadPerf` was in time.Duration is changed to `ReadThroughput` in uint64.
2019-09-27 00:01:18 +05:30
Harshavardhana
9ac12cf898
Remove unusued Set/GetConfigKeys API () 2019-09-13 16:34:34 -07:00
Andreas Auernhammer
810a44e951 KMS Admin-API: add route and handler for KMS key info ()
This commit adds an admin API route and handler for
requesting status information about a KMS key.

Therefore, the client specifies the KMS key ID (when
empty / not set the server takes the currently configured
default key-ID) and the server tries to perform a dummy encryption,
re-wrap and decryption operation. If all three succeed we know that
the server can access the KMS and has permissions to generate, re-wrap
and decrypt data keys (policy is set correctly).
2019-09-05 01:49:44 +05:30
Bala FA
fa3546bb03 Add NetPerfInfo() API in madmin () 2019-08-31 08:27:53 +05:30
Harshavardhana
83d4c5763c
Decouple ServiceUpdate to ServerUpdate to be more native ()
The change now is to ensure that we take custom URL as
well for updating the deployment, this is required for
hotfix deliveries for certain deployments - other than
the community release.

This commit changes the previous work d65a2c672518a8af5f37f07c3abf18222df1839a
with newer set of requirements.

Also deprecates PeerUptime()
2019-08-28 15:04:43 -07:00
Ashish Kumar Sinha
c6f86d35d3 Rectify Examples and README.MD () 2019-08-28 10:56:02 -07:00
Harshavardhana
d65a2c6725
Implement cluster-wide in-place updates ()
This PR is a breaking change and also deprecates
`minio update` command, from this release onwards
all users are advised to just use `mc admin update`
2019-08-27 11:37:47 -07:00
poornas
7bf1caa0fe Fix broken link to go install docs () 2019-08-15 16:00:50 -07:00
poornas
97090aa16c Add admin API to send trace notifications to registered ()
Remove current functionality to log trace to file
using MINIO_HTTP_TRACE env, and replace it with
mc admin trace command on mc client.
2019-06-08 15:54:41 -07:00
Harshavardhana
ae002aa724 Deprecate updating admin credentials using API calls ()
Root credentials are not allowed to change in all of our
distributed setup deployments, this PR simply removes
that behavior.
2019-04-24 12:54:44 -07:00
kannappanr
5ecac91a55
Replace Minio refs in docs with MinIO and links () 2019-04-09 11:39:42 -07:00
Harshavardhana
bab4c90c45 Fix broken links in docs () 2018-10-25 11:39:31 +05:30
Acid Chicken (硫酸鶏)
483fe4bed5 Fix typo () 2018-05-22 08:09:30 +05:30
Aditya Manthramurthy
a003de72bf Update madmin doc (fixes ) () 2018-01-22 16:10:43 -08:00
Nitish Tiwari
42633748db
Update madmin package to return storage class parity ()
After the addition of Storage Class support, readQuorum
and writeQuorum are decided on a per object basis, instead
of deployment wide static quorums.

This PR updates madmin api to remove readQuorum/writeQuorum
and add Standard storage class and reduced redundancy storage
class parity as return values. Since these parity values are
used to decide the quorum for each object.

Fixes 
2018-01-12 07:52:52 +05:30
Anis Elleuch
f803bb4b3d admin: Add service Set Credentials API () 2017-01-17 14:25:59 -08:00
Harshavardhana
a054c73e22 Add slack replace gitter () 2017-01-16 15:26:26 -08:00
Harshavardhana
caecd75a2a Deprecate and remove service stop API. ()
Fixes 
2017-01-14 14:48:52 -08:00
Harshavardhana
f57f773189 admin: Add missing madmin examples and API docs. () 2016-12-20 18:49:48 -08:00