Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
knowledge-platform
Commits
008483e4
Commit
008483e4
authored
2 years ago
by
aimansharief
Browse files
Options
Download
Patches
Plain Diff
Issue #KN-767 fix: Updated README.md file
parent
8f305a1e
patch-3
knowlg-oneclick
patch-1
patch-2
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
knowlg-automation/README.md
+37
-31
knowlg-automation/README.md
with
37 additions
and
31 deletions
+37
-31
knowlg-automation/README.md
+
37
−
31
View file @
008483e4
# sunbird-infra-provision
Infra provision on Azure
Pre-requisites:
Install azure cli(az) tool on local machine and login to azure account with "az login" command.
Create a azure service account to be used for the infra provision.
Copy the ingestion spec to any folder and share the path in variables
Replace the default values in infra-provision/azure/vars.tf .
Steps:
Run create shell script and provide option input as "azure" .
Destroy infra on Azure
Steps:
Run destroy shell script with option as "azure" and append --auto-approve to continue without confirmation.
Infra provision on local
Pre-requisites:
For local provision, kind provider is used to provision the cluster.
Steps:Run shell script and provide option as "local"
Create infra on local
Steps:
cd terraform
sh create --auto-approve
Destroy infra on local
Steps:
cd terraform
sh destroy --auto-approve
## Infra provision on azure
### Pre-requisites:
*
Install azure cli(az) tool on local machine and login to azure account with "az login" command.
*
Create a azure service account to be used for the infra provision.
*
Replace the default values in infra-provision/azure/variables.tf .
>*[ Go to the repository path: knowledge-platform/knowlg-automation/terraform ]*
### Create Infra on azure:
```
shell
sh create
```
> *provide option as "azure"*
### Destroy Infra on azure:
***Note:**
[append --auto-approve to continue without confirmation.]
*
```
shell
sh destroy
```
>*provide option as "azure"*
## Infra provision on local
### Pre-requisites:
*
Terraform to be installed .
*
For local provision, kind provider is used to provision the cluster.
>*[ Go to the repository path: knowledge-platform/knowlg-automation/terraform ]*
### Create Infra on local:
```
shell
sh create
```
> *provide option as "local"*
### Destroy Infra on local:
***Note:**
[append --auto-approve to continue without confirmation.]
*
```
shell
sh destroy
```
>*provide option as "local"*
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets