This week the team talks through and shows off the filesystem and secrets implementation for Go
This week the team talks through and shows off the new powerful Environment Variable Directive coming in the next release and an improved VS Code extension that adds Klotho specific syntax highlighting.
Environment Variable Directive
This directive can be added to capabilities, and would lead Klotho to inject the configuration of those resources as environment variables that can be used freely within the user application. For example, a
persist capability that sets up a
redis instance or a an
RDS instance can have the
environment_variable directive which would inject the host and port info into the execution unit that requested it. Now a developer can get the connection info to set up their own
RDS clients without Klotho knowing more about their set up.
This week the team talks through and shows off what’s going into the 0.6 release including execution-unit tree shaking, Golang support, Custom Dockerfile support and a brand new Helm-to-Infra capability, creating K8 clusters to support them.
The 0.5.x releases have some of the larger features we’ve been working on for a while now. Most importantly:
Python is now a first-class language you can build Klotho powered applications with. This release has the
expose capability and initial
support. You can get started using our new Python tutorial.
Static web site support
Klotho now has first-class support for static web sites using the new
capability, opening up many more static workloads in minutes. Here’s the API reference page and a ready-to-use sample app.
Redis cluster support
capability now supports Redis Clusters backed by MemDB. Using it is as easy as annotating a local instance of the redis client. Here’s an example from Typescript:
We removed steps in the getting started tutorial, and it’s now even easier to get started. Start out here. Enjoy all the new features!