App Store template
Authentik icon

Authentik

Authentik is an open-source identity provider focused on flexibility and versatility.

Launch in your Sealos workspace.

Authentik template preview
Template previewFull screenshot
Template deployments
26 on Sealos
Deployment
Your own instance
Category
Tools

About this template

Overview

Authentik is an open-source identity provider and access management platform. This template deploys Authentik with a dedicated worker and managed PostgreSQL backend on Sealos Cloud.

From the documentation

Authentik provides centralized authentication, single sign-on (SSO), policy-based access control, and identity lifecycle management. It supports modern protocols such as OIDC and SAML, making it suitable for self-hosted applications and internal platforms.

How to deploy Authentik

  1. Choose Deploy now to start Authentik in your Sealos workspace.
  2. Review enable_external_files in the deployment form.
  3. Launch the template, then inspect the application status and resource cards in Canvas.

Resources to plan for

Start with the resources defined by the Authentik template. Review CPU, memory, persistent storage, and network allocations for every service in Canvas. Capacity needs depend on your data and workload; monitor usage as they grow.

Template configuration and setup

Access after deployment

Use the application URL or connection details shown in Canvas. Follow the deployment guide for first-time account setup or client configuration, and keep generated credentials available for that step.

Hosting and billing

Sealos monthly plans include compute, memory, storage, and traffic. Size your plan for all deployed services. Software licenses and external AI or API services may have separate terms and charges. Confirm the applicable plan and optional charges in Cost Center.

Compare Sealos resource plans
Read full documentationCollapse documentation

For current cloud charges, refer to Sealos plan pricing. Upstream documentation may reference earlier billing models.

Deploy and Host Authentik on Sealos

Authentik is an open-source identity provider and access management platform. This template deploys Authentik with a dedicated worker and managed PostgreSQL backend on Sealos Cloud.

Authentik Logo

About Hosting Authentik

Authentik provides centralized authentication, single sign-on (SSO), policy-based access control, and identity lifecycle management. It supports modern protocols such as OIDC and SAML, making it suitable for self-hosted applications and internal platforms.

This Sealos template deploys Authentik as a multi-service stack: a primary server for web/API traffic, a background worker for asynchronous tasks, and a PostgreSQL cluster for persistent data. It also provisions HTTPS ingress and persistent volumes for runtime data.

After deployment, you get a public URL with TLS and can complete the initial setup wizard in the browser. Ongoing operations can be managed through Canvas with AI dialog updates or resource-card edits.

Common Use Cases

  • Single Sign-On for Internal Tools: Centralize login across internal dashboards and services.
  • OIDC/SAML Gateway for Self-Hosted Apps: Add standards-based authentication to apps that support federated login.
  • MFA and Passwordless Access: Enforce stronger sign-in policies with multi-factor and modern auth methods.
  • Team and Role-Based Access Control: Map users and groups to permissions for SaaS and platform workloads.
  • Identity Front Door for Kubernetes Apps: Protect app endpoints with unified authentication and policy controls.

Dependencies for Authentik Hosting

The Sealos template includes all required dependencies: Authentik server, Authentik worker, PostgreSQL database, ingress, and persistent storage.

Deployment Dependencies

Implementation Details

Architecture Components

This template deploys the following resources:

  • Authentik Server (StatefulSet): Runs ghcr.io/goauthentik/server:2025.12.3 with server mode, serves web UI/API on port 9000, and exposes 9443 internally.
  • Authentik Worker (StatefulSet): Runs the same image in worker mode to process background and scheduled jobs.
  • PostgreSQL Cluster (KubeBlocks): Provisions PostgreSQL 16.4.0 with persistent storage and secret-based credentials.
  • PostgreSQL Init Job: Waits for database readiness, then creates the authentik database if it does not exist.
  • Optional Sealos Object Storage: Creates a private S3-compatible bucket and wires Authentik media storage when enable_external_files is enabled. The default keeps the local /data and /templates volumes.
  • Service + Ingress: Exposes Authentik through HTTPS with automatic TLS certificate integration on Sealos.
  • App Resource: Publishes the access URL into the Sealos app card for quick entry from Canvas.
Default Resources and Storage
ComponentCPU RequestCPU LimitMemory RequestMemory LimitStorage
Authentik Server20m200m51Mi512Mi/data 1Gi, /templates 1Gi
Authentik Worker20m200m51Mi512Mi/data 1Gi, /certs 1Gi, /templates 1Gi
PostgreSQL50m500m51Mi512Midata 1Gi
Configuration

At deploy time, the template uses these primary parameters:

  • app_host: Public hostname prefix used by Ingress.
  • app_name: Resource naming prefix for this deployment.
  • authentik_secret_key: Runtime secret key (auto-generated by default).
  • enable_external_files: Enable a Sealos S3-compatible bucket for Authentik media and uploaded files. The default is false.

Database host, port, username, and password are injected from generated Kubernetes secrets. The Authentik server and worker both use the same PostgreSQL backend and secret key for consistent runtime behavior.

License Information

Authentik is open source with upstream licensing terms maintained by the project. Refer to the Authentik LICENSE for current details.

Why Deploy Authentik on Sealos?

Sealos is an AI-assisted Cloud Operating System built on Kubernetes that simplifies application delivery from deployment to operations. By deploying Authentik on Sealos, you get:

  • One-Click Deployment: Launch a multi-service identity stack without manual Kubernetes manifests.
  • Managed Database Provisioning: PostgreSQL is created, wired, and initialized automatically.
  • Easy Customization: Adjust environment variables, storage, and compute resources from Canvas dialogs.
  • Secure Public Access: Automatic HTTPS ingress with managed certificate integration.
  • Persistent Storage Included: Durable volumes keep identity and configuration data across restarts.
  • Pay-as-You-Go Efficiency: Scale resources based on workload without long-term overprovisioning.
  • AI-Assisted Operations: Use AI dialog updates for post-deployment adjustments.

Deploy Authentik on Sealos and focus on identity architecture instead of infrastructure plumbing.

Deployment Guide

  1. Open the Authentik template and click Deploy Now.
  2. Configure deployment parameters:
    • App Host: Public domain prefix.
    • App Name: Deployment resource prefix.
    • Authentik Secret Key: Keep default generated value or provide your own strong secret.
    • enable_external_files: Set to true to create the optional private Sealos S3-compatible bucket for media and uploaded files.
  3. Wait for deployment to complete (typically 2-3 minutes). After deployment, you will be redirected to Canvas. For later changes, describe your requirements in the dialog to let AI apply updates, or click relevant resource cards to modify settings.
  4. Open the generated URL, follow /if/flow/initial-setup/, and create your first administrator account.
  5. Sign in later through the default Authentik login flow at /if/flow/default-authentication-flow/ and open the Admin interface to manage providers and applications.

Configuration

After deployment, you can configure Authentik through:

  • AI Dialog: Request changes in plain language and let AI apply updates.
  • Resource Cards: Adjust StatefulSet resources, environment variables, and storage from Canvas.
  • Authentik Admin UI: Manage providers, applications, flows, policies, groups, and branding.

Typical post-deploy setup tasks include:

  1. Create your first admin account in the initial setup wizard.
  2. Sign in through the default authentication flow and open the Admin interface.
  3. Configure external identity sources (if needed).
  4. Add OIDC/SAML providers and map applications.
  5. Enable MFA policies for privileged users.

Scaling

To scale runtime capacity:

  1. Open the deployment in Canvas.
  2. Select the server or worker StatefulSet resource card.
  3. Increase CPU and memory resources as needed.
  4. Apply and verify readiness probes return healthy.

For most installations, vertical scaling is the first step. If you need horizontal scale, adjust architecture settings based on your workload and upstream Authentik guidance.

Troubleshooting

Common Issues

Issue: Initial setup page is unavailable

  • Cause: Server container is still starting or dependencies are not ready.
  • Solution: Wait until the Authentik server probe status is healthy, then refresh the public URL.

Issue: Database connection errors on startup

  • Cause: PostgreSQL is not ready or the init job has not completed.
  • Solution: Check PostgreSQL cluster status and verify the init job completed successfully before restarting Authentik pods.

Issue: Worker reports healthcheck failures

  • Cause: Secret mismatch or temporary backend connectivity issues.
  • Solution: Confirm server and worker share the same AUTHENTIK_SECRET_KEY and PostgreSQL credentials, then restart the worker pod.

Issue: Cannot reach Authentik over HTTPS

  • Cause: Ingress or certificate provisioning still in progress.
  • Solution: Verify ingress host configuration and wait for TLS certificate readiness in Sealos.
Getting Help

Additional Resources

License

This Sealos template follows repository licensing terms. Authentik itself follows upstream licensing; refer to the official repository for current license details.

From launch to everyday operations

Why deploy
on Sealos

A shorter path from an app you want to an app you can run. Sealos brings deployment and ongoing operations into one place.

  1. One-click deployment

    Start with a ready-made template. Review its configuration and launch from the Sealos console.

  2. Managed Kubernetes

    Run on managed infrastructure with built-in workload scheduling and recovery.

  3. Automatic HTTPS

    Give your application a public HTTPS endpoint with certificates managed for you.

  4. Persistent storage

    Keep application data on persistent volumes across container restarts.

  5. Room to grow

    Adjust CPU, memory, and replicas from the console as your workload changes.

One template. Connected resources.

You Get the Whole Stack

Sealos provisions the resources defined by your template and brings them together in your workspace.

  • App Service

    Container workloads with configurable CPU, memory, and replicas.

  • Public HTTPS URL

    An address for your app, with managed TLS certificates.

  • Database

    A database provisioned alongside your app when the template calls for one.

  • Persistent Volume

    Storage for the files and data your application needs to keep.

  • Environment Variables

    Application settings and secrets configured in one place.

  • Logs & Metrics

    Inspect container logs and resource usage from the console.

Resources and their configuration vary by template. Review the deployment form for this app’s exact setup.

Explore more production-ready templates.

More