Kubernetes、Helm - 指定配置时 helm 升级失败 - JupyterHub
Kubernetes, Helm - helm upgrade fails when config is specified - JupyterHub
如果我运行
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
指定 config.yaml
我的总体项目是在云 Kubernetes 环境中设置 JupyterHub。我正在使用 GKE 和在线终端。
谢谢
已解决:我在 config.yaml 中错误地指定了 tag
。我放的是摘要而不是实际的标签。 Here are the images on DockerHub
如果我运行
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 和在线终端。
谢谢
已解决:我在 config.yaml 中错误地指定了 tag
。我放的是摘要而不是实际的标签。 Here are the images on DockerHub