If you're running this in production, I'd recommend using
http://z2jh.jupyter.org/ which documents how to use our helm chart to
run on any k8s cluster.

If you wanna see how it does it, look at
https://github.com/jupyterhub/helm-chart/blob/master/images/hub/jupyterhub_config.py#L138.
We don't use node port at all - the hub runs inside the k8s cluster as
well and spawns the pods in there, and just uses the service IPs as
HUB_IP_CONNECT...

On Thu, Jun 15, 2017 at 1:02 PM, Paul Mazzuca <[email protected]> wrote:
> Great thanks!  How about in the case that I were running this in production,
> and not on minikube? What should that HUB_CONNECT_IP be, given the same
> nodeport?
>
> On Thu, Jun 15, 2017 at 12:13 PM, Yuvi Panda <[email protected]> wrote:
>>
>> Take a look at
>> https://github.com/jupyterhub/kubespawner/blob/master/SETUP.md which has a
>> nice method for doing dev work on minikube.
>>
>> On Jun 15, 2017 12:03 PM, "Paul Mazzuca" <[email protected]> wrote:
>>>
>>> I am trying to get JupyterHub to work in Kubernetes by starting with
>>> MiniKube.  I have authentication working but am unable to spawn using the
>>> kubespawner.  I believe my issue is the HUB_CONNECT_IP env variable that I
>>> am using.
>>>
>>> What exactly should this value be?  I am using a nodeport service with
>>> the following ip/port
>>>
>>> jupyter-hub-service   10.0.0.161   <nodes>       8000:31176/TCP
>>>
>>>
>>> Minikube has the dns add on, but am I still supposed to set
>>> HUB_CONNECT_IP to an IP?  Given that my nodeport service is as above, anyone
>>> have any guidance on what HUB_CONNECT_IP should be, or is there some other
>>> action that should be taken?
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Project Jupyter" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to [email protected].
>>> To post to this group, send email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jupyter/181129ef-9bfc-4111-a832-362d42c6199e%40googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Project Jupyter" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/jupyter/cUkbPtdVgX4/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To post to this group, send email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jupyter/CAFw%3DySifJGCMEdsAnXjJ-wKLN6G%2BTV8UzvRdxSZyZ8u5Yg41wg%40mail.gmail.com.
>>
>> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/CAJpXATQHLb8EX6YYTbYfFRvW-UbTYvNV7AZQ_ofnmeNJ6Dy0QQ%40mail.gmail.com.
>
> For more options, visit https://groups.google.com/d/optout.



-- 
Yuvi Panda T
http://yuvi.in/blog

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAFw%3DySgSopO%2BuHyMS1AZzdKgmUbrmko_Ct64GTg%3DfGa_7xRZMQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to