This example folder contains a series of Jupyter Notebooks that guide you through setting up Feast on a Kubernetes cluster.
In this demo, Feast connects to a PostgreSQL database running in TLS mode, ensuring secure communication between services. Additionally, the example demonstrates how feast application references TLS certificates using Kubernetes volumes and volume mounts. While the focus is on mounting TLS certificates, you can also mount any other resources supported by Kubernetes volumes.
- A running Kubernetes cluster with sufficient resources.
- Helm installed and configured.
- The Feast Operator for managing Feast deployments.
- Jupyter Notebook or JupyterLab to run the provided notebooks.
- Basic familiarity with Kubernetes, Helm, and TLS concepts.
The following Jupyter Notebooks will walk you through the entire process:
-
01-Install-postgres-tls-using-helm.ipynb
Installs PostgreSQL in TLS mode using a Helm chart. -
02-Install-feast.ipynb
Deploys Feast using the Feast Operator. -
03-Uninstall.ipynb
Uninstalls Feast, the Feast Operator, and the PostgreSQL deployments set up in this demo.
-
Clone the Repository
https://github.com/feast-dev/feast.git cd examples/operator-postgres-tls-demo
-
Start Jupyter Notebook or JupyterLab from the repository root:
jupyter notebook
- Execute the Notebooks Run the notebooks in the order listed above. Each notebook contains step-by-step instructions and code to deploy, test, and eventually clean up the demo components.
-
Cluster Resources: Verify that your Kubernetes cluster has adequate resources before starting the demo.
-
Logs & Diagnostics: If you encounter issues, check the logs for the PostgreSQL and Feast pods. This can help identify problems related to TLS configurations or resource constraints.