Core Concepts · How it works
1 min readRapid overview
How it works
Core Concepts
Basic Tiltfile Structure
# Tiltfile
# Load extensions
load('ext://restart_process', 'docker_build_with_restart')
# Define Kubernetes resources
k8s_yaml('kubernetes/deployment.yaml')
# Build Docker image and deploy
docker_build('myapp', '.')
# Configure resource behavior
k8s_resource('myapp', port_forwards='8080:80')
Key Functions
| Function | Purpose |
|---|---|
docker_build() | Build Docker image from Dockerfile |
k8s_yaml() | Apply Kubernetes manifests |
k8s_resource() | Configure a Kubernetes resource |
local_resource() | Run local commands (tests, builds) |
helm() | Deploy Helm charts |