Installation

Self hosted server

Currently only Kubernetes installation guide is available

Getting Helm chart

Download or clone Helm chart from github:

git clone https://github.com/TeamShellApp/helm.git teamshell-chart

Specify the secret you get from invite

Save secrets.yaml we provide via special request to templates/secrets.yaml

Creating namespace

kubectl create namespace teamshell

Adjusting values

service:
  type: NodePort
  port: 6262
  nodePort: 32220  # Control server port

serviceNats:
  type: NodePort
  port: 7890
  nodePort: 32221 # Session port

serviceSSH:
  type: NodePort
  port: 6543
  nodePort: 32222  # SSH service port
controlServer:
  pgUser: postgres
  pgPassword: kusd6nzbfac6s82a
  pgHost: ""
  pgPort: 5432
  pgDatabase: teamshell
  pgSSL: ""
  useCert: 1
  enableRBAC: 1
  storageToken: tknStorage
  eventsToken: 30a94d28-825d-4ca8-a24d-2b9458929e5f
  smtpHost: ""  # Set host and the rest email settings for outgoing mail
  smtpPort: 2587
  smtpUser: ""
  smtpPassword: ""
  smtpFromEmail: ""
  smtpFromName: ""
storageServer:
  mongoAddr: ""
  grpcServer: ""
  natsServer: ""
  flushBuffer: 1024 # Bytes before buffer is flushed into database as a single chunk
  flushTimeout: "10s" # Timeout of inactive shell session before buffer is flushed
External database settings

If you wish to use some external database please set postgresql.enabled and/or mongodb.enabled to false and set connection credentials in controlServer and storageServer

Installing chart

helm install teamshell teamshell-chart/ -n teamshell

Updating chart

helm upgrade teamshell teamshell-chart/ -n teamshell

Uninstalling chart

helm uninstall teamshell -n teamshell
Providing custom values
It’s better to provide your custom defined values in separate file. Use flag -f teamshell-server/custom_values.yaml for install and upgrade helm commands. In this way pulling from helm repository will not break your settings.