|
| 1 | +--- |
| 2 | +Title: Deploy |
| 3 | +alwaysopen: false |
| 4 | +categories: |
| 5 | +- docs |
| 6 | +- operate |
| 7 | +- featureform |
| 8 | +description: Deploy and operate Feature Form on Kubernetes. |
| 9 | +linkTitle: Deploy |
| 10 | +weight: 60 |
| 11 | +bannerText: Feature Form is currently in preview and subject to change. To request access to the Feature Form Docker image, contact your Redis account team. |
| 12 | +bannerChildren: true |
| 13 | +--- |
| 14 | + |
| 15 | +Use this guide to install Feature Form with the Helm chart and verify that the core services are healthy. |
| 16 | + |
| 17 | +## Install |
| 18 | + |
| 19 | +The default documented path is OIDC-enabled auth plus durable PostgreSQL-backed state. |
| 20 | + |
| 21 | +### Prerequisites |
| 22 | + |
| 23 | +- Kubernetes 1.27+ |
| 24 | +- Helm 3.14+ |
| 25 | +- an OIDC issuer URL and client ID |
| 26 | +- a PostgreSQL connection path or existing secret |
| 27 | + |
| 28 | +### 1. Choose auth and state values |
| 29 | + |
| 30 | +Pick one PostgreSQL-backed state path before installation: |
| 31 | + |
| 32 | +- `postgres.url` |
| 33 | +- `postgres.secretName` |
| 34 | +- `addons.statePostgres.enabled=true` |
| 35 | + |
| 36 | +External PostgreSQL is the documented durable default. |
| 37 | + |
| 38 | +### 2. Pick the base chart or a profile |
| 39 | + |
| 40 | +- Base chart for environments where provider infrastructure already exists |
| 41 | +- `profiles/memory.yaml` for local or test-only installs |
| 42 | +- `profiles/provider-stack.yaml` for bundled providers |
| 43 | +- `profiles/observability-postgres.yaml` for observability |
| 44 | +- `profiles/provider-observability.yaml` for both |
| 45 | + |
| 46 | +### 3. Install with Helm |
| 47 | + |
| 48 | +```bash |
| 49 | +helm upgrade --install featureform charts/featureform \ |
| 50 | + --set postgres.url=postgres://featureform:featureform@my-postgres:5432/featureform?sslmode=disable \ |
| 51 | + --set auth.oidcIssuerURL=https://idp.example.com/realms/featureform \ |
| 52 | + --set auth.oidcClientID=featureform-api \ |
| 53 | + --set rest.ingress.enabled=true \ |
| 54 | + --set rest.ingress.className=nginx \ |
| 55 | + --set rest.ingress.hosts[0].host=api.example.com \ |
| 56 | + --set rest.ingress.hosts[0].paths[0].path=/ \ |
| 57 | + --set rest.ingress.hosts[0].paths[0].pathType=Prefix |
| 58 | +``` |
| 59 | + |
| 60 | +### 4. Validate pods and services |
| 61 | + |
| 62 | +```bash |
| 63 | +kubectl get pods -n <namespace> |
| 64 | +kubectl get svc -n <namespace> |
| 65 | +kubectl describe deployment featureform-featureform-server -n <namespace> |
| 66 | +``` |
| 67 | + |
| 68 | +Look for a healthy shared API deployment, both REST and gRPC services, and completed migrations when PostgreSQL state is enabled. |
| 69 | + |
| 70 | +### 5. Record the endpoints |
| 71 | + |
| 72 | +Capture the URLs or hosts your teams will need: |
| 73 | + |
| 74 | +- REST API endpoint |
| 75 | +- gRPC endpoint |
| 76 | +- dashboard URL if enabled |
| 77 | +- Grafana URL if enabled |
| 78 | + |
| 79 | +### High-risk confusion points |
| 80 | + |
| 81 | +- One shared server deployment exposes both REST and gRPC; they are not separate deployments. |
| 82 | +- `auth.enabled=false` is not supported. |
| 83 | +- `stateBackend=memory` is not durable. |
| 84 | +- The dashboard needs more than `dashboard.enabled=true`; it also needs correct auth and API URL settings. |
| 85 | + |
| 86 | +## Configure external access |
| 87 | + |
| 88 | +Use this section after installation to publish the right Feature Form endpoints for users, automation, and optional UI access. |
| 89 | + |
| 90 | +### REST ingress example |
| 91 | + |
| 92 | +```bash |
| 93 | +helm upgrade --install featureform charts/featureform \ |
| 94 | + --set postgres.url=postgres://featureform:featureform@my-postgres:5432/featureform?sslmode=disable \ |
| 95 | + --set auth.oidcIssuerURL=https://idp.example.com/realms/featureform \ |
| 96 | + --set auth.oidcClientID=featureform-api \ |
| 97 | + --set rest.ingress.enabled=true \ |
| 98 | + --set rest.ingress.className=nginx \ |
| 99 | + --set rest.ingress.hosts[0].host=api.example.com \ |
| 100 | + --set rest.ingress.hosts[0].paths[0].path=/ \ |
| 101 | + --set rest.ingress.hosts[0].paths[0].pathType=Prefix |
| 102 | +``` |
| 103 | + |
| 104 | +### gRPC exposure guidance |
| 105 | + |
| 106 | +Use `grpc.ingress.*` only with an ingress controller that supports gRPC backends. If ingress is not a fit, use `grpc.service.type=LoadBalancer`. |
| 107 | + |
| 108 | +### Dashboard requirements |
| 109 | + |
| 110 | +A working dashboard path needs all of the following: |
| 111 | + |
| 112 | +- `dashboard.enabled=true` |
| 113 | +- a resolvable public API URL |
| 114 | +- dashboard auth secrets |
| 115 | +- a resolvable auth URL |
| 116 | + |
| 117 | +### Unified ingress |
| 118 | + |
| 119 | +Unified ingress publishes one host with chart-managed paths for API, dashboard, and optionally Grafana. Do not combine it with service-specific ingress settings. |
| 120 | + |
| 121 | +### Direct load balancers |
| 122 | + |
| 123 | +If your platform prefers direct external services, expose: |
| 124 | + |
| 125 | +- `rest.service.type=LoadBalancer` |
| 126 | +- `grpc.service.type=LoadBalancer` |
| 127 | +- `dashboard.service.type=LoadBalancer` |
| 128 | + |
| 129 | +### Common validation failures |
| 130 | + |
| 131 | +- missing ingress hosts |
| 132 | +- unified ingress mixed with service-specific ingresses |
| 133 | +- dashboard enabled without API URL or auth secrets |
| 134 | +- Grafana ingress configured without the observability stack enabled |
0 commit comments