Comments (22)
Yes, I have run into this. Try making extraConfig
a dict instsead of a string:
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 --force
to upgrade (which does delete & replace if patch fails). We recently dealt with this on Binder.
from helm-chart.
Hmm this is odd. I think it is related to jupyterhub/zero-to-jupyterhub-k8s#653.
Maybe @yuvipanda has some thoughts?
from helm-chart.
I can google my way to relevant-sounding issues
helm/helm#1844
helm/helm#2437
But I don't know if they are actually relevant.
$ helm version
Client: &version.Version{SemVer:"v2.9.0", GitCommit:"f6025bb9ee7daf9fee0026541c90a6f557a3e0bc", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.9.0", GitCommit:"f6025bb9ee7daf9fee0026541c90a6f557a3e0bc", GitTreeState:"clean"}
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.1", GitCommit:"f38e43b221d08850172a9a4ea785a86a3ffa3b3a", GitTreeState:"clean", BuildDate:"2017-10-11T23:27:35Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"9+", GitVersion:"v1.9.3-gke.0", GitCommit:"a7b719f7d3463eb5431cf8a3caf5d485827b4210", GitTreeState:"clean", BuildDate:"2018-02-16T18:26:01Z", GoVersion:"go1.9.2b4", Compiler:"gc", Platform:"linux/amd64"}
from helm-chart.
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?
from helm-chart.
Does anyone have any idea how to move forward from this error? Delete the deployment and re-install?
from helm-chart.
I had an odd experience using newer versions of kubernetes on GCP recently. Maybe downgrade to the default version?
from helm-chart.
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?
from helm-chart.
OK, I've moved one step forward (I think) with #22 but am now running into another issue:
mrocklin@carbon:~/workspace/pangeo/gce$ helm upgrade jupyter ~/workspace/helm-chart/pangeo/ -f jupyter-config.yaml -f copy-secret-config.yaml
Error: UPGRADE FAILED: no ConfigMap with the name "nginx-proxy-config" found
Perhaps someone here has thoughts
from helm-chart.
what happens if you try installing the deployed chart as described here: https://github.com/pangeo-data/helm-chart?
from helm-chart.
from helm-chart.
I see that there is no autohttps template in that version of jupyterhub. Strange. What happens if you try v0.7-a5c532d?
from helm-chart.
Unfortunately that version still defines extraConfig as a mapping
$ helm inspect jupyterhub/jupyterhub --version v0.7-a5c532d | grep extraConfig:
extraConfig: {}
from helm-chart.
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?
from helm-chart.
Sure. @yuvipanda is already pinged. Lets expand to @choldgraf
from helm-chart.
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:
jupyterhub:
proxy:
secretToken: "074fd8fb655f412996012342d2014a278e49rts0f05bcca0396f0122752597327"
https:
enabled: true
hosts:
- "test.org"
type: letsencrypt
letsencrypt:
contactEmail: "[email protected]"
from helm-chart.
quick side question, did you reserve your load balancer external ip address on GCP?
from helm-chart.
from helm-chart.
I have not tried this yet but it seems like this may be a way forward. helm/helm#3933
from helm-chart.
I was able to replicate these warnings by rolling forward to v0.7-82bed4a
2018/05/02 12:44:56 warning: cannot overwrite table with non table for extraConfig (map[])
2018/05/02 12:44:56 warning: cannot overwrite table with non table for extraConfig (map[])
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.
from helm-chart.
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.
from helm-chart.
also pinging @minrk here, as he may have experience with this.
from helm-chart.
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
from helm-chart.
Related Issues (20)
- [Proposal] Add dask-gateway to this chart HOT 3
- chartpress 0.5.0 is out HOT 1
- Upgrade dask-gateway to 0.6.1
- how can i use docker image instead of helm-chart to deploy pangeo? HOT 5
- Failed to start up a notebook server HOT 1
- Automate version bumps HOT 2
- Automate setup of dask-gateway jupyterhub service HOT 8
- Archive and stop updating pangeo helm chart? HOT 4
- Incorrect value for jupyterhub.hub.services.dask-gateway.url HOT 3
- refactor notebook Dockerfile to use environment.yaml HOT 2
- problems with compatibility with zero2jupyterhub-k8s 0.7 chart version HOT 2
- Travis is broken HOT 4
- PV for Deploying Pangeo on the Cloud HOT 2
- Unable to mount volumes - Pangeo on the Cloud HOT 13
- Restricting user's resources HOT 14
- CI Testing of this chart
- upgrading to v0.8 of the JupyterHub Helm Chart HOT 4
- New helm chart to address this vulnerability? HOT 2
- Pangeo failing all Helm versions > v0.1.1-e5fa7c4 HOT 12
- Typo in Dask RBAC RoleBinding
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helm-chart.