Skip to content

Conversation

cesnietor
Copy link
Collaborator

@cesnietor cesnietor commented Jul 9, 2020

Now the response includes Image, TotalSize which is the available size and UsedSize which is the real Disk Space:
GET on /api/v1/namespaces/default/tenants/minio-tenant-1'

{
  "creation_date": "2020-07-08 20:56:12 +0000 UTC",
  "currentState": "Ready",
  "image": "minio/minio:RELEASE.2020-06-03T22-13-49Z",
  "instance_count": 1,
  "name": "minio-tenant-1",
  "namespace": "default",
  "total_size": 8589934592,
  "used_size": 4294967296,
  "volume_count": 4,
  "volume_size": 2147483648,
  "volumes_per_server": 4,
  "zone_count": 1,
  "zones": [
    {
      "name": "zone-0",
      "servers": 1
    }
  ]
}

@cesnietor cesnietor added the WIP This PR is WIP and cannot be merged yet label Jul 9, 2020
@cesnietor cesnietor requested review from Alevsk, dvaldivia and bexsoft July 9, 2020 00:31
@cesnietor cesnietor self-assigned this Jul 9, 2020
dvaldivia
dvaldivia previously approved these changes Jul 9, 2020
The response includes Image, TotalSize which is the available size
and UsedSize which is the real Disk Space
@cesnietor cesnietor removed the WIP This PR is WIP and cannot be merged yet label Jul 9, 2020
@cesnietor
Copy link
Collaborator Author

basic tests added

@cesnietor cesnietor requested a review from dvaldivia July 9, 2020 01:50
Copy link
Collaborator

@bexsoft bexsoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Please verify that MCS_OPERATOR_MODE env variable is set on your deployment & alsop verify that your instance doesn't have the default names for secret & services

@dvaldivia dvaldivia merged commit 93e1168 into minio:master Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants