smile

by NCSA

Helm chartv1.1.0App 1.1.0Verified publisher

Smile

About this chart

SMILE (Social Media Intelligence and Learning Environment)

For users or potential users:

$ helm repo add ncsa https://opensource.ncsa.illinois.edu/charts/
$ helm install smile ncsa/smile

Introduction

This chart bootstraps the SMILE deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.16+
  • helm 3
  • PV provisioner support in the underlying infrastructure

Installing the Chart

To install the chart with the release name my-release:

$ helm install --name my-release ncsa/smile

The command deploys SMILE on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation. This will also install MinIO, RabbitMQ, redis as well as some extractors.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the SMILE chart and their default values.

ParameterDescriptionDefault
ingress.hosts[0].hostIngress rule for smilesmile.example.com
ingress.hosts[1].hostIngress rule for clowderclowder.exmaple.com
ingress.traefikUse Traefik V2 middlewarefalse
image.pullPolicyImage pull policyIfNotPresent
image.projectImage repositorysocialmediamacroscope
image.PullSecrets.nameSecret for pulling imagesregcred
externalSecretsUse external secretssmile-server
autoscaling.enabledEnable autoscalingfalse
autoscaling.minReplicasMinimum number of replicas1
autoscaling.maxReplicasMaximum number of replicas100
smile_server.replicasReplica count for smile_server1
smile_server.image.repositoryImage repository for smile_serversmile_server
smile_server.image.tagImage tag for smile_serverlatest
smile_server.app_envEnvironment for smile_serverproduction
smile_server.persistence.sizeSize for smile_servers persistence volume1GB
smile_graphql.replicasReplica count for smile_graphql1
smile_graphql.image.repositoryImage repository for smile_graphqlsmile_graphql
smile_graphql.image.tagImage tag for smile_graphqllatest
algorithm_autophrase.replicasReplica count for algorithm_autophrase1
algorithm_autophrase.image.repositoryImage repository for algorithm_autophrasealgorithm_autophrase
algorithm_autophrase.image.tagImage tag for algorithm_autophraselatest
algorithm_classification_predict.replicasReplica count for algorithm_classification_predict1
algorithm_classification_predict.image.repositoryImage repository for algorithm_classification_predictalgorithm_classification_predict
algorithm_classification_predict.image.tagImage tag for algorithm_classification_predictlatest
algorithm_classification_split.replicasReplica count for algorithm_classification_split1
algorithm_classification_split.image.repositoryImage repository for algorithm_classification_splitalgorithm_classification_split
algorithm_classification_split.image.tagImage tag for algorithm_classification_splitlatest
algorithm_classification_train.replicasReplica count for algorithm_classification_train1
algorithm_classification_train.image.repositoryImage repository for algorithm_classification_trainalgorithm_classification_train
algorithm_classification_train.image.tagImage tag for algorithm_classification_trainlatest
algorithm_histogram.replicasReplica count for algorithm_histogram1
algorithm_histogram.image.repositoryImage repository for algorithm_histogramalgorithm_histogram
algorithm_histogram.image.tagImage tag for algorithm_histogramlatest
algorithm_network_analysis.replicasReplica count for algorithm_network_analysis1
algorithm_network_analysis.image.repositoryImage repository for algorithm_network_analysisalgorithm_network_analysis
algorithm_network_analysis.image.tagImage tag for algorithm_network_analysislatest
algorithm_preprocessing.replicasReplica count for algorithm_preprocessing1
algorithm_preprocessing.image.repositoryImage repository for algorithm_preprocessingalgorithm_preprocessing
algorithm_preprocessing.image.tagImage tag for algorithm_preprocessinglatest
algorithm_sentiment_analysis.replicasReplica count for algorithm_sentiment_analysis1
algorithm_sentiment_analysis.image.repositoryImage repository for algorithm_sentiment_analysisalgorithm_sentiment_analysis
algorithm_sentiment_analysis.image.tagImage tag for algorithm_sentiment_analysislatest
algorithm_screen_name_prompt.replicasReplica count for algorithm_screen_name_prompts1
algorithm_screen_name_prompt.image.repositoryImage repository for algorithm_screen_name_promptsalgorithm_screen_name_prompts
algorithm_screen_name_prompt.image.tagImage tag for algorithm_screen_name_promptslatest
algorithm_topic_modeling.replicasReplica count for algorithm_topic_modeling1
algorithm_topic_modeling.image.repositoryImage repository for algorithm_topic_modelingalgorithm_topic_modeling
algorithm_topic_modeling.image.tagImage tag for algorithm_topic_modelinglatest
algorithm_name_entity.recognition.replicasReplica count for algorithm_name_entity_recognition1
algorithm_name_entity.recognition.image.repositoryImage repository for algorithm_name_entity_recognitionalgorithm_name_entity_recognition
algorithm_name_entity.recognition.image.tagImage tag for algorithm_name_entity_recognitionlatest
image_crawler.replicasReplica count for image_crawler1
image_crawler.image.repositoryImage repository for image_crawlerimage_crawler
image_crawler.image.tagImage tag for image_crawlerlatest
collect_reddit_comments.replicasReplica count for collect_reddit_comments1
collect_reddit_comments.image.repositoryImage repository for collect_reddit_commentscollect_reddit_comments
collect_reddit_comments.image.tagImage tag for collect_reddit_commentslatest
clowder_create_collection.replicasReplica count for clowder_create_collection1
clowder_create_collection.image.repositoryImage repository for clowder_create_collectionclowder_create_collection
clowder_create_collection.image.tagImage tag for clowder_create_collectionlatest
clowder_create_dataset.replicasReplica count for clowder_create_dataset1
clowder_create_dataset.image.repositoryImage repository for clowder_create_datasetclowder_create_dataset
clowder_create_dataset.image.tagImage tag for clowder_create_datasetlatest
clowder_create_space.replicasReplica count for clowder_create_space1
clowder_create_space.image.repositoryImage repository for clowder_create_spaceclowder_create_space
clowder_create_space.image.tagImage tag for clowder_create_spacelatest
clowder_list.replicasReplica count for clowder_create_list1
clowder_list.image.repositoryImage repository for clowder_create_listclowder_create_list
clowder_list.image.tagImage tag for clowder_create_listlatest
clowder_upload_file.replicasReplica count for clowder_upload_file1
clowder_upload_file.image.repositoryImage repository for clowder_upload_fileclowder_upload_file
clowder_upload_file.image.tagImage tag for clowder_upload_filelatest

Specify each parameter using the --set key=value[,key=value] argument to helm install. Or more convenient use a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

$ helm install --name my-release -f values.yaml ncsa/smile

Tip: You can use the default values.yaml to find the names of all options

Persistence

SMILE will use a persistent storage to store all data that is uploaded as well as is generated.

Existing PersistentVolumeClaims

  1. Create the PersistentVolume
  2. Create the PersistentVolumeClaim
  3. Install the chart

For an example of using existing PVC, see the file smile-pvc.yaml.

Changelog

0.1.0

  • helm chart files. #1

Deploy smile with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has smile on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartsmile is pinned at v1.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply