Skip to main content
Skip table of contents

Configure the VSaaS platform deployment

All operations will be executed on VM1, unless an alternative is explicitly designated.

To configure the VSaaS platform deployment, follow these steps:

  1. Go to the working directory:

CODE
cd ~/aipix-deploy/kubernetes
  1. Create the sources.sh file from sources.sh.sample:

CODE
cp ./sources.sh.sample ./sources.sh
  1. Configure your VSaaS platform deployment:

CODE
vim ./sources.sh
CODE
#!/bin/bash -e

###Beginning of the VSaaS base config ###
export DOCKER_USERNAME=aipix                        	#a username to login into the nexus docker-registry
export DOCKER_PASSWORD=aipix                        	#a password to login into the nexus docker-registry
export TRAEFIK_DOMAIN=traefik-dashboard.example.com    	#a domain name for the traefik dashboard
export TRAEFIK_NAMESPACE=traefik-v2                 	#a k8s namespace for the traefik application
export VMS_DOMAIN=vms.example.com                    	#a domain name for VMS
export ANALYTICS_DOMAIN=orch.example.com                #a domain name for orchestrator
export NS_VMS=vsaas-vms				        #a k8s namespace for the VMS application
export NS_MS=vsaas-ms 				        #a k8s namespace for mediaservers
export NS_A=vsaas-analytics 			        #a k8s namespace for analytics
export NS_MINIO=minio-single                        	#a k8s namespace for minio s3
                                                    	#use for example "minio-single" for a demo installation or "minio-ha" for production

export RWO_STORAGE=local-storage                    	# a storage classname for ReadWriteOnce
                                                    	# for GKE, use standard-rwo
export RWX_STORAGE=openebs-kernel-nfs               	# a storage classname for ReadWriteMany
                                                    	# for GKE, use  standard-rwx

export ANALYTICS=no 				                #specify, if analytics will deployed ("yes" or "no")
export TYPE=single                                              ##Installation options
                                                                            #1) "single" - a single node demo installation plus one node for analytics if enabled
                                                                            #2) "prod" - a multinode production installation with HA

export VMS_LIC_OFFLINE=no 			                #specify, if a vms offline license will be used ("yes" or "no")
export MS_LIC_OFFLINE=no 			                #specify, if a mediaserver offline license will be used ("yes" or "no")
export A_LIC_OFFLINE=yes 			                #specify, if an analytics offline license will be used ("yes" or "no")

#S3 minio basic deployment parameters:
export BACKEND_STORAGE_TYPE=s3        				#a backend storage type for demo installation: s3, disk or s3_and_disk (for migration to s3)
export MINIO_CONSOLE_DOMAIN=minio-console.example.com                   #define a minio console domain name for a single installation
export MINIO_CONSOLE_DOMAIN_1=minio-console-1.example.com               #define a minio console domain name for a redundant installation
export MINIO_CONSOLE_DOMAIN_2=minio-console-2.example.com               #define a minio console domain name for a redundant installation
export MINIO_USR=minioadmin					        #define a minio admin username
export MINIO_PSW=miniopassword 						#define a minio admin password
export MINIO_BACKEND_BUCKET_NAME=vms-store                                       #a minio public bucket name for vms backend
export MINIO_BACKEND_ACCESS_KEY=P30F6ONUEH7CZ8513H4S                                 #define a minio access key for a vms backend public bucket (use letters and numbers only)
export MINIO_BACKEND_SECRET_KEY=gZ6s6WCmTVfvJ062q4U4VeJOGnEcyfYYHPKD0Lr6             #define a minio secret key for a vms backend public bucket (use letters and numbers only)
export MINIO_BACKEND_BUCKET_NAME_PRIV=vms-store-priv                             #a minio private bucket name for the vms backend
export MINIO_BACKEND_ACCESS_KEY_PRIV=O30F6ONUEH7CZ8R13H49                            #define a minio access key for a vms backend private bucket (use letters and numbers only)
export MINIO_BACKEND_SECRET_KEY_PRIV=lZ4d6RCmTVfvJ062q4U1VesOGnEcyfYYHPKD0Ye3        #define a minio secret key for a vms backend private bucket (use letters and numbers only)
export MINIO_PORTAL_BUCKET_NAME=portal-store                                         #a minio public bucket name for the portal
export MINIO_PORTAL_ACCESS_KEY=X4076ONYEH7CZ8D13H73                                  #define a minio access key for a portal public bucket (use letters and numbers only)
export MINIO_PORTAL_SECRET_KEY=eC6d6WCmTsfvJ03lq4U1VeJOGnEcyfYYHPKD0es9              #define a minio secret key for a portal public bucket (use letters and numbers only)
export MINIO_PORTAL_BUCKET_NAME_PRIV=portal-store-priv                               #a minio private bucket name for the portal
export MINIO_PORTAL_ACCESS_KEY_PRIV=T30d8OSUEH7CZ8R1HS6A                             #define a minio access key for a portal private bucket (use letters and numbers only)
export MINIO_PORTAL_SECRET_KEY_PRIV=pA6d6RsmTVfvJ066q4U1VeJOGnEdyf4YHPKD0gsT         #define a minio secret key for a portal private bucket (use letters and numbers only)
export MINIO_ANALYTICS_BUCKET_NAME=analytics-store                                   #a minio bucket name for analytics
export MINIO_ANALYTICS_ACCESS_KEY=Y4RJU1RNFGK48LGO9I2S                               #define a minio access key for an analytics bucket (use letters and numbers only)
export MINIO_ANALYTICS_SECRET_KEY=qV6drWCmTV0vJ0Q2q921VeJOGnEcyfYYHPKD0k7R           #define a minio secret key for an analytics bucket (use letters and numbers only)

#Monitoring parameters
export MONITORING=no  			                          	#specify, if monitoring will be deployed ("yes" or "no")
export PROVISION_DASHBOARDS=yes						#specify, if grafana dashboards will be provisioned automaticaly ("yes" or "no")
export INFLUX_USR=admin 						#define an influxdb admin user
export INFLUX_PSW=0hmSYYaRci6yJblARc6aHbHZ4YelTXTo			#define an influxdb admin userpassword (use letters and numbers only)
export INFLUX_TOKEN=2pORp9tDo40Lm32oGUKFLL8r1UuNbgUT			#define an influxdb API token (use letters and numbers only)

#Portal parameters
export PORTAL=no                            				#specify, if the portal will be deployed ("yes" or "no")
export PORTAL_STUB_DOMAIN=portal.example.com                          	#define a portal-stub domain name

###END of the VSaaS base config ###
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.