---
description: >-
Phoenix can be deployed on Kubernetes with PostgreSQL using kustomize.
---
# Kubernetes
## Prerequisites
You must have a working Kubernetes cluster accessible via `kubectl`.
## PostgreSQL with Kustomize
The kustomize deployment uses PostgreSQL as the database backend. This is the recommended approach for production deployments.
Clone the Arize-Phoenix repository:
```sh
git clone https://github.com/Arize-ai/phoenix.git
```
From the repository root, apply the kustomize configuration:
```sh
kubectl apply -k kustomize/base
```
This will deploy:
- Phoenix application configured to use PostgreSQL
- PostgreSQL database with persistent storage
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Arize-ai/phoenix'
If you have feedback or need assistance with the MCP directory API, please join our Discord server