Lambda DataLake

Vast

tags
Tenzir

Vast.yaml

  • namespace: vast-config-<state>
    • prod -> production
std run //tenzir//generator:config-vast-prod

generating config to nixosModule of the vast

services.vast.settings = inputs.data-merge.merge inputs.cells-lab.tenzir.generator.prod {
  vast.endpoint = "192.168.1.1:4000";
};

generating config to NomadJobs of the vast

deployNomadJobs.vast.prod = inputs.data-merge.merge inputs.cells.tenzir.generator.prod {
  vast.endpoint = "192.168.1.1:4000";
  # <custom settings>
};
  • deploy
std //tenzir//deploy:vast-prod

dockerComposes

dev

std //vast/dockerComposes/dev:explore
services:
  vast:
    environment: {}
    image: tenzir/vast:${VERSION}
    ports:
    - ${VAST_PORT:-42000}:42000
    restart: always
    volumes:
    - vastdata:/var/lib/vast
version: '3'
volumes:
  vastdata: {}

prod

std //vast/dockerComposes/prod:explore
services:
  vast:
    environment: {}
    image: tenzir/vast:${VERSION}
    ports:
    - ${VAST_PORT:-42000}:42000
    restart: always
    volumes:
    - vastdata:/var/lib/vast
version: '3'
volumes:
  vastdata: {}

release

std //vast/dockerComposes/release:explore
services:
  vast:
    environment: {}
    image: tenzir/vast:v2.3.1
    ports:
    - 42000:42000
    restart: always
    volumes:
    - vastdata:/var/lib/vast
version: '3'
volumes:
  vastdata: {}

NomadJobs

Links to this note