60 lines
1.3 KiB
Markdown
60 lines
1.3 KiB
Markdown
## TO START DEMO
|
||
|
||
`./start-demo.sh <num of cluster>`
|
||
|
||
To navigate between clusters : `export KUBECONFIG=configCluster<n>`
|
||
|
||
After mongodb pod launch on every cluster:
|
||
|
||
`./add-datas-demo.sh <num of cluster>`
|
||
|
||
## Deploy the opencloud chart
|
||
|
||
```
|
||
./start.sh <mode: dev|prod default:dev> <branche | default:main>
|
||
```
|
||
|
||
Feel free to modify/create a new opencloud/dev-values.yaml. Provided setup should work out of the box, but is not suitable for production usage.
|
||
|
||
## k8s deployment
|
||
|
||
- Pull oc-k8s file put it in /usr/local/bin
|
||
- oc-k8s create values <namespace>
|
||
|
||
## Hostname settings
|
||
|
||
Edit your /etc/hosts file, and add following line:
|
||
|
||
```
|
||
127.0.0.1 beta.opencloud.com
|
||
```
|
||
|
||
## Done
|
||
|
||
Everything should be operational now, go to http://beta.opencloud.com and enjoy the ride
|
||
|
||
# Prebuilt microservices deployment procedure
|
||
|
||
TODO
|
||
|
||
# First steps
|
||
|
||
Go to http://beta.opencloud.com/users
|
||
|
||
Log in using default user/password combo ldapadmin/ldapadmin
|
||
|
||
Create a new user, or change the default one
|
||
|
||
Go to http://beta.opencloud.com
|
||
|
||
Log in using your fresh credentials
|
||
|
||
Do stuff
|
||
|
||
You can go to http://beta.opencloud.com/mongoexpress
|
||
|
||
... for mongo express web client access (default login/password is test/testme)
|
||
|
||
You can go to http://localhost/dashboard/
|
||
|
||
... for access to Traefik reverse proxy front-end |