Compatible Kubernetes Versions
1.33.x, 1.34.x, 1.35.xPrerequisites
Running on Podman, containerd, or another container runtime? See Container Runtimes.
Tyk Stack (New Helm Chart)
There are two ways to install the portal on Kubernetes:- As part of Tyk Self-Managed - Enable
global.components.devPortalduring Tyk Self-Managed deployment using the tyk-stack chart - Standalone installation - Use the tyk-dev-portal Helm chart (described below)
Instructions
-
Create the
tyk-dev-portal-confsecret Make sure thetyk-dev-portal-confsecret exists in your namespace. This secret will automatically be generated if Tyk Dashboard instance was bootstrapped with tyk-boostrap component chart andbootstrap.devPortalwas set totruein thevalues.yaml. If the secret does not exist, you can create it by running the following command.The fieldsTYK_ORGandTYK_AUTHare the Tyk Dashboard Organization ID and the Tyk Dashboard API Access Credentials respectively. These can be obtained under your profile in the Tyk Dashboard. -
Config settings
You must set the following values in the
values.yamlor with--set {field-name}={field-value}using the helm upgrade command:In addition tovalues.yaml, you can also define the environment variables described in the configuration section to further customize your portal deployment. These environment variables can also be listed as a name value list under theextraEnvssection of the helm chart. -
Launch the portal using the helm chart
Run the following command to update your infrastructure and install the developer portal:
- Bootstrapping the Developer Portal Follow the bootstrapping section of the documentation to bootstrap the portal via the UI or the admin API.
Configuration
For the full list of configurable values, refer to the tyk-stack chart guide. The sections below cover common production configuration scenarios.Note: Helm chart supports Developer Portal v1.2.0+.
Pod Security Context
The chart ships with hardened defaults for the Portal pod that satisfy the Kubernetes Restricted Pod Security Standard:values.yaml to match your cluster’s PSS policy.
Bootstrap Job
The bootstrap job runs once afterhelm install. It waits for the Portal pod to become ready, then calls POST /portal-api/bootstrap to create the bootstrap admin (API Owner) user. The Portal blocks its startup sequence until this call succeeds.
Verify bootstrap completed:
API call completed.
To disable automatic bootstrap and bootstrap manually (required on clusters with strict Pod Security Standards):
- Set
global.components.bootstrap: falsein yourvalues.yamland deploy. - Wait for the Portal pod to be ready, then send the bootstrap request:
Storage
Thestorage.type setting controls where the portal stores assets (themes, images, OpenAPI specs). Session storage is always backed by the Portal database, regardless of this setting.
For
fs storage, configure a PVC using storage.persistence:
storage.type: fs with multiple replicas requires a storage class that supports ReadWriteMany. Use db or s3 to avoid this constraint.Scaling and Replicas
The defaultkind: StatefulSet is suited for single-pod deployments. To run multiple replicas, switch to Deployment:
Troubleshooting
For bootstrap job failures, crash-loops, database connectivity issues, and license key errors, see Kubernetes Bootstrap Failures.Legacy Helm Chart
This section provides a clear and concise, step-by-step recipe for installing the Tyk Developer Portal using legacy helm chart.Instructions
-
Create the
tyk-enterprise-portal-confsecret Make sure thetyk-enterprise-portal-confsecret exists in your namespace. This secret will automatically be generated during the Tyk Dashboard bootstrap if thedash.enterprisePortalSecretvalue is set totruein thevalues.yaml. If the secret does not exist, you can create it by running the following command.WhereTYK_ORGandTYK_AUTHare the Tyk Dashboard Organization ID and the Tyk Dashboard API Access Credentials respectively. Which can be obtained under your profile in the Tyk Dashboard. -
Config settings
You must set the following values in the
values.yamlor with--set {field-name}={field-value}with the helm upgrade command:In addition to values.yaml, you can also define the environment variables described in the configuration section to further customize your portal deployment. These environment variables can also be listed as a name value list under theextraEnvssection of the helm chart. -
Launch the portal using the helm chart
Run the following command to update your infrastructure and install the developer portal:
In case this is the first time you are launching the portal, it will be necessary to bootstrap it before you can use it. For detailed instructions, please refer to the bootstrapping documentation.
Note: Helm chart supports Developer Portal v1.2.0+.