Self-hosted PostgreSQL
Last updated
Was this helpful?
Last updated
Was this helpful?
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 for managing PostgreSQL installation and maintenance. Refer to their for details about the supported PostgreSQL releases.
Install .
Install .
Install .
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 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 namespace seldon-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.
You may now explore the feature in Seldon Enterprise Platform.