【发布时间】:2021-04-02 14:07:53
【问题描述】:
如果我跑步
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。它只是挂了一会儿,最终超时。似乎变化太小而无法导致真正的超时。我在从零到 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 和在线终端。
谢谢
【问题讨论】:
标签: kubernetes google-kubernetes-engine kubernetes-helm jupyterhub