mirror of
https://github.com/optim-enterprises-bv/siembol.git
synced 2025-11-02 03:18:09 +00:00
deployment: adding PS scripts (#227)
* added dependency install script, and clean up * kafka ui instructions * added ps scripts for install * update to support folder change and powershell scripts * removed unneccessary file * small fix * minor fixes in scripts Co-authored-by: Yassin Raman <yassin@gmail.co> Co-authored-by: Oliver Fletcher <ollie@oliverfletcher.com> Co-authored-by: Marian Novotny <Marian.Novotny@gresearch.co.uk>
This commit is contained in:
@@ -7,13 +7,21 @@ Local Install
|
||||
### 1. Run minikube.sh
|
||||
|
||||
```bash
|
||||
deployment/helm-k8s/quickstart_install/minikube.sh
|
||||
deployment/helm-k8s/quickstart_install/sh-scripts/minikube.sh
|
||||
```
|
||||
or
|
||||
```bash
|
||||
deployment/helm-k8s/quickstart_install/ps-scripts/minikube.ps1
|
||||
```
|
||||
|
||||
### 2. Install dependencies
|
||||
#### 1. Run dependencies.sh
|
||||
```bash
|
||||
deployment/helm-k8s/quickstart_install/dependencies.sh
|
||||
deployment/helm-k8s/quickstart_install/sh-scripts/dependencies.sh
|
||||
```
|
||||
or
|
||||
```bash
|
||||
deployment/helm-k8s/quickstart_install/ps-scripts/dependencies.ps1
|
||||
```
|
||||
|
||||
### 3. Prepare GitHub
|
||||
@@ -36,7 +44,11 @@ deployment/helm-k8s/quickstart_install/dependencies.sh
|
||||
2. This will also initialise Zookeeper nodes.
|
||||
|
||||
```bash
|
||||
deployment/helm-k8s/quickstart_install/demoInstall.sh
|
||||
deployment/helm-k8s/quickstart_install/sh-scripts/demoInstall.sh
|
||||
```
|
||||
or
|
||||
```bash
|
||||
deployment/helm-k8s/quickstart_install/ps-scripts/demoInstall.ps1
|
||||
```
|
||||
|
||||
### 4. Siembol install
|
||||
@@ -65,7 +77,11 @@ We are using Kafdrop UI to view topics and messages. You can send messages to p
|
||||
|
||||
1. To install this and create a kafka client pod:
|
||||
```bash
|
||||
deployment/helm-k8s/quickstart_install/kafkaExtra.sh
|
||||
deployment/helm-k8s/quickstart_install/sh-scripts/kafkaExtra.sh
|
||||
```
|
||||
or
|
||||
```bash
|
||||
deployment/helm-k8s/quickstart_install/ps-scripts/kafkaExtra.ps1
|
||||
```
|
||||
|
||||
2. Exec into the kafka client pod:
|
||||
@@ -81,13 +97,16 @@ deployment/helm-k8s/quickstart_install/kafkaExtra.sh
|
||||
4. Produce your message in terminal window
|
||||
|
||||
|
||||
|
||||
## Cleaning up
|
||||
If you're done poking about on a local instance, you can clean up with:
|
||||
|
||||
1. For cleaning up siembol resources and dependencies:
|
||||
```bash
|
||||
deployment/helm-k8s/quickstart_install/cleanUp.sh
|
||||
deployment/helm-k8s/quickstart_install/sh-scripts/cleanUp.sh
|
||||
```
|
||||
or
|
||||
```bash
|
||||
deployment/helm-k8s/quickstart_install/ps-scripts/cleanUp.ps1
|
||||
```
|
||||
2. For deleting everything siembol related incl. config maps, secrets, certs and namespace:
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user