Chore small setup doc fixes (#1533)

This commit is contained in:
ⵄⵎⵉⵔⵓⵛ 2023-10-19 15:01:00 +02:00 committed by GitHub
parent 2b40fc3c6b
commit a75dc75aff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 10 deletions

View file

@ -22,7 +22,7 @@ colima start --with-kubernetes --cpu 2 --memory 8 -p openreplay
```yaml ```yaml
git clone https://github.com/openreplay/openreplay -b dev git clone https://github.com/openreplay/openreplay -b dev
cd openreplay/scripts/helmcharts cd openreplay/scripts/helmcharts
SKIP_K8S_INSTALL=true SKIP_K8S_TOOLS=true DOMAIN_NAME=openreplay.local bash -x init.sh SKIP_K8S_INSTALL=1 SKIP_K8S_TOOLS=1 DOMAIN_NAME=openreplay.local bash -x init.sh
``` ```
## Updating DNS ## Updating DNS
@ -45,28 +45,28 @@ For more information, refer [here](https://docs.openreplay.com/installation/java
## Troubleshoot ## Troubleshoot
1. Colima error for copying context 1. Colima error for copying context
<aside> <aside>
💡 If youre getting error `error at 'updating config': error fetching kubeconfig on guest: exit status 1` 💡 If youre getting error `error at 'updating config': error fetching kubeconfig on guest: exit status 1`
</aside> </aside>
**Solution** **Solution**
```yaml ```yaml
colima ssh -p openreplay colima ssh -p openreplay
cat echo;/etc/rancher/k3s/k3s.yaml;echo cat echo;/etc/rancher/k3s/k3s.yaml;echo
# copy output and exit from the shell # copy output and exit from the shell
# In your local machine # In your local machine
cd ~/.kube || ( mkdir ~/.kube && cd ~/.kube) cd ~/.kube || ( mkdir ~/.kube && cd ~/.kube)
# past from buffer and save file # past from buffer and save file
vim openreplay-local.yaml vim openreplay-local.yaml
export KUBECONFIG=~/.kube/openreplay-local.yaml export KUBECONFIG=~/.kube/openreplay-local.yaml
``` ```
2. if minio is crashlooping 2. if minio is crashlooping
```yaml ```yaml
# in vars.yaml # in vars.yaml
minio: minio:
@ -74,5 +74,5 @@ For more information, refer [here](https://docs.openreplay.com/installation/java
limits: limits:
cpu: 512m cpu: 512m
``` ```
Having trouble setting up this plugin? Please connect to our [Slack](https://slack.openreplay.com/) and get help from our community. Having trouble setting up this plugin? Please connect to our [Slack](https://slack.openreplay.com/) and get help from our community.

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
set -e set -ex
# Ref: https://stackoverflow.com/questions/5947742/how-to-change-the-output-color-of-echo-in-linux # Ref: https://stackoverflow.com/questions/5947742/how-to-change-the-output-color-of-echo-in-linux
RED='\033[0;31m' RED='\033[0;31m'