-
Notifications
You must be signed in to change notification settings - Fork 223
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
Error: module 'kubernetes.client' has no attribute 'V1Subject' #1382
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
Greetings! I ran into the same problem today. The fastest way to solve it for me was to build a new container with minimal changes: FROM elyra/enterprise-gateway:3.2.3
USER root
RUN sed -i 's/V1Subject/RbacV1Subject/g' /opt/conda/lib/python3.10/site-packages/enterprise_gateway/services/processproxies/k8s.py
USER jovyan As you can see the problem is in the line.
It uses V1Subject, which is not supported by kubernetes library version 29 I have also created a pull request that should solve this problem - #1384 |
Thank you for your reply |
When I use the 3.2.3 image, I encountered this error when spawning a kernel:
using the server image: jupyter/base-notebook:python-3.9.7
The text was updated successfully, but these errors were encountered: