Skip to content

Commit

Permalink
add quota to endpoint status response
Browse files Browse the repository at this point in the history
This adds the configured backend quota bytes to the endpoint status response.
related discussion in etcd-io#17821

Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
  • Loading branch information
tjungblu committed Apr 25, 2024
1 parent 3ecb70d commit fcd9bc8
Show file tree
Hide file tree
Showing 4 changed files with 348 additions and 285 deletions.
5 changes: 5 additions & 0 deletions Documentation/dev-guide/apispec/swagger/rpc.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -2835,6 +2835,11 @@
"storageVersion": {
"type": "string",
"description": "storageVersion is the version of the db file. It might be get updated with delay in relationship to the target cluster version."
},
"dbSizeQuota": {
"type": "string",
"format": "int64",
"title": "dbSizeQuota is the configured etcd storage quota in bytes (the value passed to etcd instance by flag --quota-backend-bytes)"
}
}
},
Expand Down
Loading

0 comments on commit fcd9bc8

Please sign in to comment.