Page Properties | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||
Resources & Remarks Modification History
|
...
Add the required Helm repositories:
Code Block language bash helm repo add minio https://helm.min.io/ helm repo add bitnami https://charts.bitnami.com/bitnami helm repo add gitea-charts https://dl.gitea.io/charts/
Update the Infrastructure dependencies:
Code Block language bash cd infrastructure helm dep up helm repo add stable https://charts.helm.sh/stable cd ..
Adjust the
values.yaml
file:- Adjust docker registry credentials.
- Specify the address of your yuuvis® Momentum cluster by setting your
CLUSTER_IP
or your AUTHENTICATION service'sLOAD_BALANCER_IP
for the parameteryuuvis.
authentication.ip
. - Optionally change passwords.
- Optionally change the used storage classes.
Install the infrastructure services. Naming the chart during installation is necessary as each service would otherwise receive a default prefix from Kubernetes, making it difficult for the yuuvis® Momentum services to interact with them later. This also enables us to rollback our installation.
Code Block language bash kubectl create namespace infrastructure helm install infrastructure ./infrastructure --namespace infrastructure
Wait until the jobs are done.
Code Block language bash kubectl get jobs -n infrastructure
There are two jobs preparing the git server and the Keycloak environment that need to be completed.
Code Block language bash NAME COMPLETIONS DURATION AGE gogsrepo-init 1/1 83s 8m4s keycloak-create-selfsigned-cert 1/1 8m4s 8m4s
Run the following command to see if the infrastructure chart was deployed (
STATUS DEPLOYED
).Code Block language bash helm list --namespace infrastructure
...
Adjust the
values.yaml
file:- Adjust docker registry credentials.
- If you are using Keycloak as identity provider, specify its address by setting your
CLUSTER_IP
or your Keycloak'sLOAD_BALANCER_IP
for the parameteryuuvis.
keycloak.ip
.
- Navigate to the root Helm Chart directory within the cloned repository.
Install the Helm Chart. Again, naming our chart prevents randomization of service identifiers and gives us the ability to rollback all associated services.
Code Block language bash kubectl create namespace yuuvis helm install yuuvis ./yuuvis --namespace yuuvis
Wait for the pods to be ready:
Code Block language bash kubectl get po -n yuuvis
...
- Adjust the docker registry credentials.
Install the Helm Chart:
Code Block language bash helm install client ./client --namespace yuuvis
Wait for the pods to be ready:
Code Block language bash kubectl get po -n yuuvis
The installation of the
client
Helm Chart will change the app-specific systemHookConfiguration.json for theclientsystem
app. Services referring to this configuration will only read it once at startup. Thus, the corresponding services must be restarted to apply the new configuration. E.g., restart the API Gateway via:Code Block language bash kubectl rollout restart deployment api -n yuuvis
- To enable users to create objects, define a suitable role and assign it to them.
...
Install the Helm Chart:
Code Block language bash kubectl get po -n yuuvis helm install rendition ./rendition --namespace yuuvis
'management' Helm Chart
Install the Helm Chart:
Code Block language bash kubectl get po -n yuuvis helm install management ./management --namespace yuuvis
The
management
Helm Chart provides a tenant-management api and a tenant management console. Per default, the deployment of the tenant management console services is disabled. To deploy those services, theyuuvis.management.console.deploy
parameter must be set totrue
in thevalues.yaml
file.
Configure the tenant management console.Code Block language yml yuuvis: management: console: deploy: true
>> MANAGEMENT-CONSOLE-CLIENT Service
'monitoring' Helm Chart
Install the prometheus monitoring operator.
Code Block language bash helm install prometheus-operator stable/prometheus-operator --namespace infrastructure --values ./monitoring/values.yaml
Verify that the prometheus operator chart has been deployed.
Code Block language bash helm list --namespace infrastructure
Get the monitoring operator pod status.
Code Block language bash kubectl --namespace infrastructure get pods -l "release=prometheus-operator"
Finally, setup the alerting rules and service monitor by running these two commands:
Code Block language bash kubectl apply -f ./monitoring/templates/prometheus-alerting-rule.yaml -n infrastructure kubectl apply -f ./monitoring/templates/servicemonitor
Install the
monitoring
Helm Chart:Code Block language bash helm dep up monitoring helm install monitoring ./monitoring -n monitoring --create-namespace --debug
- Before deploying the monitoring Helm Chart, adjust the parameters in its
values.yaml
configuration file.
>> Monitoring via Prometheus and GraphanaAnchor repositorymanager repositorymanager
...