ng-speech

by Newton Technologies

Helm chartv2.0.16App 2.0.8Apache-2.0

Newton Technologies Speech Services

About this chart

Newton V2T Helm package

Prerequisites

  • Kubernetes cluster 1.21+
  • License token

All input/output data is processed only as in-memory stream. System does not store or send any processed data.

Deployment modes

Embedded agents

core:
  config:
    license:
      token: "_LICENSE_TOKEN_"
    agent:
      count: 4

External agents with shared workspace

  1. Requires storage with read-write-many support
core:
  config:
    license:
      token: "_LICENSE_TOKEN_"
    agent:
      count: 0
    sharedWorkspace:
      persistence:
        enabled: true
        size: 100Gi    
agents:
  default:
    count: 24
  config:
    sharedWorkspace:
      enabled: true

External agents with custom bundled models

core:
  image:
    repository: mycompany/ng-core-custom
    tag: 2.0.1-west-eu
  config:    
    license:
      token: "_LICENSE_TOKEN_"
agents:  
  default:
    image:
      repository: mycompany/ng-core-custom
      tag: 2.0.1-west-eu
    count: 24

Configuration

List of selected configuration options

ParameterDescriptionDefault
core.config.license.tokenLicense token``
core.config.admin.usernameAdmin usernamengadmin
core.config.admin.passwordAdmin passwordngadmin
core.config.login.jwt.keyKey used for symmetric JWT token encryptioninsecure-key
core.config.agent.tokenToken used for agent to core authenticationinsecure-token
core.config.agent.countNumber of core embedded agentsinsecure-token
core.config.sharedWorkspace.persistence.enabledEnables storing data on RWX shared volume,false
agent.default.countNumber of agent replicas. Each agent can handle single request at a time1
traefikIngressRoute.enabledInstall Traefik IngressRoute for ingress traffictrue

Packaging

helm package .
helm push ng-speech-$version.tgz oci://registry-1.docker.io/newtontechnologies

Deploy ng-speech with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ng-speech 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 chartng-speech is pinned at v2.0.16 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