Skip to content

Commit b7177a3

Browse files
authored
Merge pull request #35 from grego952/create-docs
Update the user README file
2 parents cb457db + b030389 commit b7177a3

File tree

1 file changed

+53
-26
lines changed

1 file changed

+53
-26
lines changed

docs/README.md

Lines changed: 53 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,66 @@
1-
# Docs
1+
# Kyma Community Modules
22

33
## Overview
44

5-
The `docs` folder contains two subfolders - `user` and `contributor`.
5+
Community modules are modules provided by the Kyma community. Use them to enhance your Kyma experience with additional features and capabilities. You can install community modules alongside managed modules. Unlike managed modules, community modules aren't automatically updated or maintained.
66

7-
The `user` subfolder contains the end-user documentation, which is displayed on the [Kyma website](https://kyma-project.io/#/). Depending on your module needs, the subfolder must include overview, usage, or technical reference documents. To display the content on the website properly, create a `_sidebar.md` file in the `user` subfolder and list the documents it contains there. For more information on how to publish user documentation, follow [this guide](https://github.com/kyma-project/community/blob/main/docs/guidelines/content-guidelines/01-user-docs.md).
7+
> [!WARNING]
8+
> In SAP BTP, Kyma runtime community modules aren't subject to the Service Level Agreement (SLA).
89
9-
The `contributor` subfolder includes any developer-related documentation to help them manually install, develop, and operate a module.
10+
## Quick Install
1011

11-
To have a common structure across all modules, all documents must be properly numbered according to the following structure:
12+
<!-- tabs:start -->
1213

13-
> **NOTE:** It is suggested to use the following titles if you have the content that matches them; otherwise use your own, more suitable titles, or simply skip the ones you find irrelevant.
14+
### **Kyma Dashboard**
1415

15-
- 00-xx-overview
16-
- 01-xx-tutorial/configuration
17-
- 02-xx-usage
18-
- 03-xx-troubleshooting
16+
1. Go to your Kyma dashboard and select **Modify Modules**.
1917

20-
where `xx` is the number of the given document. For example:
18+
2. In the **Community Modules** section, select **Add** and mark the modules you want to install.
19+
20+
3. Select **Add**.
21+
22+
Your module is installed once its status changes to `Ready`.
23+
24+
#### Next Steps
25+
26+
To delete a community module, select the trash icon next to the module's name.
27+
28+
### **Kyma CLI**
29+
30+
1. Check the list of modules that you can add:
31+
32+
```bash
33+
kyma module catalog
34+
```
35+
36+
2. Pull the ModuleTemplate:
37+
38+
```bash
39+
kyma module pull {MODULE_NAME}
40+
```
41+
42+
This command pulls the ModuleTemplate for the given module. You can specify the namespace where the ModuleTemplate should be stored using the `--namespace` flag (by default, the `default` namespace is used). If there are multiple versions available in the catalog, you can specify the version with `--version`.
43+
44+
3. Install the module by pointing to the pulled ModuleTemplate using the `--origin` flag:
45+
46+
```bash
47+
kyma module add {MODULE_NAME} --origin {NAMESPACE}/{MODULE_NAME}-{VERSION}
48+
```
49+
50+
4. See if your module is added:
51+
52+
```bash
53+
kyma module list
54+
```
55+
56+
You should see your module in the list of modules.
57+
58+
#### Next Steps
59+
60+
To delete a community module, use the following command:
2161

2262
```bash
23-
00-00-overview-telemetry-manager
24-
00-10-overview-logs
25-
00-20-overview-traces
26-
00-30-overview-metrics
27-
01-10-configure-logs
28-
01-20-configure-traces
29-
01-30-configure-metrics
30-
02-10-use-logs
31-
02-20-use-traces
32-
02-30-use-metrics
33-
(...)
63+
kyma module delete {MODULE_NAME} --community
3464
```
35-
> **NOTE:** Before introducing [docsify](https://docsify.js.org/#/?id=docsify), we agreed to use the `10`, `20`, `30` numbering. It was to help maintain the proper order of docs if they were rendered automatically on the website. With docsify, you manually add the content to the `_sidebar.md` file, and docs are displayed in the order you add them. However, this numbering is still recommended to have the unified structure of the docs in the module repositories.
36-
37-
If you have other content that does not fit into the above topics, create your own 04-10-module-specific document(s).
3865

39-
You can divide your documentation into subfolders to avoid having too many documents in one `docs/user` or `docs/contributor` folder. For example, if you have many technical reference documents, you can create a `technical reference` subfolder in `docs/user` and keep relevant documentation there. Each subfolder in the `user` folder must have its own `_sidebar.md` file with the links to the main module page and the list of docs it contains.
66+
<!-- tabs:end -->

0 commit comments

Comments
 (0)