-
Notifications
You must be signed in to change notification settings - Fork 26
error updating pangeo.pydata.org #21
Comments
Hmm this is odd. I think it is related to jupyterhub/zero-to-jupyterhub-k8s#653. Maybe @yuvipanda has some thoughts? |
I can google my way to relevant-sounding issues But I don't know if they are actually relevant.
|
My crash course in helm / kubernetes has left me with the strong impression that this whole thing is a house of cards. Everything I try gives me a cryptic error. How can we make this process work better for cloud-mortals like myself? |
Does anyone have any idea how to move forward from this error? Delete the deployment and re-install? |
I had an odd experience using newer versions of kubernetes on GCP recently. Maybe downgrade to the default version? |
Alternatively, maybe we need to become more accustomed to asking for help from upstream in the Helm project itself. Perhaps someone should raise a github issue? |
OK, I've moved one step forward (I think) with #22 but am now running into another issue:
Perhaps someone here has thoughts |
what happens if you try installing the deployed chart as described here: https://github.com/pangeo-data/helm-chart? |
That would not include my change in
#22 so instead I'm deploying
the chart from a local version that has been modified
…On Wed, May 2, 2018 at 10:16 AM, Tim Crone ***@***.***> wrote:
what happens if you try installing the deployed chart as described here:
https://github.com/pangeo-data/helm-chart?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AASszA_5e5mztB1ViGJCoV7I5ez0qpXJks5tub-rgaJpZM4TuFLn>
.
|
I see that there is no autohttps template in that version of jupyterhub. Strange. What happens if you try v0.7-a5c532d? |
Unfortunately that version still defines extraConfig as a mapping
|
I feel like some input from the jupyterhub team could potentially save us hours of trial and error here. Should we consider reaching out more directly? |
Sure. @yuvipanda is already pinged. Lets expand to @choldgraf |
I managed to deploy the pangeo helm chart on a fresh gce cluster using v0.7-fd73c61, the current config file in the notebook-image branch (changed the loadbalancer ip), and a stripped-down secrets file that does include https, and was unable to replicate the ConfigMap error. secret-config.yaml:
|
quick side question, did you reserve your load balancer external ip address on GCP? |
What I did yesterday was to upgrade the existing ephemeral IP to a static IP. So now I believe it will persist.
…Sent from my iPhone
On May 2, 2018, at 12:23 PM, Tim Crone ***@***.***> wrote:
quick side question, did you reserve your load balancer external ip address on GCP?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I have not tried this yet but it seems like this may be a way forward. helm/helm#3933 |
I was able to replicate these warnings by rolling forward to v0.7-82bed4a
I needed to do a helm dependency update in order for my changes to be recognized. Also when upgrading, I usually set the --force and --recreate-pods flags. |
It would seem to me that helm is not registering the change in location for the nginx-configmap.yaml file, which gets moved to a subdirectory in more recent versions of the jupyterlab helm chart. Using the --debug flag during upgrade and grepping for nginx-config will show you where it is looking for the file. I'm thinking that the --reset-values and/or --recreate-pods and/or --force flags could help with this situation. I would try --reset-values first. |
also pinging @minrk here, as he may have experience with this. |
Yes, I have run into this. Try making hub:
extraConfig:
customPodHook: |
from kubernetes import client
... I think both a scalar string and a dict/map are supposed to work, but I've found using a string results in this warning. I think it's just a warning, not an error, though. The error about not matching labels I think is due to recent label changes, which requires you to use |
I've walked back to the version of JupyterHub that we were using before and changed extraConfig to be a map in pangeo-data/pangeo#235 This appears to be functioning well. Thank you @minrk |
I just added a new notebook docker image in #20.
Now I am trying to deploy it.
No idea what to make of this error.
The text was updated successfully, but these errors were encountered: