Managed Kubernetes
Latest
Frequently Asked Questions
Solutions
How Tos
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
How To Identify the Master Node With Latest ETCD Backup
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
How to identify which Master node has the latest ETCD backup/snapshot?
Environment
- Platform9 Managed Kubernetes - All Versions
- ETCD
Procedure
- The backup is run on only one of the master nodes part of the cluster. You can identify the master node on which the recent backup was completed successfully. The output will give you the NodeIP/Nodename on which the most recent backups are stored.
Sample Output
xxxxxxxxxx# kubectl get pods -n kube-system -o wide | grep -i etcd-backupNAME READY STATUS RESTARTS AGE IP NODEetcd-backup-27407100-njkb6 0/2 Completed 0 87m 10.128.147.106 track2etcd-backup-27407130-4kf9g 0/2 Completed 0 57m 10.128.147.106 track2etcd-backup-27407160-vj9w9 0/2 Completed 0 27m 10.128.147.106 track2Sample Output
xxxxxxxxxx[root@track2 ~]# ls -lrt /etc/pf9/etcd-backuptotal 74172-rw-------. 1 root root 25313312 Feb 9 17:30 etcd-snapshot-2022-02-09_17:30:04_UTC.db-rw-------. 1 root root 25313312 Feb 9 18:00 etcd-snapshot-2022-02-09_18:00:05_UTC.db-rw-------. 1 root root 25313312 Feb 9 18:30 etcd-snapshot-2022-02-09_18:30:04_UTC.dbThe default backup path is /etc/pf9/etcd-backup. The backup path and interval are configurable from the U/I during cluster creation OR using the Edit Cluster option on existing clusters.
The steps to enable/disable ETCD Backup and configure its parameters using Qbert API can be referenced here How-To Enable ETCD Backup Using Qbert API.
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message