gorse-enterprise

by zhenghaoz

Helm chartv0.5.0-rc.0App 0.5.6

Gorse Enterprise Recommender System Engine

About this chart

Gorse Enterprise Helm Chart

Parameters

Global parameters

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""

Common parameters

NameDescriptionValue
kubeVersionOverride Kubernetes version""
nameOverrideString to partially override common.names.fullname""
fullnameOverrideString to fully override common.names.fullname""
commonLabelsLabels to add to all deployed objects{}
commonAnnotationsAnnotations to add to all deployed objects{}
secretAnnotationsAnnotations to add to secret{}
clusterDomainDefault Kubernetes cluster domaincluster.local

Gorse Configuration parameters

NameDescriptionValue
gorse.dashboard.usernameUsername for the dashboard.gorse
gorse.dashboard.passwordPassword for the dashboard.""
gorse.dashboard.authServerToken server for the dashboard.""
gorse.api.keyThe key to secure the API endpoint""
gorse.api.corsDomainsList of allowed values for Http Origin[]
gorse.api.corsMethodsList of http methods names. Checking is case-insensitive.[]
gorse.api.autoInsertUsersInsert new users while inserting feedbacktrue
gorse.api.autoInsertItemsInsert new items while inserting feedback.true
gorse.api.returnSizeDefault number of returned items10
gorse.api.serverCacheExpireServer-side cache expire time10s
gorse.recommends[0].nameThe name of recommend channeldefault
gorse.recommends[0].dataSource.feedbackTimeToLiveThe time-to-live (days) of positive feedback0
gorse.recommends[0].dataSource.itemTimeToLiveThe time-to-live (days) of items0
gorse.recommends[0].dataSource.positiveFeedbacksThe feedback types for positive events[]
gorse.recommends[0].dataSource.readFeedbacksThe feedback types for read events.[]
gorse.recommends[0].cache.sizeThe cache size for recommended/popular/latest items10
gorse.recommends[0].cache.expireRecommended cache expire time72h
gorse.recommends[0].popularThe time window of popular items4320h
gorse.recommends[0].neighbors.users.typeThe type of neighbors for userssimilar
gorse.recommends[0].neighbors.items.typeThe type of neighbors for items.similar
gorse.recommends[0].collaborative.enableEnable approximate collaborative filtering recommend using vector indextrue
gorse.recommends[0].replacement.enableReplace historical items back to recommendationsfalse
gorse.recommends[0].replacement.decay.positiveDecay the weights of replaced items from positive feedbacks0.8
gorse.recommends[0].replacement.decay.readDecay the weights of replaced items from read feedbacks0.6
gorse.recommends[0].online.fallbackThe fallback recommendation method is used when cached recommendation drained["latest"]

Gorse master node parameters

NameDescriptionValue
master.jobsNumber of working jobs in the master node1
master.image.registryGorse image registrydocker.io
master.image.repositoryGorse Master image repositoryzhenghaoz/gorse-master
master.image.tagGorse Master image tag (immutable tags are recommended)0.4.12
master.image.digestGorse Master image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
master.image.pullPolicyGorse Master image pull policyIfNotPresent
master.image.pullSecretsSpecify docker-registry secret names as an array[]
master.kindUse either Deployment or StatefulSet (default)StatefulSet
master.persistence.enabledEnable persistence on Gorse master nodes using Persistent Volume Claimstrue
master.persistence.mediumProvide a medium for emptyDir volumes.""
master.persistence.sizeLimitSet this to enable a size limit for emptyDir volumes.""
master.persistence.pathThe path the volume will be mounted at on Gorse master containers/var/lib/gorse
master.persistence.subPathThe subdirectory of the volume to mount on Gorse master containers""
master.persistence.subPathExprUsed to construct the subPath subdirectory of the volume to mount on Gorse master containers""
master.persistence.storageClassPersistent Volume storage class""
master.persistence.accessModesPersistent Volume access modes["ReadWriteOnce"]
master.persistence.sizePersistent Volume size8Gi
master.persistence.annotationsAdditional custom annotations for the PVC{}
master.persistence.selectorAdditional labels to match for the PVC{}
master.persistence.dataSourceCustom PVC data source{}
master.persistence.existingClaimUse a existing PVC which must be created manually before bound""
master.service.typeGorse master service typeClusterIP
master.service.ports.httpHTTP port of the master node (dashboard)80
master.service.ports.grpcGRPC port of the master node8086
master.service.nodePorts.httpHTTP port of the master node (dashboard)""
master.service.nodePorts.grpcGRPC port of the master node""
master.service.externalTrafficPolicyGorse master service external traffic policyCluster
master.service.extraPortsExtra ports to expose (normally used with the sidecar value)[]
master.service.internalTrafficPolicyGorse master service internal traffic policy (requires Kubernetes v1.22 or greater to be usable)Cluster
master.service.clusterIPGorse master service Cluster IP""
master.service.loadBalancerIPGorse master service Load Balancer IP""
master.service.loadBalancerSourceRangesGorse master service Load Balancer sources[]
master.service.annotationsAdditional custom annotations for Gorse master service{}
master.service.sessionAffinitySession Affinity for Kubernetes service, can be "None" or "ClientIP"None
master.service.sessionAffinityConfigAdditional settings for the sessionAffinity{}
master.ingress.enabledEnable ingress controller resourcefalse
master.ingress.pathTypeIngress Path typeImplementationSpecific
master.ingress.apiVersionOverride API Version (automatically detected if not set)""
master.ingress.ingressClassNameIngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)""
master.ingress.hostnameDefault host for the ingress resource

Deploy gorse-enterprise with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has gorse-enterprise 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 chartgorse-enterprise is pinned at v0.5.0-rc.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