Pod "etcd-backup-with-interval-" in "NotReady" State
Problem
$ kubectl get pods -n kube-system | grep etcd
etcd-backup-with-interval-28050660--1-kd7pg 1/2 NotReady 0 17m$ kubectl get jobs -n kube-system | grep 28050660
etcd-backup-with-interval-28050660 0/1 245d 245d{"level":"info","ts":1704221964.2963,"caller":"snapshot/v3_snapshot.go:119","msg":"created temporary db file","path":"/backup/etcd-snapshot-2024-01-02_18:59:24_UTC.db.part"}%etcd-backup:
...
Image: gcr.io/etcd-development/etcd:v3.4.14
...
Command:
/bin/sh
Args:
-c
etcdctl snapshot save /backup/etcd-snapshot-$(date +%Y-%m-%d_%H:%M:%S_%Z).db
State: Running
Started: Tue, 02 Jan 2024 12:59:24 -0600
Ready: True
Restart Count: 0Environment
Cause
Resolution
PreviousPMK Stack RestartNextETCD Backup Failing With Error Message "Error: could not rename /root/etcd_backup0/.part"
Last updated
