You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make-so monitor tool's home page shows basic health stats such as % of database PVC's storage space that is used (showing redder the more full it is)
#330
Closed
Venryx opened this issue
Jun 25, 2024
· 0 comments
The "database PVC" is the "persistent volume claim" in Kubernetes for the database pod. It should be 10gb in size, in both the local and remote clusters.
The monitor tool's home page can be found here: https://github.com/debate-map/app/blob/main/Packages/monitor-client/Source/UI/Home.tsx
The "database PVC" is the "persistent volume claim" in Kubernetes for the database pod. It should be 10gb in size, in both the local and remote clusters.
The monitor tool's frontend can call into the backend (https://github.com/debate-map/app/blob/main/Packages/monitor-backend), which can itself call the
exec_command_in_another_pod
function here: https://github.com/debate-map/app/blob/dd091e8614ea8b3c496d3a74e8a7f907f2dffc41/Packages/rust-shared/src/utils/_k8s.rsThe pod to run the size-usage command in would be the "debate-map-instance1-XXXX-0" pod.
For the command to run, it should be workable to execute
df
, and then parse the use% column for the "/dev/sdd" row.The text was updated successfully, but these errors were encountered: