-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(topology): add show labels in pools #855
Merged
bors-openebs-mayastor
merged 1 commit into
openebs:develop
from
sinhaashish:show-labels-pools
Sep 6, 2024
Merged
feat(topology): add show labels in pools #855
bors-openebs-mayastor
merged 1 commit into
openebs:develop
from
sinhaashish:show-labels-pools
Sep 6, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sinhaashish
force-pushed
the
show-labels-pools
branch
from
September 3, 2024 06:43
78669db
to
106aee5
Compare
sinhaashish
force-pushed
the
show-labels-pools
branch
from
September 3, 2024 07:26
106aee5
to
67ab867
Compare
Abhinandan-Purkait
requested changes
Sep 3, 2024
sinhaashish
force-pushed
the
show-labels-pools
branch
from
September 3, 2024 09:10
67ab867
to
f76f766
Compare
Abhinandan-Purkait
approved these changes
Sep 3, 2024
tiagolobocastro
approved these changes
Sep 6, 2024
sinhaashish
force-pushed
the
show-labels-pools
branch
2 times, most recently
from
September 6, 2024 12:25
4790d9d
to
7ba1cb7
Compare
bors merge |
bors-openebs-mayastor bot
pushed a commit
that referenced
this pull request
Sep 6, 2024
855: feat(topology): add show labels in pools r=sinhaashish a=sinhaashish Get pool ``` [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pool pool-on-node-1 -n openebs --show-labels ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-1 aio:///dev/sdb?uuid=b324aa79-c8b3-4859-a6e8-1a51fbc5d944 true node-1-237668 Online 10GiB 0 B 10GiB 0 B topology-key=topology-value ``` List pools ``` [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pools -n openebs --show-labels ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-2 aio:///dev/sdb?uuid=8045fe61-ae51-429b-9c73-4f8f60c42d44 true node-2-237668 Online 10GiB 0 B 10GiB 0 B pool-on-node-0 aio:///dev/sdb?uuid=4b12de79-fa6c-4bfd-9ed0-4f5f57cfeb4c true node-0-237668 Online 10GiB 0 B 10GiB 0 B zone=us-east-1 pool-on-node-1 aio:///dev/sdb?uuid=b324aa79-c8b3-4859-a6e8-1a51fbc5d944 true node-1-237668 Online 10GiB 0 B 10GiB 0 B topology-key=topology-value ``` List Pools with node filter ``` [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pools -n openebs --show-labels --node node-2-237668 ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-2 aio:///dev/sdb?uuid=8045fe61-ae51-429b-9c73-4f8f60c42d44 true node-2-237668 Online 10GiB 0 B 10GiB 0 B [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pools -n openebs --show-labels --node node-1-237668 ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-1 aio:///dev/sdb?uuid=b324aa79-c8b3-4859-a6e8-1a51fbc5d944 true node-1-237668 Online 10GiB 0 B 10GiB 0 B topology-key=topology-value [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pools -n openebs --show-labels --node node-0-237668 ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-0 aio:///dev/sdb?uuid=4b12de79-fa6c-4bfd-9ed0-4f5f57cfeb4c true node-0-237668 Online 10GiB 0 B 10GiB 0 B zone=us-east-1 ``` Co-authored-by: sinhaashish <[email protected]>
sinhaashish
force-pushed
the
show-labels-pools
branch
from
September 6, 2024 12:31
7ba1cb7
to
6a37523
Compare
Canceled. |
bors merge |
bors-openebs-mayastor bot
pushed a commit
that referenced
this pull request
Sep 6, 2024
855: feat(topology): add show labels in pools r=sinhaashish a=sinhaashish Get pool ``` [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pool pool-on-node-1 -n openebs --show-labels ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-1 aio:///dev/sdb?uuid=b324aa79-c8b3-4859-a6e8-1a51fbc5d944 true node-1-237668 Online 10GiB 0 B 10GiB 0 B topology-key=topology-value ``` List pools ``` [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pools -n openebs --show-labels ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-2 aio:///dev/sdb?uuid=8045fe61-ae51-429b-9c73-4f8f60c42d44 true node-2-237668 Online 10GiB 0 B 10GiB 0 B pool-on-node-0 aio:///dev/sdb?uuid=4b12de79-fa6c-4bfd-9ed0-4f5f57cfeb4c true node-0-237668 Online 10GiB 0 B 10GiB 0 B zone=us-east-1 pool-on-node-1 aio:///dev/sdb?uuid=b324aa79-c8b3-4859-a6e8-1a51fbc5d944 true node-1-237668 Online 10GiB 0 B 10GiB 0 B topology-key=topology-value ``` List Pools with node filter ``` [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pools -n openebs --show-labels --node node-2-237668 ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-2 aio:///dev/sdb?uuid=8045fe61-ae51-429b-9c73-4f8f60c42d44 true node-2-237668 Online 10GiB 0 B 10GiB 0 B [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pools -n openebs --show-labels --node node-1-237668 ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-1 aio:///dev/sdb?uuid=b324aa79-c8b3-4859-a6e8-1a51fbc5d944 true node-1-237668 Online 10GiB 0 B 10GiB 0 B topology-key=topology-value [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pools -n openebs --show-labels --node node-0-237668 ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-0 aio:///dev/sdb?uuid=4b12de79-fa6c-4bfd-9ed0-4f5f57cfeb4c true node-0-237668 Online 10GiB 0 B 10GiB 0 B zone=us-east-1 ``` Co-authored-by: sinhaashish <[email protected]>
sinhaashish
force-pushed
the
show-labels-pools
branch
from
September 6, 2024 12:34
6a37523
to
596621c
Compare
Canceled. |
bors merge |
bors-openebs-mayastor bot
pushed a commit
that referenced
this pull request
Sep 6, 2024
855: feat(topology): add show labels in pools r=sinhaashish a=sinhaashish Get pool ``` [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pool pool-on-node-1 -n openebs --show-labels ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-1 aio:///dev/sdb?uuid=b324aa79-c8b3-4859-a6e8-1a51fbc5d944 true node-1-237668 Online 10GiB 0 B 10GiB 0 B topology-key=topology-value ``` List pools ``` [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pools -n openebs --show-labels ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-2 aio:///dev/sdb?uuid=8045fe61-ae51-429b-9c73-4f8f60c42d44 true node-2-237668 Online 10GiB 0 B 10GiB 0 B pool-on-node-0 aio:///dev/sdb?uuid=4b12de79-fa6c-4bfd-9ed0-4f5f57cfeb4c true node-0-237668 Online 10GiB 0 B 10GiB 0 B zone=us-east-1 pool-on-node-1 aio:///dev/sdb?uuid=b324aa79-c8b3-4859-a6e8-1a51fbc5d944 true node-1-237668 Online 10GiB 0 B 10GiB 0 B topology-key=topology-value ``` List Pools with node filter ``` [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pools -n openebs --show-labels --node node-2-237668 ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-2 aio:///dev/sdb?uuid=8045fe61-ae51-429b-9c73-4f8f60c42d44 true node-2-237668 Online 10GiB 0 B 10GiB 0 B [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pools -n openebs --show-labels --node node-1-237668 ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-1 aio:///dev/sdb?uuid=b324aa79-c8b3-4859-a6e8-1a51fbc5d944 true node-1-237668 Online 10GiB 0 B 10GiB 0 B topology-key=topology-value [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pools -n openebs --show-labels --node node-0-237668 ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-0 aio:///dev/sdb?uuid=4b12de79-fa6c-4bfd-9ed0-4f5f57cfeb4c true node-0-237668 Online 10GiB 0 B 10GiB 0 B zone=us-east-1 ``` Co-authored-by: sinhaashish <[email protected]>
Signed-off-by: sinhaashish <[email protected]>
bors cancel |
Canceled. |
sinhaashish
force-pushed
the
show-labels-pools
branch
from
September 6, 2024 13:05
596621c
to
6f7d5ce
Compare
bors merge |
Build succeeded: |
sinhaashish
added a commit
to sinhaashish/mayastor-control-plane
that referenced
this pull request
Sep 6, 2024
855: feat(topology): add show labels in pools r=sinhaashish a=sinhaashish Get pool ``` [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pool pool-on-node-1 -n openebs --show-labels ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-1 aio:///dev/sdb?uuid=b324aa79-c8b3-4859-a6e8-1a51fbc5d944 true node-1-237668 Online 10GiB 0 B 10GiB 0 B topology-key=topology-value ``` List pools ``` [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pools -n openebs --show-labels ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-2 aio:///dev/sdb?uuid=8045fe61-ae51-429b-9c73-4f8f60c42d44 true node-2-237668 Online 10GiB 0 B 10GiB 0 B pool-on-node-0 aio:///dev/sdb?uuid=4b12de79-fa6c-4bfd-9ed0-4f5f57cfeb4c true node-0-237668 Online 10GiB 0 B 10GiB 0 B zone=us-east-1 pool-on-node-1 aio:///dev/sdb?uuid=b324aa79-c8b3-4859-a6e8-1a51fbc5d944 true node-1-237668 Online 10GiB 0 B 10GiB 0 B topology-key=topology-value ``` List Pools with node filter ``` [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pools -n openebs --show-labels --node node-2-237668 ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-2 aio:///dev/sdb?uuid=8045fe61-ae51-429b-9c73-4f8f60c42d44 true node-2-237668 Online 10GiB 0 B 10GiB 0 B [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pools -n openebs --show-labels --node node-1-237668 ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-1 aio:///dev/sdb?uuid=b324aa79-c8b3-4859-a6e8-1a51fbc5d944 true node-1-237668 Online 10GiB 0 B 10GiB 0 B topology-key=topology-value [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pools -n openebs --show-labels --node node-0-237668 ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-0 aio:///dev/sdb?uuid=4b12de79-fa6c-4bfd-9ed0-4f5f57cfeb4c true node-0-237668 Online 10GiB 0 B 10GiB 0 B zone=us-east-1 ``` Co-authored-by: sinhaashish <[email protected]>
sinhaashish
added a commit
to sinhaashish/mayastor-control-plane
that referenced
this pull request
Sep 6, 2024
855: feat(topology): add show labels in pools r=sinhaashish a=sinhaashish Get pool ``` [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pool pool-on-node-1 -n openebs --show-labels ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-1 aio:///dev/sdb?uuid=b324aa79-c8b3-4859-a6e8-1a51fbc5d944 true node-1-237668 Online 10GiB 0 B 10GiB 0 B topology-key=topology-value ``` List pools ``` [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pools -n openebs --show-labels ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-2 aio:///dev/sdb?uuid=8045fe61-ae51-429b-9c73-4f8f60c42d44 true node-2-237668 Online 10GiB 0 B 10GiB 0 B pool-on-node-0 aio:///dev/sdb?uuid=4b12de79-fa6c-4bfd-9ed0-4f5f57cfeb4c true node-0-237668 Online 10GiB 0 B 10GiB 0 B zone=us-east-1 pool-on-node-1 aio:///dev/sdb?uuid=b324aa79-c8b3-4859-a6e8-1a51fbc5d944 true node-1-237668 Online 10GiB 0 B 10GiB 0 B topology-key=topology-value ``` List Pools with node filter ``` [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pools -n openebs --show-labels --node node-2-237668 ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-2 aio:///dev/sdb?uuid=8045fe61-ae51-429b-9c73-4f8f60c42d44 true node-2-237668 Online 10GiB 0 B 10GiB 0 B [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pools -n openebs --show-labels --node node-1-237668 ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-1 aio:///dev/sdb?uuid=b324aa79-c8b3-4859-a6e8-1a51fbc5d944 true node-1-237668 Online 10GiB 0 B 10GiB 0 B topology-key=topology-value [nix-shell:~/code/rust/mayastor-extensions]$ ./target/debug/kubectl-mayastor get pools -n openebs --show-labels --node node-0-237668 ID DISKS MANAGED NODE STATUS CAPACITY ALLOCATED AVAILABLE COMMITTED LABELS pool-on-node-0 aio:///dev/sdb?uuid=4b12de79-fa6c-4bfd-9ed0-4f5f57cfeb4c true node-0-237668 Online 10GiB 0 B 10GiB 0 B zone=us-east-1 ``` Co-authored-by: sinhaashish <[email protected]> Signed-off-by: sinhaashish <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Get pool
List pools
List Pools with node filter