-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Updated python-helm-demo example to use MinIO instead of GS #4691
Open
dmartinol
wants to merge
5
commits into
feast-dev:master
Choose a base branch
from
dmartinol:redis_example
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
edaf35d
Updated python-helm-demo example to use MinIO instead of GS
dmartinol 46eea4c
Update examples/python-helm-demo/README.md
dmartinol 40332c5
Merge branch 'feast-dev:master' into redis_example
dmartinol c349c7b
Adding explicit wait to container to validate CI failures
dmartinol 478c3d9
restored original conftest
dmartinol File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+383 Bytes
(100%)
examples/python-helm-demo/feature_repo/data/driver_stats_with_string.parquet
Binary file not shown.
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
examples/python-helm-demo/feature_repo/feature_store.yaml.template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
registry: s3://feast-demo/registry.db | ||
project: feast_python_demo | ||
provider: local | ||
online_store: | ||
type: redis | ||
connection_string: localhost:6379,password=_REDIS_PASSWORD_ | ||
offline_store: | ||
type: file | ||
entity_key_serialization_version: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
--- | ||
kind: PersistentVolumeClaim | ||
apiVersion: v1 | ||
metadata: | ||
name: minio-pvc | ||
spec: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 20Gi | ||
volumeMode: Filesystem | ||
--- | ||
kind: Secret | ||
apiVersion: v1 | ||
metadata: | ||
name: minio-secret | ||
stringData: | ||
# change the username and password to your own values. | ||
# ensure that the user is at least 3 characters long and the password at least 8 | ||
minio_root_user: minio | ||
minio_root_password: minio123 | ||
--- | ||
kind: Deployment | ||
apiVersion: apps/v1 | ||
metadata: | ||
name: minio | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: minio | ||
template: | ||
metadata: | ||
labels: | ||
app: minio | ||
spec: | ||
volumes: | ||
- name: data | ||
persistentVolumeClaim: | ||
claimName: minio-pvc | ||
containers: | ||
- resources: | ||
limits: | ||
cpu: 250m | ||
memory: 1Gi | ||
requests: | ||
cpu: 20m | ||
memory: 100Mi | ||
readinessProbe: | ||
tcpSocket: | ||
port: 9000 | ||
initialDelaySeconds: 5 | ||
timeoutSeconds: 1 | ||
periodSeconds: 5 | ||
successThreshold: 1 | ||
failureThreshold: 3 | ||
terminationMessagePath: /dev/termination-log | ||
name: minio | ||
livenessProbe: | ||
tcpSocket: | ||
port: 9000 | ||
initialDelaySeconds: 30 | ||
timeoutSeconds: 1 | ||
periodSeconds: 5 | ||
successThreshold: 1 | ||
failureThreshold: 3 | ||
env: | ||
- name: MINIO_ROOT_USER | ||
valueFrom: | ||
secretKeyRef: | ||
name: minio-secret | ||
key: minio_root_user | ||
- name: MINIO_ROOT_PASSWORD | ||
valueFrom: | ||
secretKeyRef: | ||
name: minio-secret | ||
key: minio_root_password | ||
ports: | ||
- containerPort: 9000 | ||
protocol: TCP | ||
- containerPort: 9090 | ||
protocol: TCP | ||
imagePullPolicy: IfNotPresent | ||
volumeMounts: | ||
- name: data | ||
mountPath: /data | ||
subPath: minio | ||
terminationMessagePolicy: File | ||
image: >- | ||
quay.io/minio/minio:RELEASE.2023-06-19T19-52-50Z | ||
args: | ||
- server | ||
- /data | ||
- --console-address | ||
- :9090 | ||
restartPolicy: Always | ||
terminationGracePeriodSeconds: 30 | ||
dnsPolicy: ClusterFirst | ||
securityContext: {} | ||
schedulerName: default-scheduler | ||
strategy: | ||
type: Recreate | ||
revisionHistoryLimit: 10 | ||
progressDeadlineSeconds: 600 | ||
--- | ||
kind: Service | ||
apiVersion: v1 | ||
metadata: | ||
name: minio-service | ||
spec: | ||
ipFamilies: | ||
- IPv4 | ||
ports: | ||
- name: api | ||
protocol: TCP | ||
port: 9000 | ||
targetPort: 9000 | ||
- name: ui | ||
protocol: TCP | ||
port: 9090 | ||
targetPort: 9090 | ||
internalTrafficPolicy: Cluster | ||
type: ClusterIP | ||
ipFamilyPolicy: SingleStack | ||
sessionAffinity: None | ||
selector: | ||
app: minio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export AWS_ACCESS_KEY_ID=minio | ||
export AWS_DEFAULT_REGION=default | ||
#export AWS_S3_BUCKET=feast-demo | ||
#export AWS_S3_ENDPOINT=http://localhost:9000 | ||
export FEAST_S3_ENDPOINT_URL=http://localhost:9000 | ||
export AWS_SECRET_ACCESS_KEY=minio123 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
project: feast_python_demo | ||
provider: local | ||
registry: s3://feast-demo/registry.db | ||
online_store: | ||
type: redis | ||
connection_string: my-redis-master:6379,password=_REDIS_PASSWORD_ | ||
entity_key_serialization_version: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
registry: s3://feast-demo/registry.db | ||
project: feast_python_demo | ||
provider: local | ||
online_store: | ||
path: http://localhost:6566 | ||
type: remote | ||
entity_key_serialization_version: 2 |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are these numbers all 1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
markdown replaces them with the actual sequence:
https://www.markdownguide.org/basic-syntax/#ordered-lists