Skip to content

Commit

Permalink
feat: Kubernetes materialization engine written based on bytewax
Browse files Browse the repository at this point in the history
Signed-off-by: Harry <[email protected]>
  • Loading branch information
sudohainguyen committed Apr 9, 2024
1 parent 318a2b8 commit 0bd4ab3
Show file tree
Hide file tree
Showing 11 changed files with 707 additions and 4 deletions.
22 changes: 22 additions & 0 deletions sdk/python/feast/infra/materialization/kubernetes/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM python:3.9-slim-bullseye AS build

RUN apt-get update && \
apt-get install --no-install-suggests --no-install-recommends --yes git

WORKDIR /app

COPY sdk/python/feast/infra/materialization/contrib/kuberentes/main.py /app

# Copy necessary parts of the Feast codebase
COPY sdk/python sdk/python
COPY protos protos
COPY go go
COPY setup.py setup.py
COPY pyproject.toml pyproject.toml
COPY README.md README.md

# We need this mount thingy because setuptools_scm needs access to the
# git dir to infer the version of feast we're installing.
# https://github.com/pypa/setuptools_scm#usage-from-docker
# I think it also assumes that this dockerfile is being built from the root of the directory.
RUN --mount=source=.git,target=.git,type=bind pip3 install --no-cache-dir '.[aws,gcp,k8s,snowflake,postgres]'
Empty file.
Loading

0 comments on commit 0bd4ab3

Please sign in to comment.