Installation & Setup
Prerequisites
- A Kubernetes Cluster
- Dynamic Volume Provisioner (e.g. ceph, cloud storage providers)
Install PrimeHub
make primehub-install DOMAIN=$(YOUR_PRIMEGHUB_DOMAIN) KC_USER=$(YOUR_KEYCLOAK_ADMINISTRATOR_ID) KC_PASSWORD=$(YOUR_KEYCLOAK_ADMINISTRATOR_PASSWORD) SCHEME=(http|https) PRIMEHUB_CONSOLE_DOCKER_USERNAME=$(PROVIDED_PRIMEHUB_CONSOLE_DOCKER_USERNAME) PRIMEHUB_CONSOLE_DOCKER_PASSWORD=$(PROVIDED_GITLAB_DEPLOY_PASSWORD)
Once the task is completed, please wait for the PrimeHub related pods become ready, you may observe them by running
watch make get-all-pods
Upgrade Primehub
- Check Helm difference
make component-diff-primehub
- Upgrade
make primehub-upgrade
Install additional components
Grafana
Create Grafana Keycloak client:
make create-grafana-keycloak-client
Don't forget to update
.env
about yourGRAFANA_KEYCLOAK_PROXY_CLIENT_SECRET
.Set environment
GRAFANA_ADMIN
&GRAFANA_PASSWORD
in.env
fileNever forget to assign there values, or it will be hard for you to login as
GRAFANA_ADMIN
since Grafana will pick a random password if we didn't assign it before.Check Helm difference:
make component-diff-prometheus-operator
Install applications:
make component-install-prometheus-operator
Check your Grafana ingress by running:
kubectl get ingresses -n monitoring prometheus-operator-grafana
Kibana
Create Kibana KeyCloak client:
make create-kibana-keycloak-client KC_USER=$(YOUR_KEYCLOAK_ADMINISTRATOR_ID) KC_PASSWORD=$(YOUR_KEYCLOAK_ADMINISTRATOR_PASSWORD)
Set environment
KIBANA_KEYCLOAK_PROXY_CLIENT_SECRET
in.env
file, the variable value should be available from step 1.Check Helm difference:
make component-diff-efk
Install components:
make component-install-efk
Check your Kibana ingress by running
kubectl get ingresses -n logging kibana
You may login Kibana by using the same account of
admin-ui
, which is available at the output of Install PrimeHub stage.
Upgrade individual helm Release
Get the releases in helm
helm ls
Check the different
make release-diff-<release name>
Upgrade
make release-install-<release name>