-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
kind/good-first-issueGood for newcomersGood for newcomers
Milestone
Description
Environmental Info:
K3s Version: 1.33.3
Node(s) CPU architecture, OS, and Version:
Any
Cluster Configuration:
Any
Describe the bug:
If we list the etcdsnapshotfile, the SIZE and CREATIONTIME columns are empty
$> kubectl get etcdsnapshotfile local-on-demand-ip-10-11-0-14-1753969041-9e8c6d
NAME SNAPSHOTNAME NODE LOCATION SIZE CREATIONTIME
local-on-demand-ip-10-11-0-14-1753969041-9e8c6d on-demand-ip-10-11-0-14-1753969041 ip-10-11-0-14 file:///var/lib/rancher/k3s/server/db/snapshots/on-demand-ip-10-11-0-14-1753969041
But if we look into the etcdsnapshotfile object, we can see the size and creationtime in the status:
status:
creationTime: "2025-07-31T13:37:21Z"
readyToUse: true
size: "4866080"
Steps To Reproduce:
- Installed K3s: v1.33.3
create a snapshot:
k3s etcd-snapshot save
then list it"
k3s etcd-snapshot list
If the snapshot is already there, list the etcdsnapshotfile
:
kubectl get etcdsnapshotfile
You can see SIZE and CREATIONTIME with empty values
Expected behavior:
The SIZE and CREATIONTIME columns provide a value
Actual behavior:
The SIZE and CREATIONTIME columns don't provide a value
Additional context / logs:
Metadata
Metadata
Labels
kind/good-first-issueGood for newcomersGood for newcomers
Type
Projects
Status
Done Issue