---
# System prepended metadata

title: Pelorus Install
tags: [Perlorus, Debug]

---

# Pelorus Install
###### tags: `Perlorus` `Debug`

# Note
More detailed installation:
https://hackmd.io/CRnCHlDcQo-8XIxWozgWig
* on openshift 3.11 FAILED
* on openshift 4.8 making progress

## basic install
* https://pelorus.readthedocs.io/en/latest/Install/

**** USE MASTER ****

* Prepare dev-env
```
    # clone the repo (you can use a different release or clone from master if you wish)
    git clone --depth 1 --branch v1.3.0 https://github.com/konveyor/pelorus
    cd pelorus
    make dev-env
```

* install - see website https://pelorus.readthedocs.io/en/latest/Install/
```
    export KUBECONFIG=/path/to/your/kubeconfig
    oc create namespace pelorus

    # Install grafana and prometheus operators
    helm install operators charts/operators --namespace pelorus

    # Verify the operators are completely installed before installing the pelorus helm chart
    # Both grafana and prometheus should be running
    oc get pods --namespace pelorus

    # Install the pelorus
    helm install pelorus charts/pelorus --namespace pelorus
```

## notes on steps
#### get operator status
```
[ec2-user@clientvm 0 ~/git/pelorus v1.3.0|✔]$ oc get subs
NAME               PACKAGE            SOURCE                CHANNEL
grafana-operator   grafana-operator   community-operators   alpha
prometheus         prometheus         community-operators   beta

oc describe $sub
```

#### 
* got grafana user and passwd
```
oc get secrets -n pelorus grafana-admin-credentials -o jsonpath='{.data.GF_SECURITY_ADMIN_USER}' | base64 -d

oc get secrets -n pelorus grafana-acredentials -o jsonpath='{.data.GF_SECURITY_ADMIN_PASSWORD}'

```

#### install demo nginx
* https://github.com/weshayutin/container-pipelines/tree/master/basic-nginx


# results:
* NICE! pelorus [link](https://grafana-route-pelorus.apps.cluster-wdh0915ocp4a.wdh0915ocp4a.mg.dog8code.com/d/0fe822d5c23ac2c14250a41472febcd5/software-delivery-performance?orgId=1&refresh=30s)

## Openshift 4.8 install
### Errors:
1. deploytime-exporter-1 - https://termbin.com/t8xx

```
You should consider upgrading via the 'pip install --upgrade pip' command.
---> Installing application ...
Processing /opt/app-root/src
ERROR: Package 'pelorus' requires a different Python: 3.8.6 not in '>=3.9'
WARNING: You are using pip version 19.3.1; however, version 21.2.4 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
error: build error: error building at STEP "RUN /usr/libexec/s2i/assemble": error while running runtime: exit status 1
```