Table of Contents |
---|
Installation Steps
Gather all the information mentioned below before proceeding to step 1.
...
Table 1.1 Configuration Property Reference
Step 1 - Create SAMi Portal Configuration file
Create a directory on your system to serve as the base directory for SAMi-platform installation
...
Save the configuration in a file called sam-portal-values.yaml
Sample Reference
Please find a sample reference for the above configuration file:
Code Block | ||
---|---|---|
| ||
global: settings: integrationUrl: "https://sam-gateway.global.cloud/vsp/api" pv: create: false liferay: enabled: true https: enabled: true # By Default the value is set to "false". To enable the HTTPS based url set it to "true" portaldb: enable: true user: "postgres" password: "test123+" # Postgres url: "jdbc:postgresql://xxxxxxx.cjip1jjvpzht.xxxxx.rds.amazonaws.com:5432/sami-portal-db?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false" driver: "org.postgresql.Driver" nginx: istio:ingress image: tag: "3.0.1" protocol: "HTTP" port: number : "80" securePort: number: "443" protocol: "HTTP" secure: enabled: false credentialName: portal-creds domain: use: true name: - samportal.global.cloud mysql: enabled: false integration: enabled: false pgadmin: enabled: false tags: portal: true mysql: false nginx: image: tag: "3.0.1" # check on it pullPolicy: Always liferay: community: enabled: true dxp: enabled: false osgi: s3: enabled: false accessKey: "" bucketName: "sam-bucket" s3Endpoint: "s3.us-east-1.amazonaws.com" s3Region: "us-east-1" secretKey: "" elastic: enabled: true |
Step 2 - Install the SAMi Portal
Chart download and installation
Download the HELM Chart to the base directory of
sami-platform
...
Code Block |
---|
namespace=${K8_NAMESPACE:-sami-platform} kubectl create ns $namespace |
Reference for steps 5 & 6
A. Please refer to the below example for more details.
...
Code Block |
---|
aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/sidgs export HELM_EXPERIMENTAL_OCI=1 helm pull oci://public.ecr.aws/sidgs/sam-portal-chart --version 3.0.1 |
Install Chart
Validate the sam-portal-values.yaml using the steps given below:
...
Code Block |
---|
helm upgrade sam-portal ./sam-portal-chart-3.0.1.tgz \ -f sam-portal-values.yaml \ -n $namespace |
Step 3 - Validate the Installation
Please navigate to the designated
PORTAL_URL
using your preferred web browser. The expected appearance is illustrated below. If the portal does not match the basic site layout depicted, an additional restart is advised. Detailed instructions for this can be found in the troubleshooting section below
...
After confirming that the aforementioned screen is displayed as shown in Figure 1, and ensuring that all pods are operational, you may proceed to the subsequent step.
Troubleshooting the Installation
In case the portal doesn’t load up properly, please follow the below steps:
...