Installing Link
Procedure
-
Open a terminal and navigate to the directory where the
lnk-productchart was extracted. -
Install the Link using the following commands:
helm install lnk-prod lnk-product \ --set hclImagePullSecret="lnk-hclcr-secret" \ --set global.storageClass=efs-sc \ --set mongodb.persistence.existingClaim=link-mongodb-pvc \ --set mongodb.containerSecurityContext.runAsUser=1000 \ --set redis.master.persistence.path=/bitnami/redis \ --set redis.master.persistence.existingClaim=link-redis-pvc \ --set server.persistence.files.existingClaim=link-files-pvc \ --set server.persistence.data.existingClaim=link-data-pvc \ --set server.probes.readiness.enabled=true \ --set server.probes.readiness.initialDelaySeconds=120 \ --set server.probes.readiness.periodSeconds=60 \ --set server.probes.liveness.enabled=false \ --set rest.persistence.data.existingClaim=link-data-pvcThis installs a release named lnk-prod using the lnk-product Helm chart.
The --set parameters override default values in values.yaml.Note: The server readiness probe's initialDelaySeconds and periodSeconds values have been increased from their defaults. This adjustment provides the server container/pod sufficient time to complete initialization, resolving an issue where the pod would continuously restart and fail to reach the "Ready" state with the original default values. To prevent conflicts between liveness and readiness probes, the liveness probe was disabled. -
Run the following command to disapy the generated admin password, necessary for
logging into Link via a web browser.
kubectl get secrets/lnk-prod-lnk-product-login-secret --namespace default --template='{{ .data.password | base64decode }}'Save the displayed password . -
Verify the Installation.
The Link installation typically takes about 10 minutes to complete. During this process, some containers may restart several times. The installation is finished, and the containers are running and in a healthy state, once all necessary resources have been successfully allocated within the cluster.
-
Access the Link UI
Start a local port-forwarding session to forward traffic from the local 4443 port to the port 443 in the lnk-client service:
kubectl port-forward service/lnk-prod-lnk-product-client 4443:443 --address 0.0.0.0 -
Log in to Link