Phase 1: Preparation
Obtain replicated credentials
- Contact Qodo to receive your Replicated registry credentials
- Verify access to both registries:
artifacts-self-hosted.qodo.aiartif-reg-self-hosted.codium.ai
Prepare infrastructure
- Deploy and configure Kubernetes cluster
- Set up
kubectlaccess with admin permissions - Install
helmcli. - (For Context Engine) Deploy
PostgreSQL v17+with required databases andpgvector
Configure external dependencies
For all products:
- Set up AI model access (API keys for
OpenAI,Anthropic,Vertex AI, orAWS Bedrock) - Configure Git provider webhooks and authentication.
- Create PostgreSQL databases for indexer and metadata service
- Configure network access from K8s cluster to database
- Set up vector database (pgvector)
Phase 2: Deployment
General Helm deployment pattern: All Qodo products follow a similar deployment workflow:- Create
.secrets.tomlfile with AI model keys - (Optional) Enable Agentic Mode with additional database configuration
- (Optional) Enable CronJobs and Jobs for Agentic Mode database partitioning
- Create
.secrets.tomlwith Git provider configuration - Configure webhooks in your Git provider
- Deploy with analytics sidecar
- Metadata Service
- Indexer Service (with reindex CronJob)
- Context Retriever Service
- Configure shared secrets for all services
Phase 3: Configuration
Secrets management
All products use TOML files for secret configuration, mounted as Kubernetes secrets:Example structure:
Git provider integration
For GitHub:
- Create GitHub App with appropriate permissions
- Generate private key
- Install app on organization/repositories
- Configure webhook URL to point to your ingress
- Configure webhook secrets
- Set up bearer tokens or OAuth
- Configure API base URL for self-hosted instances