Prerequisites
- Linux/Unix OS Server with minimum of 4 CPU and 16 GB RAM
- Install Docker
- Install Kubernetes
- Install Helm
Setup Instructions
Download logistimo helm package from by clicking here. Decompress the helm.zip file and go to helm folder. Update the values.yaml file (~/helm-os/logistimo/values.yaml) for the docker image versions and respective values for all the variables mentioned in the file.
Install Logistimo
$ cd helm-os
$ helm install logistimo --name logistimo
Above command will install the complete SCM package with all the dependent services
$ helm ls
This installation will take few minutes. You can check the status of the pods using following command
$ kubectl get pods
Once all the services are up and running, get the nodeport of the nginx service to access the Logistimo UI
To get the nodeport, run the following command
$ kubectl get svc
Port number exposed for Nginx is 80 for the container and 30006 for the host. Use the port 30006 to connect to UI. If you use the local kubernetes setup, please use the following:
Add the below entry in /etc/hosts file to access the webapp
127.0.0.1 localhost mydomin.com ams.mydomin.com mapi.mydomin.com
If you use the remote kubernetes cluster, you should get the public IP or Loadbalance IP of the cluster and replace the localhost with the respective IP in the /etc/hosts file.
Now, you can get the web app using the following URL in the browser http://mydomin.com:30006
The default credentials are username: “superuser” and password: “admin”
Upgrade Logistimo
To upgrade the services in the pacakge, update the values.yaml file with the repective changes and run the below following command
Syntax:
$ helm upgrade [RELEASE] [CHART] [flags]
eg:
$ helm upgrade logistimo logistimo
This updgrade will re-deploy only the services which requires update and create a new revision to keep the different versions of changes.
Rollback Logistimo
To rollback the previous version, use the following command
$ helm rollback logistimo [REVISION]
Remove Logistimo
To remove/delete the installation, use the following command
$ helm delete logistimo [ To delete the deployment ]
$ helm del --purge logistimo [ To delete the release name ]