How Can I Check The Current Disk Space Consumption By ETCD Database?

Problem

  • How can I check how much disk space is consumed by the ETCD database on the kubernetes cluster node?

Environment

  • Platform9 Managed Kubernetes - All Versions
  • ETCD

Answer

  • The current ETCD Database size can be checked using the command mentioned below.
  • The value under the DB SIZE column indicates the size of the ETCD database for the particular cluster node.
ETCD endpoint status
Copy
  • The other command mentioned below provides the actual on disk size of the ETCD DB from Operating System Perspective. It can be considered as the way to confirm if the value mentioned under the DB SIZE column is correct or not.
Command to check ETCD DB size from OS end.
Copy

Additional Information

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard