Skip to content

Commit 7617bdb

Browse files
feat: Kubernetes materialization engine written based on bytewax (#4087)
* feat: Kubernetes materialization engine written based on bytewax Signed-off-by: Harry <quanghai.ng1512@gmail.com> * fix: Resolve incorrect path Signed-off-by: Harry <quanghai.ng1512@gmail.com> * fix: Simplify engine name Signed-off-by: Harry <quanghai.ng1512@gmail.com> --------- Signed-off-by: Harry <quanghai.ng1512@gmail.com>
1 parent 318a2b8 commit 7617bdb

File tree

11 files changed

+707
-4
lines changed

11 files changed

+707
-4
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
FROM python:3.9-slim-bullseye AS build
2+
3+
RUN apt-get update && \
4+
apt-get install --no-install-suggests --no-install-recommends --yes git
5+
6+
WORKDIR /app
7+
8+
COPY sdk/python/feast/infra/materialization/kuberentes/main.py /app
9+
10+
# Copy necessary parts of the Feast codebase
11+
COPY sdk/python sdk/python
12+
COPY protos protos
13+
COPY go go
14+
COPY setup.py setup.py
15+
COPY pyproject.toml pyproject.toml
16+
COPY README.md README.md
17+
18+
# We need this mount thingy because setuptools_scm needs access to the
19+
# git dir to infer the version of feast we're installing.
20+
# https://github.com/pypa/setuptools_scm#usage-from-docker
21+
# I think it also assumes that this dockerfile is being built from the root of the directory.
22+
RUN --mount=source=.git,target=.git,type=bind pip3 install --no-cache-dir '.[aws,gcp,k8s,snowflake,postgres]'

sdk/python/feast/infra/materialization/kubernetes/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)