Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update basics
Browse files Browse the repository at this point in the history
ManuelSopenaBallesteros committed Jun 16, 2024
1 parent 45df525 commit 6c75626
Showing 2 changed files with 63 additions and 1 deletion.
62 changes: 62 additions & 0 deletions docs/basics.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,69 @@
# Basic operations

Manta commands have a nomal and a short version

## List configurations

List/filter the configurations in the system

Normal version

```bash
manta get configuration ...
```

Short version

```bash
manta g c ...
```

eg:

Get all configurations for cluster 'zinal' which name contains `cta_test`

```bash
mantag c -H zinal -p '*cta_test*'`
+--------------------------------------------------------------+----------------------+----------------------------------------------------+
| Config Name | Last updated | Layers |
+==========================================================================================================================================+
| runtime-zinal_cta_test_hook-mc-cscs-24.3.0.r1-20240602153320 | 2024-06-02T15:33:31Z | Name: test_layer |
| | | Playbook: site.yml |
| | | Commit: abd379d2aeb1d920da33392d610d3012a6ef06a2 |
|--------------------------------------------------------------+----------------------+----------------------------------------------------|
| runtime-zinal_cta_test_hook-mc-cscs-24.3.0.r1-20240608192847 | 2024-06-08T19:29:08Z | Name: test_layer |
| | | Playbook: site.yml |
| | | Commit: abd379d2aeb1d920da33392d610d3012a6ef06a2 |
|--------------------------------------------------------------+----------------------+----------------------------------------------------|
| runtime-zinal_cta_test_hook-mc-cscs-24.3.0.r1-20240608201045 | 2024-06-08T20:29:28Z | Name: test_layer |
| | | Playbook: site.yml |
| | | Commit: abd379d2aeb1d920da33392d610d3012a6ef06a2 |
|--------------------------------------------------------------+----------------------+----------------------------------------------------|
| runtime-zinal_cta_test_hook-mc-cscs-24.3.0.r1-20240608203940 | 2024-06-08T20:39:52Z | Name: test_layer |
| | | Playbook: site.yml |
| | | Commit: abd379d2aeb1d920da33392d610d3012a6ef06a2 |
+--------------------------------------------------------------+----------------------+----------------------------------------------------+
```

> Note: the argument `-p` matches a [blob pattern](https://mywiki.wooledge.org/glob)

Get last 2 most recent configurations created or updated

```bash
manta g c -H zinal -l 2`
+--------------------------------------------------------------+----------------------+----------------------------------------------------+
| Config Name | Last updated | Layers |
+==========================================================================================================================================+
| runtime-zinal_cta_test_hook-mc-cscs-24.3.0.r1-20240608201045 | 2024-06-08T20:29:28Z | Name: test_layer |
| | | Playbook: site.yml |
| | | Commit: abd379d2aeb1d920da33392d610d3012a6ef06a2 |
|--------------------------------------------------------------+----------------------+----------------------------------------------------|
| runtime-zinal_cta_test_hook-mc-cscs-24.3.0.r1-20240608203940 | 2024-06-08T20:39:52Z | Name: test_layer |
| | | Playbook: site.yml |
| | | Commit: abd379d2aeb1d920da33392d610d3012a6ef06a2 |
+--------------------------------------------------------------+----------------------+----------------------------------------------------+
```

## List sessions

## List images
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ Manta aggregates information from multiple sources:
## Introduction

???+ warning "**WIP**"
trying to fill the gap in cray and sat clis when managing clusters
trying to fill the gap in cray and sat CLIs when managing clusters

Configuration inmutability: overwritting configurations used by clusters (nodes booting with an image linked to a configuration or runtime configuration) is a bad practice because the history of that configuration is lost.

0 comments on commit 6c75626

Please sign in to comment.