Skip to content
This repository was archived by the owner on Dec 20, 2025. It is now read-only.

Sheikah45/tilt-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Archived

This repository is now archived and has been merged with the gitops-stack for direct local development and easier maintenance.

Tilt Stack

This repository aims to provide a ready-to-go Tilt setup for ephemeral FAF infrastructure local development on kubernetes.

Structure

The tilt stack uses kubernetes resources from the gitops-stack.

Configuration

The tilt stack is designed to replicate production as close as possible for local development. The default values from gitops-stack have been used where applicable

Usage

Prerequisites

  • Tilt
  • Kuberenetes (Docker Desktop or Minikube are recommended for those new to kubernetes) Tilt cluster setup
  • For windows users a bash program. By default git bash is used with an assumed installation directory of C:/Program Files/Git
  • helm must be installed to generate the k8s from the helm charts in the gitops repo

Startup Services

In the root directoy of your repository run tilt up. This will start all the faf services in the correct order. The status of each service can be viewed in the tilt UI by visiting http://localhost:10350. This is the control server for tilt where you can restart services or disable them for substitution by services you would like to run from source code as you actively develop them.

Development

To develop against the FAF infrastructure you should disable the service in tilt that you are actively developing. Once disabled you can start up your developed version. Some tweaks may need to be made to the default configuration parameters in the source code. The proper values can be found in the configMaps in each of the services kubernetes deploy yaml files.

Test Data

The default test data that is loaded can be found in /sql/test-data.sql. This can be overridden by providing a new path with the tilt configuration key test-data-path when running tilt up or in the tilt_config.json file in the repository root directory.

About

Development based stack for local kubernetes development of the faf infrastructure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •