Skip to content

Commit dcc97a5

Browse files
authored
Merge branch 'master' into update-quickstart
2 parents 377b1b0 + 49a83c0 commit dcc97a5

File tree

30 files changed

+1721
-80
lines changed

30 files changed

+1721
-80
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.idea

config.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
baseURL = "https://soda-docs.netlify.com/"
1+
baseURL = "https://soda-docs.netlify.app/"
22
languageCode = "en-US"
33
defaultContentLanguage = "en"
44
googleAnalytics = "UA-138679091-1"
@@ -25,6 +25,9 @@ defaultContentLanguageInSubdir= true
2525
[outputs]
2626
home = [ "HTML", "RSS", "JSON"]
2727

28+
[markup.goldmark.renderer]
29+
unsafe = true
30+
2831
[Languages]
2932
[Languages.en]
3033
title = "Documentation for SODA Project"

content/community/_index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,18 @@ You can find the meeting details [here](https://bit.ly/sodaglobalcommunitymeetin
4444
- Ensure you have the slack account of SODA Workspace (Join [here](https://sodafoundation.io/slack/))
4545
- Try the latest soda foundation release
4646
- Go to the latest stable release from [here](https://github.com/sodafoundation/releases/releases)
47-
- Follow the instruction for how to use the release
48-
- Make the setup and test (using the quick start steps)
47+
- Follow the instructions for how to use the release
48+
- Make the setup and test (using the quick-start steps)
4949
- Once you are able to do, try developer method of installation from the release notes.
50-
- Any point, if yo is you are facing any issues:
50+
- At any point, if you are facing any issue:
5151
- Raise issue in the [release repo](https://github.com/sodafoundation/releases/issues)
5252
- Clarify / Seek help in the soda slack #general channel
5353
- Other Contribution Channels
5454
- Check the open issues in [Documentation](https://github.com/sodafoundation/documentation/issues)
5555
- If you can fix any of them, just add a comment in the issue saying you want to work on it
5656
- You can do @ to any members or author of the issues to notify them specifically
57-
- Raise the PR to fix the documentaion
58-
- This procedure you can follow for any other project repository in the [SODA github](https://github.com/sodafoundation)
57+
- Raise the PR to fix the documentation
58+
- This procedure you can follow for any other project's repository in the [SODA github](https://github.com/sodafoundation)
5959
- Complete SODA Documentation is available [here](https://docs.sodafoundation.io/)
60-
- If you are think, we can add more inputs to this document or additional documentation links for developers including setup etc, please raise issue under [SODA Documentation](https://github.com/sodafoundation/documentation/issues)
60+
- If you think, we can add more inputs to this document or additional documentation links for developers including setup etc, please raise issue under [SODA Documentation](https://github.com/sodafoundation/documentation/issues)
6161
- Any other support please request at soda slack #general channel

content/guides/integration-guides/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Integration Guides
33
description: "All the integration guides and documentation"
4-
weight: 15
4+
weight: 30
55
disableToc: true
66
---
77

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: CSI Integration Guides
3+
menuTitle: Kubernetes-CSI
4+
description: "All the Container Storage Interface(CSI) Integration guides for different Soda CSI solutions"
5+
weight: 1
6+
disableToc: true
7+
---
8+
9+
{{%children style="h3" description="true" %}}
10+

content/guides/integration-guides/kubernetes-csi-integration/_index.md renamed to content/guides/integration-guides/csi-integration/soda-csi-plugin/_index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: OpenSDS Integration with Kubernetes CSI
3-
menuTitle: "With Kubernetes CSI"
4-
description: "A guide for integrating OpenSDS with Kubernetes CSI."
5-
weight: 1
2+
title: SODA Integration with Kubernetes via SODA CSI Plugin
3+
menuTitle: "SODA CSI plugin"
4+
description: "A guide for integrating SODA with Kubernetes CSI."
5+
weight: 10
66
disableToc: false
77
tags: ["integration guide", "kubernetes csi"]
88
---
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
---
2+
title: SODA Integration with Vendor CSI Drivers via SODA CSI Plug-N-Play
3+
menuTitle: "SODA CSI Plug-N-Play"
4+
description: "A guide for integrating SODA with Vendor CSI Driver via unified Plugin."
5+
weight: 10
6+
disableToc: false
7+
tags: ["integration guide", "kubernetes csi", "plug-n-play", "unified plugin"]
8+
---
9+
10+
SODA CSI Plug-N-Play is a mechanism by which users can use the heterogeneous storage vendors in a unified way,
11+
Users need to define the requirements while creating SODA Profile,
12+
Users need to use this profile ID while creating the PVC's in the Kubernetes,
13+
the soda-csi-provisioner will automatically select the vendor csi-driver and help in
14+
provisioning the Volumes for Pods.
15+
16+
## Prerequisite
17+
- An installation of Kubernetes (V1.17+)
18+
- SODA installation (you can refer to quick start guide over [here](https://docs.sodafoundation.io/soda-gettingstarted/installation-using-ansible/)), you need to change the ports of etcd in osdb.yaml while installing SODA on an existing K8s environment as the ports cause conflict with k8s etcd.
19+
20+
## Selecting the vendor CSI driver
21+
You can select the CSI driver supported by SODA Plug-N-Play from [here](https://docs.sodafoundation.io/guides/user-guides/nbp/csi-pnp/) Once selected follow the instruction
22+
given in the document to deploy the CSI driver in K8s.
23+
24+
##### For this example we are selecting the [OpenEBS LVM CSI Driver](https://github.com/openebs/lvm-localpv).
25+
26+
```go
27+
kubectl create -f https://raw.githubusercontent.com/asifdxtreme/soda-ucp/main/examples/openebs/driver/lvm-operator.yaml
28+
```
29+
We need to do the additional step to make the lvm group for this plugin
30+
```go
31+
truncate -s 1024G /tmp/disk.img
32+
sudo losetup -f /tmp/disk.img --show
33+
```
34+
Create the Volume group on all the nodes, which will be used by the LVM Driver for provisioning the volumes
35+
36+
```go
37+
sudo pvcreate /dev/loop0
38+
sudo vgcreate lvmvg /dev/loop0
39+
```
40+
41+
42+
## Creating Profile in SODA
43+
We need to create a Profile in SODA which will have the information of csi driver which needs to be used(eventually this step will be automatically done by SODA).
44+
45+
```go
46+
osdsctl profile create '{"name": "openebs-profile-soda","storageType": "block","description": "string","provisioningProperties": {"dataStorage": {"recoveryTimeObjective": 10,"provisioningPolicy": "Thick","compression": false,"deduplication": false,"characterCodeSet": "ASCII","maxFileNameLengthBytes": 255,"storageAccessCapability": ["Read"] },"ioConnectivity": {"accessProtocol": "iscsi","maxIOPS": 150,"minIOPS": 50,"maxBWS": 5,"minBWS": 1,"latency": 1}},"replicationProperties": {},"snapshotProperties": {},"dataProtectionProperties": { },"customProperties": {"driver": "local.csi.openebs.io"}}'
47+
48+
```
49+
50+
## Attach information of ProfileID in Storage Class
51+
Once the Profile ID is created then we need to create a Storage Class in K8s.
52+
```go
53+
54+
apiVersion: storage.k8s.io/v1
55+
kind: StorageClass
56+
metadata:
57+
name: openebs-lvmsc-soda
58+
allowVolumeExpansion: true
59+
parameters:
60+
volgroup: "lvmvg"
61+
profile: a82980d3-1030-41e5-95f0-b2db5a0c065d ## SODA PROFILE ID
62+
provisioner: soda-csi
63+
allowedTopologies:
64+
- matchLabelExpressions:
65+
- key: kubernetes.io/hostname
66+
values:
67+
- node-12340 ## NODE NAME ON WHICH PROVISIONING NEEDS TO BE DONE
68+
```
69+
70+
## Deploy an App with pvc
71+
72+
```go
73+
kubectl create -f https://raw.githubusercontent.com/asifdxtreme/soda-ucp/main/examples/openebs/app/app.yaml
74+
```
75+

content/guides/user-guides/multi-cloud/object-archival-restore/_index.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This guide shows how to archive objects into Cloud object storage and restore th
1919
To refer the API specs, please check [Cloud Object Archival API Specs](https://github.com/sodafoundation/multi-cloud/blob/master/openapi-spec/swagger.yaml)
2020

2121
{{% notice note %}}
22-
Currently this feature is available only for AWS cloud
22+
Currently this feature is available only for AWS, Azure and GCP cloud as backend and SONY-ODA as on-premise Cold storage
2323
{{% /notice %}}
2424

2525
## Installing SODA multi-cloud
@@ -33,8 +33,9 @@ Or Check the developer guide [multi-cloud local cluster installation through rep
3333
admin/opensds@123
3434

3535
## Pre-requisite
36-
* Cloud Backend is registered. [How to register a cloud backend](#How to register a Cloud backend)
37-
* multi-cloud Bucket is created. [How to create a multi-cloud bucket](#How to create a multi-cloud bucket)
36+
* Cloud Backend is registered. [How to register a cloud backend](/guides/user-guides/multi-cloud/object-archival-restore/#how-to-register-a-cloud-backend)
37+
* multi-cloud Bucket is created. [How to create a multi-cloud bucket](/guides/user-guides/multi-cloud/object-archival-restore/#how-to-create-a-multi-cloud-bucket)
38+
3839
<a name="How to register a Cloud backend"></a>
3940
#### How to register a Cloud backend
4041
![multi-cloud U I image ](soda_home.png?raw=true)
-13.3 KB
Loading

content/guides/user-guides/multi-cloud/object-lifecycle-management/_index.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ By following this guide you will be able to install SODA multi-cloud with creati
2020
```cassandraql
2121
git clone https://github.com/sodafoundation/installer.git
2222
cd installer
23-
# Checkout the latest release, give master by default or specify the branch
23+
# Checkout the latest release, give master by default or specify the branch
2424
git checkout master
2525
```
2626

2727
### How to enable multi-cloud installation
28-
28+
2929
Install docker container to run multi-cloud in container environment.
30-
30+
3131
Update the file : opensds-installer/ansible/group_vars/gelato.yml to install multi-cloud.
3232
```cassandraql
3333
# repository branch
@@ -47,7 +47,7 @@ export OS_AUTH_URL=http://{{ authchecker_cluster_ip }}/identity
4747
#### Run SODA multi-cloud in docker container
4848
```
4949
docker-compose up -d
50-
docker ps
50+
docker ps
5151
```
5252
Note: check if multi-cloud services are running in the docker container.
5353
```cassandraql
@@ -68,13 +68,24 @@ SODA Object lifecycle management feature specific UI can be accessed via
6868

6969
`http://{your_host_ip}:8088/#/home`
7070

71-
login using the default admin credentials: `admin/opensds@123`.
71+
login using the default admin credentials: `admin/opensds@123`.
7272

73-
![multi-cloud UI image ](opensds_home.PNG?raw=true)
73+
![multi-cloud UI image ](soda_login_page.png?raw=true)
7474

7575
### Create new backend using remote cloud bucket
7676
Click on (+) for registering a storage backend
7777

78+
![multi-cloud backend image ](register-backend-0.png?raw=true)
79+
80+
and then provide valid region, endpoint, Access and Secret Key parameters
81+
82+
##### Note:
83+
For cloud vendors like AWS, Azure, Huawei and GCP remote cloud buckets need not be created manually by user prior to backend registration. Remote cloud buckets can be created from SODA for these cloud vendors
84+
85+
![multi-cloud backend image ](register-backend.png?raw=true)
86+
87+
For other cloud vendors like IBM, Ceph, YIG and Alibaba, register backend using remote cloud bucket
88+
7889
![multi-cloud backend image ](opensds_backend.PNG?raw=true)
7990

8091
### Create bucket and upload the object
@@ -102,5 +113,5 @@ After configuring lifecycle in dashboard, a routine scheduler will run and it wi
102113
### FAQ
103114
1. How to check if the lifecycle rule is applied on bucket/object ?
104115

105-
Ans:
116+
Ans:
106117
SODA does not create the rule in the cloud backend (CSP). Once the bucket/object satisfies the rule, SODA will automatically call cloud API and the action will be performed. If there are any errors or issues in rule, user will know at the time of lifecycle action.

0 commit comments

Comments
 (0)