Static Remote Deployment
Before installing Aizen remote components, check that each GPU node has the required software installed on it, with the addition of NVIDIA drivers and libraries. See Software Requirements. (Ingress infrastructure is not required on a GPU node.)
Create the namespace
aizen
for the Aizen remote components by running this command:kubectl create ns aizen
Label the GPU nodes:
kubectl label node <nodename or ip> aizen.com/gpu.deploy=true
Using the Docker Hub credentials that you obtained for the Aizen microservice images (Getting Credentials for the Aizen Microservice Images), create a Kubernetes Secret for accessing the Aizen images:
kubectl create secret docker-registry aizenrepo-creds --docker-username=aizencorp --docker-password=<YOUR DOCKER CREDENTIALS> -n aizen
Deploy the remote components by running the script for Aizen remote deployment. See the Script for Aizen Remote Deployment below.
Script for Aizen Remote Deployment
#Script for Aizen remote deployment
#----------------------------------
NAMESPACE=aizen
HELMCHART_LOCATION=aizenremote-helmcharts-1.0.0
STORAGE_CLASS=
BUCKET_NAME=
CLUSTER_NAME=
CLOUD_ENDPOINT_URL=
CLOUD_ACCESSKEY_ID=
CLOUD_SECRET_KEY=
CLOUD_PROVIDER_REGION=
CLOUD_PROVIDER_TYPE=
#IMAGE
IMAGE_REPO=aizencorp
IMAGE_REPO_SECRET=
IMAGE_TAG=1.0.0
#PVC
METASTORAGE_PERSISTENCE_SIZE=200Gi
#You don't need to change anything below this line
helm -n $NAMESPACE install aizenremote $HELMCHART_LOCATION/aizenremote \
--set global.clustername=$CLUSTER_NAME,\
global.s3.endpoint_url=$CLOUD_ENDPOINT_URL,\
global.s3.secrets.values.s3_access_key=$CLOUD_ACCESSKEY_ID,\
global.s3.secrets.values.s3_secret_key=$CLOUD_SECRET_KEY,\
global.customer_bucket_name=$BUCKET_NAME,\
global.storage_class=$STORAGE_CLASS,\
global.cloud_provider_type=$CLOUD_PROVIDER_TYPE,\
global.cloud_provider_region=$CLOUD_PROVIDER_REGION,\
global.image_registry=$IMAGE_REPO,\
global.storage_class=$STORAGE_CLASS,\
global.image_secret=$IMAGE_REPO_SECRET,\
global.image_tag=$IMAGE_TAG,\
metastorage.volume_size=$METASTORAGE_PERSISTENCE_SIZE
Checking the Deployment Status of the Remote Components
Check the status of all the remote components by running this command:
kubectl -n aizen get pods
If any of the remote components are not in a Running state, see Installation Issues
Last updated