Prerequisites
- Kubernetes 1.16+
- kubectl configured with access to your cluster
- A
TYK_AI_LICENSE
string from Tyk Technologies (contact support@tyk.io or your account manager to obtain) - A securely generated
TYK_AI_SECRET_KEY
string for secrets encryption - If using SSL/TLS: cert-manager installed in your cluster
your-domain.com
, your-secret-key
). Remember to replace these with your actual configuration values.
Installation Options
Tyk AI Studio can be deployed in several configurations:- Local Development
- Production without TLS
- Production with TLS
- Production with External Database
Option 1: Local Development Setup
- Create a
local-deployment.yaml
file:
- Deploy the application:
- Access the application:
- Web Interface: http://localhost:32580
- Gateway: http://localhost:32590
Option 2: Production without TLS
For a production deployment without TLS certificates:- Create
production-no-tls.yaml
:
- Deploy:
Option 3: Production with TLS
For a secure production deployment with TLS:- Create
production-tls.yaml
:
- Deploy:
Optional Components
Reranker Service
The Reranker service improves RAG result relevance. Add it to your deployment:Transformer Server
The Transformer Server handles embedding generation and model inference. Add it to your deployment:Database Options
Using Internal PostgreSQL
For development or small deployments, you can deploy PostgreSQL within your cluster:Using External Database
For production environments, configure your external database connection in the Secret:Maintenance
Upgrading
To upgrade an existing installation:Uninstalling
To remove the deployment:Viewing Logs
Troubleshooting
- Check pod status:
- Check ingress configuration:
- View pod details:
- Common issues:
- Database connection failures: Check credentials and network access
- Ingress not working: Verify DNS records and TLS configuration
- Resource constraints: Check pod resource limits and node capacity