Skip to content

Commit 1498b3d

Browse files
committed
Production ready feast operator with v1 apiversion
Signed-off-by: jyejare <jyejare@redhat.com>
1 parent 3733354 commit 1498b3d

File tree

82 files changed

+1344
-1191
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+1344
-1191
lines changed

docs/how-to-guides/running-feast-in-production.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ kubectl apply -f https://raw.githubusercontent.com/feast-dev/feast/refs/tags/<ve
227227
3. Deploy a Feature Store
228228

229229
```sh
230-
kubectl apply -f https://raw.githubusercontent.com/feast-dev/feast/refs/heads/stable/infra/feast-operator/config/samples/v1alpha1_featurestore.yaml
230+
kubectl apply -f https://raw.githubusercontent.com/feast-dev/feast/refs/heads/stable/infra/feast-operator/config/samples/v1_featurestore.yaml
231231
```
232232
Verify the status
233233
```
@@ -238,7 +238,7 @@ sample Ready 2m21s
238238

239239
The above will install a simple [FeatureStore CR](../../infra/feast-operator/docs/api/markdown/ref.md) like the following. By default, it will run the [Online Store feature server](../reference/feature-servers/python-feature-server.md) -
240240
```yaml
241-
apiVersion: feast.dev/v1alpha1
241+
apiVersion: feast.dev/v1
242242
kind: FeatureStore
243243
metadata:
244244
name: sample

docs/reference/feature-servers/offline-feature-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ See [this](../../how-to-guides/running-feast-in-production.md#id-4.2.-deploy-fea
1717

1818
The Offline feature server can be deployed with a slight modification of the FeatureStore CR -
1919
```yaml
20-
apiVersion: feast.dev/v1alpha1
20+
apiVersion: feast.dev/v1
2121
kind: FeatureStore
2222
metadata:
2323
name: sample-offline-server

examples/operator-postgres-tls-demo/02-Install-feast.ipynb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@
8888
"\n",
8989
"When connecting to PostgreSQL with TLS, some important parameters in the connection URL are: \n",
9090
"\n",
91-
"- **`sslrootcert`** Specifies the path to the **CA certificate** file used to validate trusted certificates. \n",
92-
"- **`sslcert`** Provides the client certificate for **mutual TLS (mTLS) encryption**. \n",
93-
"- **`sslkey`** Specifies the private key for the client certificate. \n",
91+
"- **`sslrootcert`** \u2013 Specifies the path to the **CA certificate** file used to validate trusted certificates. \n",
92+
"- **`sslcert`** \u2013 Provides the client certificate for **mutual TLS (mTLS) encryption**. \n",
93+
"- **`sslkey`** \u2013 Specifies the private key for the client certificate. \n",
9494
"\n",
9595
"If mutual TLS authentication is not required, you can **omit** the `sslcert` and `sslkey` parameters. However, the `sslrootcert` parameter is still necessary for validating server certificates. \n"
9696
]
@@ -110,7 +110,7 @@
110110
"\n",
111111
"In this approach, we specify the CA certificate path directly in the Feast PostgreSQL URL using the `sslrootcert` parameter. \n",
112112
"\n",
113-
"You can refer to the `v1alpha1_featurestore_postgres_db_volumes_tls.yaml` file for the complete configuration details. "
113+
"You can refer to the `v1_featurestore_postgres_db_volumes_tls.yaml` file for the complete configuration details. "
114114
]
115115
},
116116
{
@@ -131,7 +131,7 @@
131131
}
132132
],
133133
"source": [
134-
"!kubectl apply -f ../../infra/feast-operator/config/samples/v1alpha1_featurestore_postgres_db_volumes_tls.yaml --namespace=feast"
134+
"!kubectl apply -f ../../infra/feast-operator/config/samples/v1_featurestore_postgres_db_volumes_tls.yaml --namespace=feast"
135135
]
136136
},
137137
{
@@ -140,7 +140,7 @@
140140
"source": [
141141
"**Option 2: Using an Environment Variable for the CA Certificate** \n",
142142
"\n",
143-
"In this approach, you define the CA certificate path as an environment variable. You can refer to the `v1alpha1_featurestore_postgres_tls_volumes_ca_env.yaml` file for the complete configuration details. \n",
143+
"In this approach, you define the CA certificate path as an environment variable. You can refer to the `v1_featurestore_postgres_tls_volumes_ca_env.yaml` file for the complete configuration details. \n",
144144
"\n",
145145
"```bash\n",
146146
"FEAST_CA_CERT_FILE_PATH=<path-to-ca-cert>\n"
@@ -162,7 +162,7 @@
162162
}
163163
],
164164
"source": [
165-
"!kubectl apply -f ../../infra/feast-operator/config/samples/v1alpha1_featurestore_postgres_tls_volumes_ca_env.yaml --namespace=feast"
165+
"!kubectl apply -f ../../infra/feast-operator/config/samples/v1_featurestore_postgres_tls_volumes_ca_env.yaml --namespace=feast"
166166
]
167167
},
168168
{
@@ -455,4 +455,4 @@
455455
},
456456
"nbformat": 4,
457457
"nbformat_minor": 4
458-
}
458+
}

examples/operator-postgres-tls-demo/03-Uninstall.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@
1919
"secret \"postgres-secret\" deleted\n",
2020
"secret \"feast-data-stores\" deleted\n",
2121
"featurestore.feast.dev \"sample-db-ssl\" deleted\n",
22-
"Error from server (NotFound): error when deleting \"../../infra/feast-operator/config/samples/v1alpha1_featurestore_postgres_tls_volumes_ca_env.yaml\": secrets \"postgres-secret\" not found\n",
23-
"Error from server (NotFound): error when deleting \"../../infra/feast-operator/config/samples/v1alpha1_featurestore_postgres_tls_volumes_ca_env.yaml\": secrets \"feast-data-stores\" not found\n",
24-
"Error from server (NotFound): error when deleting \"../../infra/feast-operator/config/samples/v1alpha1_featurestore_postgres_tls_volumes_ca_env.yaml\": featurestores.feast.dev \"sample-db-ssl\" not found\n"
22+
"Error from server (NotFound): error when deleting \"../../infra/feast-operator/config/samples/v1_featurestore_postgres_tls_volumes_ca_env.yaml\": secrets \"postgres-secret\" not found\n",
23+
"Error from server (NotFound): error when deleting \"../../infra/feast-operator/config/samples/v1_featurestore_postgres_tls_volumes_ca_env.yaml\": secrets \"feast-data-stores\" not found\n",
24+
"Error from server (NotFound): error when deleting \"../../infra/feast-operator/config/samples/v1_featurestore_postgres_tls_volumes_ca_env.yaml\": featurestores.feast.dev \"sample-db-ssl\" not found\n"
2525
]
2626
}
2727
],
2828
"source": [
2929
"# If you have choosen the option 1 example earlier.\n",
30-
"!kubectl delete -f ../../infra/feast-operator/config/samples/v1alpha1_featurestore_postgres_db_volumes_tls.yaml\n",
30+
"!kubectl delete -f ../../infra/feast-operator/config/samples/v1_featurestore_postgres_db_volumes_tls.yaml\n",
3131
"\n",
3232
"# If you have choosen the option 2 example earlier.\n",
33-
"!kubectl delete -f ../../infra/feast-operator/config/samples/v1alpha1_featurestore_postgres_tls_volumes_ca_env.yaml\n",
33+
"!kubectl delete -f ../../infra/feast-operator/config/samples/v1_featurestore_postgres_tls_volumes_ca_env.yaml\n",
3434
"\n",
3535
"#!kubectl delete -f ../../infra/feast-operator/dist/install.yaml"
3636
]
@@ -131,4 +131,4 @@
131131
},
132132
"nbformat": 4,
133133
"nbformat_minor": 4
134-
}
134+
}

examples/operator-quickstart/feast.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ stringData:
1313
echo: false
1414
pool_pre_ping: true
1515
---
16-
apiVersion: feast.dev/v1alpha1
16+
apiVersion: feast.dev/v1
1717
kind: FeatureStore
1818
metadata:
1919
name: example

examples/operator-rbac-openshift-tls/1-setup-operator-rbac.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
"metadata": {},
161161
"source": [
162162
"## Install the Feast services via FeatureStore CR\n",
163-
"Next, we'll use the running Feast Operator to install the feast services with Server components online, offline, registry with kubernetes Authorization set. Apply the included [reference deployment](../../infra/feast-operator/config/samples/v1alpha1_featurestore_kubernetes_auth.yaml) to install and configure Feast with kubernetes Authorization ."
163+
"Next, we'll use the running Feast Operator to install the feast services with Server components online, offline, registry with kubernetes Authorization set. Apply the included [reference deployment](../../infra/feast-operator/config/samples/v1_featurestore_kubernetes_auth.yaml) to install and configure Feast with kubernetes Authorization ."
164164
]
165165
},
166166
{
@@ -177,7 +177,7 @@
177177
"name": "stdout",
178178
"output_type": "stream",
179179
"text": [
180-
"apiVersion: feast.dev/v1alpha1\n",
180+
"apiVersion: feast.dev/v1\n",
181181
"kind: FeatureStore\n",
182182
"metadata:\n",
183183
" name: sample-kubernetes-auth\n",
@@ -202,8 +202,8 @@
202202
}
203203
],
204204
"source": [
205-
"!cat ../../infra/feast-operator/config/samples/v1alpha1_featurestore_kubernetes_auth.yaml\n",
206-
"!kubectl apply -f ../../infra/feast-operator/config/samples/v1alpha1_featurestore_kubernetes_auth.yaml -n feast"
205+
"!cat ../../infra/feast-operator/config/samples/v1_featurestore_kubernetes_auth.yaml\n",
206+
"!kubectl apply -f ../../infra/feast-operator/config/samples/v1_featurestore_kubernetes_auth.yaml -n feast"
207207
]
208208
},
209209
{
@@ -738,4 +738,4 @@
738738
},
739739
"nbformat": 4,
740740
"nbformat_minor": 4
741-
}
741+
}

examples/operator-rbac-openshift-tls/3-uninstall.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
}
5353
],
5454
"source": [
55-
"!kubectl delete -f ../../infra/feast-operator/config/samples/v1alpha1_featurestore_kubernetes_auth.yaml\n",
55+
"!kubectl delete -f ../../infra/feast-operator/config/samples/v1_featurestore_kubernetes_auth.yaml\n",
5656
"!kubectl delete -f ../../infra/feast-operator/dist/install.yaml"
5757
]
5858
},
@@ -218,4 +218,4 @@
218218
},
219219
"nbformat": 4,
220220
"nbformat_minor": 5
221-
}
221+
}

examples/operator-rbac/04-uninstall.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
}
5353
],
5454
"source": [
55-
"!kubectl delete -f ../../infra/feast-operator/config/samples/v1alpha1_featurestore_kubernetes_auth.yaml\n",
55+
"!kubectl delete -f ../../infra/feast-operator/config/samples/v1_featurestore_kubernetes_auth.yaml\n",
5656
"!kubectl delete -f ../../infra/feast-operator/dist/install.yaml"
5757
]
5858
},
@@ -216,4 +216,4 @@
216216
},
217217
"nbformat": 4,
218218
"nbformat_minor": 5
219-
}
219+
}

examples/operator-rbac/1-setup-operator-rbac.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
"metadata": {},
178178
"source": [
179179
"## Install the Feast services via FeatureStore CR\n",
180-
"Next, we'll use the running Feast Operator to install the feast services with Server components online, offline, registry with kubernetes Authorization set. Apply the included [reference deployment](../../infra/feast-operator/config/samples/v1alpha1_featurestore_kubernetes_auth.yaml) to install and configure Feast with kubernetes Authorization ."
180+
"Next, we'll use the running Feast Operator to install the feast services with Server components online, offline, registry with kubernetes Authorization set. Apply the included [reference deployment](../../infra/feast-operator/config/samples/v1_featurestore_kubernetes_auth.yaml) to install and configure Feast with kubernetes Authorization ."
181181
]
182182
},
183183
{
@@ -194,7 +194,7 @@
194194
"name": "stdout",
195195
"output_type": "stream",
196196
"text": [
197-
"apiVersion: feast.dev/v1alpha1\n",
197+
"apiVersion: feast.dev/v1\n",
198198
"kind: FeatureStore\n",
199199
"metadata:\n",
200200
" name: sample-kubernetes-auth\n",
@@ -219,8 +219,8 @@
219219
}
220220
],
221221
"source": [
222-
"!cat ../../infra/feast-operator/config/samples/v1alpha1_featurestore_kubernetes_auth.yaml\n",
223-
"!kubectl apply -f ../../infra/feast-operator/config/samples/v1alpha1_featurestore_kubernetes_auth.yaml -n feast"
222+
"!cat ../../infra/feast-operator/config/samples/v1_featurestore_kubernetes_auth.yaml\n",
223+
"!kubectl apply -f ../../infra/feast-operator/config/samples/v1_featurestore_kubernetes_auth.yaml -n feast"
224224
]
225225
},
226226
{
@@ -761,4 +761,4 @@
761761
},
762762
"nbformat": 4,
763763
"nbformat_minor": 4
764-
}
764+
}

infra/feast-operator/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ $(CRD_REF_DOCS): $(LOCALBIN)
312312

313313
.PHONY: generate-ref
314314
generate-ref: generate fmt crd-ref-docs
315-
$(CRD_REF_DOCS) --log-level=WARN --max-depth=30 --config=$(LOCALDIR)/docs/crd-ref-templates/config.yaml --source-path=$(LOCALDIR)/api/v1alpha1 --renderer=markdown --templates-dir=$(LOCALDIR)/docs/crd-ref-templates/markdown --output-path=$(LOCALDIR)/docs/api/markdown/ref.md
315+
$(CRD_REF_DOCS) --log-level=WARN --max-depth=30 --config=$(LOCALDIR)/docs/crd-ref-templates/config.yaml --source-path=$(LOCALDIR)/api/v1 --renderer=markdown --templates-dir=$(LOCALDIR)/docs/crd-ref-templates/markdown --output-path=$(LOCALDIR)/docs/api/markdown/ref.md
316316

317317
.PHONY: bundle
318318
bundle: manifests kustomize related-image-fs operator-sdk ## Generate bundle manifests and metadata, then validate generated files.

0 commit comments

Comments
 (0)