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
Is there a way to extract keys and values stored elsewhere than in /kubernetes.io/ ?
I try to extract everything from an etcd backup taken on Openshift with etcdctl snapshot , and auger gives a warning and does not produce output for keys other than the one starting by /kubernetes.io/. Is there a way to extract objects located in /openshift.io/ for example ?
I use :
auger extract -f $DBFILE --fields=key,value
to extract everything in the snapshot to backup my openshift clusters.
We can see that trying to extract a key outside /kubernetes.iodoes not succeed :
auger extract -f snapshot_2024-11-26_154401.db -k /openshift.io/routes/openshift-console/console
Error: error decoding from application/vnd.kubernetes.storagebinary: no kind "Route" is registered for version "route.openshift.io/v1" in scheme "pkg/runtime/scheme.go:100"
Am I missing something ?
Kind regards
The text was updated successfully, but these errors were encountered:
auger uses APIs in k8s.io/apimachinery/pkg/runtime/schema to decode the data. In order to decode types outside /kubernetes.io, you would need to provide your own decoder in
Hi,
Is there a way to extract keys and values stored elsewhere than in /kubernetes.io/ ?
I try to extract everything from an etcd backup taken on Openshift with
etcdctl snapshot
, andauger
gives a warning and does not produce output for keys other than the one starting by/kubernetes.io/
. Is there a way to extract objects located in/openshift.io/
for example ?I use :
to extract everything in the snapshot to backup my openshift clusters.
We can see that trying to extract a key outside
/kubernetes.io
does not succeed :Am I missing something ?
Kind regards
The text was updated successfully, but these errors were encountered: