问题描述
如果我跑
helm upgrade --cleanup-on-fail \
$RELEASE jupyterhub/jupyterhub \
--namespace $NAMESPACE \
--version=0.9.0 \
--values config.yaml
失败,出现以下错误:Error: UPGRADE Failed: pre-upgrade hooks Failed: timed out waiting for the condition
。它只是挂了一会儿,最终超时。更改似乎太小而无法导致真正的超时。我在 Zero to JupyterHub 文档中找到了这个命令,where it describes how to apply changes to the configuration file。
我尝试了几种排列方式,包括省略清理、省略版本等。我唯一可以开始工作的是 helm upgrade jhub jupyterhub/jupyterhub
,但我认为它没有产生预期的效果。>
例如,当我在 config.yaml 中将一行添加到 change the default to Jupyter Lab 时,如果我运行 helm upgrade jhub jupyterhub/jupyterhub
,它不起作用。我相信我需要使用 --values 或 -f
我的总体项目是在云 Kubernetes 环境中设置 JupyterHub。我正在使用 GKE 和在线终端。
谢谢
解决方法
已解决:我在 config.yaml 中错误地指定了 tag
。我把摘要而不是实际的标签。 Here are the images on DockerHub