Functions
A function is a small serverless handler that runs on demand instead of staying up as a long-lived process. You give Ownkube some code and a trigger, and it runs the code in your own AWS account when the trigger fires. There’s no container to size and nothing running when the function is idle.
Functions are different from the other resource types in one important way: they are cluster-less. A web app, worker, job, or database runs on a cluster. A function attaches directly to an AWS account and region instead, so you can use functions even before you create a cluster.
What you configure
Section titled “What you configure”-
Pick a source
Functions build from a GitHub repository. Connect the GitHub App (see Registries), then pick the repo and branch. Ownkube packages your code into a deployable artifact on each push.
-
Choose a runtime
Pick the language runtime. Ownkube suggests a default handler for each:
Runtime Default handler Node.js 24 / 22 index.handlerPython 3.14 / 3.13 lambda_function.lambda_handlerJava 25 / 21 example.Handler::handleRequest.NET 10 Function::Function.Handler::FunctionHandlerRuby 3.4 lambda_function.lambda_handlerCustom (Go, Rust) bootstrapThe handler is the entry point inside your code. The suggestion is editable.
-
Set size and timeout
Choose the memory (in MB), the timeout (in seconds), and the architecture (
x86_64orarm64). Memory and architecture together decide how much CPU the function gets and what it costs to run. -
Add a trigger
Every function needs at least one trigger, HTTP or a schedule (or both). See Triggers.
-
Set environment variables
Add any
KEY=valuepairs your handler reads at runtime. They’re stored with the function and injected when it runs.
Triggers
Section titled “Triggers”An HTTP trigger gives the function its own HTTPS invoke URL. Call the URL and the function runs.
- Auth: leave it open (
none) or require AWS IAM signing (iam). - CORS: configure allowed origins, methods, headers, and max-age for browser callers.
A schedule trigger runs the function on a recurring cadence. Use a cron(...) expression for calendar-style schedules or a rate(...) expression for fixed intervals. Set an optional time zone (defaults to UTC).
Logs and platform version
Section titled “Logs and platform version”- Logs are captured with a configurable retention window, the same way deployments handle logs.
- Functions run on a platform version, like the other resource types. When Ownkube ships a newer version with reliability, performance, and security improvements, the function’s detail page shows an Upgrade control. Staying current is how you pick up new capabilities.
Beta limits
Section titled “Beta limits”- Functions are gated. You need a connected AWS account before you can create one, and the option may be limited by your plan while in beta.
- Pricing isn’t finalized. Functions don’t yet appear on the pricing page; the billing model for serverless usage is still being worked out.
- GitHub is the only source today. Building from other version-control providers is on the roadmap.