add rook ceph version shortcut
This commit is contained in:
parent
d9f929f136
commit
5f7eb91a30
1 changed files with 9 additions and 0 deletions
|
@ -28,6 +28,15 @@ in
|
||||||
shellAbbrs = {
|
shellAbbrs = {
|
||||||
nrs = "sudo nixos-rebuild switch --flake .";
|
nrs = "sudo nixos-rebuild switch --flake .";
|
||||||
nvdiff = "nvd diff /run/current-system result";
|
nvdiff = "nvd diff /run/current-system result";
|
||||||
|
# rook & ceph versions.
|
||||||
|
rcv =
|
||||||
|
''
|
||||||
|
kubectl \
|
||||||
|
-n rook-ceph \
|
||||||
|
get deployments \
|
||||||
|
-l rook_cluster=rook-ceph \
|
||||||
|
-o jsonpath='{range .items[*]}{.metadata.name}{" \treq/upd/avl: "}{.spec.replicas}{"/"}{.status.updatedReplicas}{"/"}{.status.readyReplicas}{" \trook-version="}{.metadata.labels.rook-version}{" \tceph-version="}{.metadata.labels.ceph-version}{"\n"}{end}'
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
|
|
Loading…
Reference in a new issue