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
{{ message }}
Repository navigation
Kubernetes authz throws an error when using "feastdev/feature-server:0.42.0" image #4829
Traceback (most recent call last):
File "/usr/local/bin/feast", line 8, in <module>
sys.exit(cli())
^^^^^
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/feast/cli.py", line 1098, in serve_registry_command
store.serve_registry(port, tls_key_path, tls_cert_path)
File "/usr/local/lib/python3.11/site-packages/feast/feature_store.py", line 1957, in serve_registry
registry_server.start_server(
File "/usr/local/lib/python3.11/site-packages/feast/registry_server.py", line 769, in start_server
init_auth_manager(
File "/usr/local/lib/python3.11/site-packages/feast/permissions/server/utils.py", line 117, in init_auth_manager
from feast.permissions.auth.kubernetes_token_parser import (
File "/usr/local/lib/python3.11/site-packages/feast/permissions/auth/kubernetes_token_parser.py", line 5, in <module>
from kubernetes import client, config
ModuleNotFoundError: No module named 'kubernetes'
Activity
franciscojavierarceo commentedon Dec 10, 2024
CC @dmartinol @redhatHameed @lokeshrangineni
tchughesiv commentedon Dec 10, 2024
i tried adding the module to the
Dockerfilelike so, but it didn't help -tchughesiv commentedon Dec 10, 2024
interestingly, the resulting image from a
make build-feature-server-devworks as expected.redhatHameed commentedon Dec 10, 2024
I don't see that image has kubernetes module
pip list | grep kubernetesredhatHameed commentedon Dec 10, 2024
tchughesiv commentedon Dec 10, 2024
dmartinol commentedon Dec 11, 2024
pip install "feast[k8s]"