Skip to content

TubeArchivist Installation

For this application I used the Custom-App provided by TrueCharts.

  • Available under the stable train

!Container: Tube


Container

Container Repository

bbilly1/tubearchivist
Container Tag
latest

!Container: Tube


Environment Variables

Name

ES_URL
Value
http://ta-elastic-custom-app.ix-ta-elastic.svc.cluster.local:9200

Name

REDIS_HOST
Value
ta-redis-custom-app.ix-ta-redis.svc.cluster.local

!env1: Tube

Name

TA_USERNAME
Value
USERNAME


Name

TA_PASSWORD
Value
PASSWORD


Name

ELASTIC_PASSWORD
Value
verysecret

!env2: Tube


Name

TA_HOST
Value
youtube.myserver.com

If you are NOT using a reverse proxy, put your IP address here instead

!env3: Tube


Networking

Target Port

8000
Port
8000

!Networking: Tube

You can change LoadBalancer to CluserIP if you only intend to use this through ingress (a domain name), if not, or you don't know, leave it as LoadBalancer


Storage

  • Used the same dataset we created earlier
  • This is where your data, or videos are going to be actually stored
  • You could instead use PVC if you would like to, but since my applications are not on the same pool as my storage tank, it would be a bad idea for me personally

Ensure the mountpath is:

/youtube

TubeArchivist specifically looks to that mount point, its required

!Storage: Tube


  • Used pvc just for the cache, its likely to just be small files the user will never have to interact with anyway

Ensure the mountpath is:

/cache

You of course can change Size Quotum of Storage to something lower.


Security

  1. Select Show Advanced Security Settings

  2. UN-Select runASNonRoot

  3. Change runAsUser to 0

  4. Change runAsGroup to 0

Running the application without user:group 0 or root, resulted in a Django import error.

!Storage: Tube