Devfile: Dev environment as code
summary
Defines a development environment as a YAML file named Devfile.yaml with metadata, components (container, image, k8s, volume), and commands; shows schema versions 2.1.0 and 2.2.0. Uses the audio CLI to fetch a Go starter devfile, create a Kubernetes Deployment and Service, sync local files to the container, rebuild on save and port-forward localhost:2001→8080; supports Podman too. Demonstrates a small Go HTTP server that updates live, cleans up on Ctrl-C, and mentions registries, registries of vendor adopters (Red Hat, Amazon CodeCatalyst, JetBrains) and a Go library to parse and generate devfiles.
AI-written summary · about
chapters (11)
- 0:00Introduction to Devfile
- 3:52What is a Devfile
- 8:28Devfile registries and configs
- 9:12Demo with Odio and Go
- 14:36Odio deployment process
- 16:42Live coding with Odio
- 17:04Devfile on Podman
- 18:06Advanced Devfile commands
- 19:30Parsing Devfiles
- 21:33Summary and resources
- 23:17Q&A: Devfile vs Docker Compose
related talks
31mSimplifying and Standardizing Developer Environments for the Cloud
25mA Deep Dive into Development Environment Configuration Standards
23mA Deep Dive into Development Environment Configuration Standards
42mDeveloper-first Workflows on Kubernetes
39mDevly, a multi-service development environment
45mCustomize your own Online IDE with a Devfile
44mCloud Native Applications with Remote Development Environments
15mSkaffold: Local development with Kubernetes
