Self-hosted PostgreSQL
Installing PostgreSQL in the same Kubernetes cluster that hosts the Seldon Enterprise Platform.You can run PostgreSQL in the same Kubernetes cluster that hosts the Seldon Enterprise Platform. We recommend using the Zalando PostgreSQL operator for managing PostgreSQL installation and maintenance. Refer to their installation matrix for details about the supported PostgreSQL releases.
Install Seldon Enterprise Platform.
Install Ingress Controller.
Install Git.
Installing PostgreSQL in a Kubernetes cluster
Clone the Zalando operator repository in your computer.
Change to the
postgres-operator
directory.Create a namespace where you want to install PostgreSQL. For example the name space
postgres
:Install PostgreSQL using the Helm charts.
After a successful installation, you should see::
To install a minimal PostgreSQL setup in the Kubernetes cluster, execute the following:
If you would like to install a more complex setup with additional users, databases, replicas, and others see the official documentation of Zalando operator.
Verify if the
postgres-operator
Pod is running.Create the required secret using the auto-generated password:
After a successful configuration, you should see:
secret/metadata-postgres configured
View the password that you created to access PostgreSQL database:
After the PostgreSQL database and secrets with credentials are ready, add the following to your
install-values.yaml
file.Change to the directory that contains the
install-values.yaml
file and then upgrade the Seldon Enterprise Platform installation in the namespaceseldon-system
.Check the status of the installation
seldon-enterprise-seldon-deploy.
When the installation is complete you should see this:
Access Seldon Enterprise Platform.
Get the Pod that is running Seldon Enterprise Platform in the cluster and save it as
$POD_NAME.
You can use port-forwarding to access your application locally.
Open your browser and navigate to
http://127.0.0.1:8000/seldon-deploy/
to access Seldon Enterprise Platform.
Next
You may now explore the Model Catalog feature in Seldon Enterprise Platform.
Last updated