kubespawner
kubespawner copied to clipboard
Support to create the networkpolicy dynamically
Proposed change
When spawn the new pod for the jupyter, I also want to configure the networkpolicy for the new spawned pod
Alternative options
Currently the networkpolicy is static and doesn't exists the API to configure the networkpolicy dynamically.
Who would use this feature?
the networkpolicy should be be important secure mechanism, since the python scripts run in jupyter notebook would be free style, i want to limit the impact by only allow the pod to access the specific range of the destnation.
(Optional): Suggest a solution
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
This issue has been mentioned on Jupyter Community Forum. There might be relevant details there:
https://discourse.jupyter.org/t/jupyterhub-amalthea/12208/2
#644 can solve this