Kubernetes、Helm - 指定配置时 helm 升级失败 - 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。它只是挂了一会儿,最终超时。更改似乎太小而无法导致真正的超时。我在 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

指定 config.yaml

我的总体项目是在云 Kubernetes 环境中设置 JupyterHub。我正在使用 GKE 和在线终端。

谢谢

解决方法

已解决:我在 config.yaml 中错误地指定了 tag。我把摘要而不是实际的标签。 Here are the images on DockerHub

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...