Namespace Files in Kestra: Reusable Logic Without Losing Control
Blog post from Kestra
Kestra's Namespace Files provide a solution for balancing central governance and team autonomy in workflow orchestration by allowing code and configuration reuse across workflows without sacrificing structure, security, or efficiency. This feature draws inspiration from infrastructure best practices like Kubernetes and Linux by implementing logical isolation, inheritance, and secure reusability through namespaces. These namespaces enable hierarchical organization of workflows and resources, shared resources across child namespaces, and secure isolation with dedicated secrets and variables. By using Namespace Files, teams can store and share custom scripts, templates, and configurations within their Kestra namespaces, facilitating collaboration and speeding up workflow development while maintaining compliance and security. This approach prevents the chaos associated with scaling by ensuring a clear, secure, and manageable structure, allowing teams to innovate rapidly without the risk of fragmentation or inconsistencies.