Documentation Index
Fetch the complete documentation index at: https://akua-1dce587a.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
View repository
Browse the Helm charts repository.
What it is
The generic application chart is a Helm chart published athttps://charts.akua.dev with the chart name app. It’s designed to deploy any Docker container image to Kubernetes with sensible defaults and extensive customization options.
While the chart is used by Akua for GitHub repository deployments, you can also use it directly with Helm if you want to deploy container images manually.
When Akua uses it
Akua automatically uses the generic chart when:- Deploying from GitHub repositories: When you create a product or installation using a GitHub repository source.
- Using Docker images: When you deploy a Docker image without a custom Helm chart.
- Standalone installations: When you deploy a Docker image or GitHub repository directly to a cluster as a , without packaging it as a product first.
- Container image and tag
- Resource limits and requests
- Environment variables
- Exposed ports
- Health checks
- Scaling configuration
Chart features
Container configuration
- Deploy any Docker container image with configurable pull policies
- Multiple ports and protocols (HTTP, HTTPS, TCP, gRPC, UDP)
- Override the container’s command (entrypoint) and args
- Environment variables with plain values or Kubernetes
secretKeyRef - Private registry support via Akua’s registry proxy
Gateway API integration
- HTTPRoute creation for external access with custom domains
- Support for multiple hostnames
- Path-based routing rules with header and query parameter matching
- Traffic splitting via additional backend refs and weights
- Request header modification filters
- Gateway parentRefs for routing through specific gateways (Cilium, Cloudflare, and others)
Health checks
- Liveness and readiness probes (disabled by default)
- HTTP, TCP, and exec probe types
- Configurable delays, intervals, timeouts, and failure thresholds
Scaling and resources
- Horizontal Pod Autoscaler (HPA) with CPU and memory utilization targets
- Configurable CPU and memory requests and limits
- Configurable replica count and min/max replicas
Advanced
- Init containers and sidecar containers
- Volume mounts and persistent storage
- Pod and container security contexts (runs as non-root by default)
- Node selectors, tolerations, and affinity rules
- Pod annotations and labels
- ServiceAccount creation and configuration
How it works
When you deploy from a GitHub repository:- Code is built: Your repository code is built into a Docker image using Railpack (via GitHub Actions workflows).
- Chart is selected: Akua uses the generic
appchart fromhttps://charts.akua.devas the upstream source. - Inputs are generated: Akua generates inputs from your deployment configuration (ports, env vars, resources, scaling, command/args, HTTPRoute hostnames).
- Package is provisioned: Akua creates a private installation repository, vendors the chart, writes your inputs, and commits the rendered manifests.
- Application runs: Your cluster syncs from the rendered manifests and runs your application.
Using the chart directly
The chart is published as a Helm repository:Customization
While Akua automatically configures the chart, you can customize the deployment through the Settings tab on any installed app (or during app creation):- Ports: Configure container ports and expose them externally with hostnames.
- Environment variables: Add plain-text or secret configuration values.
- Scaling: Set replica count or enable HPA with CPU/memory targets.
- Resources: Set CPU and memory requests and limits.
- Command and args: Override the container’s entrypoint and arguments.
inputs.yaml and applied on the next render.
Example inputs
Here’s an example of the inputs Akua generates for a typical Node.js application with an exposed port:Source code
The chart source code is available in the cnap-tech/charts repository. You can:- Review the chart structure and templates
- Understand how it works
- Contribute improvements
- Use it as a reference for creating custom charts
Related topics
External access
Expose apps with custom domains via Gateway API.
GitHub Actions workflows
Build workflows that create images for this chart.
App sources
How GitHub repositories work as sources.
Installation repositories
How Akua packages and renders your application.