You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If your Docker registry requires authentication to store/pull containers, you can use this same approach to store your repository access credential and use when running the materialization engine.
27
+
26
28
Then configure them in the batch_engine section of `feature_store.yaml`:
27
29
28
30
```yaml
@@ -40,6 +42,8 @@ batch_engine:
40
42
secretKeyRef:
41
43
name: aws-credentials
42
44
key: aws-secret-access-key
45
+
image_pull_secrets:
46
+
- docker-repository-access-secret
43
47
```
44
48
45
49
#### Configuration
@@ -51,9 +55,28 @@ batch_engine:
51
55
type: bytewax
52
56
namespace: bytewax
53
57
image: bytewax/bytewax-feast:latest
58
+
image_pull_secrets:
59
+
- my_container_secret
60
+
service_account_name: my-k8s-service-account
61
+
annotations:
62
+
# example annotation you might include if running on AWS EKS
The `namespace` configuration directive specifies which Kubernetes [namespace](https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/) jobs, services and configuration maps will be created in.
73
+
**Notes:**
74
+
75
+
* The `namespace` configuration directive specifies which Kubernetes [namespace](https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/) jobs, services and configuration maps will be created in.
76
+
* The `image_pull_secrets` configuration directive specifies the pre-configured secret to use when pulling the image container from your registry
77
+
* The `service_account_name` specifies which Kubernetes service account to run the job under
78
+
* `annotations` allows you to include additional Kubernetes annotations to the job. This is particularly useful for IAM roles which grant the running pod access to cloud platform resources (for example).
79
+
* The `resources` configuration directive sets the standard Kubernetes [resource requests](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) for the job containers to utilise when materializing data.
0 commit comments