jupyterhub / kubespawner

Kubernetes spawner for JupyterHub
https://jupyterhub-kubespawner.readthedocs.io
BSD 3-Clause "New" or "Revised" License
536 stars 301 forks source link

Problems with dns access between singleuser pod #748

Closed MiXaiLL76 closed 5 months ago

MiXaiLL76 commented 1 year ago

I'm trying to give users access between servers within a namespace. If everything works with external servers (hub, postgres, openssh-server), then how to get access from these servers to pod singleuser ? Or get access from one user to another.

i started latest default config server with

singleuser:
  startTimeout: 30

  image:
    pullPolicy: Always

  cloudMetadata:
    blockWithIptables: false
  networkPolicy:
    egressAllowRules:
      privateIPs: true

nslookup

jovyan@jupyter-admin:~$ nslookup 
> hub
Server:         10.96.0.10
Address:        10.96.0.10#53

Name:   hub.jhub-dev.svc.cluster.local
Address: 10.105.59.121
> openssh-server
Server:         10.96.0.10
Address:        10.96.0.10#53

Name:   openssh-server.jhub-dev.svc.cluster.local
Address: 10.109.133.156
> jupyter-admin
Server:         10.96.0.10
Address:        10.96.0.10#53

** server can't find jupyter-admin: NXDOMAIN
> 
welcome[bot] commented 1 year ago

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. welcome 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:

MiXaiLL76 commented 1 year ago

problem not resolved. bump

rudolfjs commented 1 month ago

Same issue. bump