charmed-kubernetes / kubernetes-docs

This repository contains the development version of docs for Charmed Kubernetes
8 stars 52 forks source link

correct cmd line for backup "juju run etcd/0 snapshot keys-version=v3" #807

Closed zhanglei-mao closed 10 months ago

zhanglei-mao commented 10 months ago

For https://ubuntu.com/kubernetes/docs/backups, it should be etcd actions not run.
so I guess you mean: "juju run-action etcd/0 snapshot keys-version=v3 --wait"
instead of "juju run etcd/0 snapshot keys-version=v3"

evilnick commented 10 months ago

Thanks for reporting this! However, this command was changed from Juju 3.0 onwards.

zhanglei-mao commented 10 months ago

Thanks. My Juju is still 2.9.45.

evilnick commented 10 months ago

Yeah, I realise it is a bit of a pain, but all the CK8s docs now follow Juju 3.x. It isn't really possible for us to support the older version as well because there aren't any 2.x docs for Juju to refer to.