Files
siembol/deployment/quickstart_install/ps-scripts/demoInstall.ps1
Yassin Raman d50e822b71 deployment: prometheus, grafana and new version of storm with siembol metrics (#692)
* grafana and prometheus

* updated storm to latest

* grafana and prometheus

* grafana and prometheus

* grafana and prometheus

* grafana and prometheus

* version

* kafka lag exporter

* include kafka lag

* log level and change interval for scraping

* update to use values.yaml file

* fix

* added latency graphs

* added latency graphs, fix

* added monitoring to clean up

* using official docker image

* remove outdated comment

* fix, indentation

* clean up

* host names added

* rename and clean up

* rename and clean up

* tag

* jmx exporter cm added

* jmx exporter cm added

* jmx exporter volume mount

* jmx exporter install

* storm version

* add jmx to ps

* fix for changing port

* add wget to install

* not needed, we're using ingress-dns add on and configuring actual dns resolver

* fix

* fix post request

* add protection matches to dashboard

* separate traffic generator from main siembol install

* update

* update

* move file to correct loc

* typo

* fix

Co-authored-by: Yassin Raman <yassin@gmail.co>
Co-authored-by: yasram1 <yasram1@github.com>
Co-authored-by: Celie Valentiny <cvalentiny@hotmail.fr>
2022-07-14 11:59:27 +01:00

39 lines
1.5 KiB
PowerShell

$CONFIG_MAP_NAME_GIT="github-details"
$GIT_SECRET_NAME="config-editor-rest-secrets"
$NAMESPACE="siembol"
function Git-Details {
$GIT_USERNAME = Read-Host -Prompt 'Github username'
$GIT_URL = Read-Host -Prompt 'Github URL'
$GIT_REPO_NAME = Read-Host -Prompt 'Github repo name'
$GIT_TOKEN = Read-Host -Prompt 'Github personal token'
Write-Output "You entered these details: "
Write-Output "Github username: $GIT_USERNAME"
Write-Output "Github URL: $GIT_URL"
Write-Output "Github repo name: $GIT_REPO_NAME"
Write-Output "Github personal token: $GIT_TOKEN"
$choice = Read-Host -Prompt "Are these details correct? (yes/no)"
Write-Output $choice
if ($choice -eq 'yes') {
Write-Output "creating configmap"
kubectl create configmap $CONFIG_MAP_NAME_GIT -n $NAMESPACE --from-literal=GITHUB_USER=$GIT_USERNAME --from-literal=GITHUB_URL=$GIT_URL --from-literal=GITHUB_REPO_NAME=$GIT_REPO_NAME
sleep 3
Write-Output "Creating github secret"
kubectl create secret generic $GIT_SECRET_NAME -n $NAMESPACE --from-literal=git=$GIT_TOKEN
sleep 3
} else {
Write-Output "Run script again"
exit 1
}
}
Write-Output "************** Install Script For Demo **************"
Write-Output "*****************************************************"
Git-Details
Write-Output "************************************************************"
Write-Output "****** You can now deploy siembol from helm charts ******"
Write-Output "************************************************************"