【发布时间】:2019-09-27 11:53:54
【问题描述】:
我已经成功地在我的集群中发布了 jhub。然后我更改了配置以提取另一个 docker 映像,如 documentation 中所述。
这一次,在运行相同的旧命令时:
# Suggested values: advanced users of Kubernetes and Helm should feel
# free to use different values.
RELEASE=jhub
NAMESPACE=jhub
helm upgrade --install $RELEASE jupyterhub/jupyterhub \
--namespace $NAMESPACE \
--version=0.8.2 \
--values jupyter-hub-config.yaml
jupyter-hub-config.yaml 文件在哪里:
proxy:
secretToken: "<a secret token>"
singleuser:
image:
# Get the latest image tag at:
# https://hub.docker.com/r/jupyter/datascience-notebook/tags/
# Inspect the Dockerfile at:
# https://github.com/jupyter/docker-stacks/tree/master/datascience-notebook/Dockerfile
name: jupyter/datascience-notebook
tag: 177037d09156
我遇到以下问题:
UPGRADE FAILED
ROLLING BACK
Error: "jhub" has no deployed releases
Error: UPGRADE FAILED: "jhub" has no deployed releases
然后我通过kubectl delete ns/jhub 删除了命名空间,并通过helm delete --purge jhub 进行了发布。再次尝试此命令无效,再次出现同样的错误。
我阅读了一些 GH 问题,发现 YAML 文件无效或 --force 标志有效。但是,就我而言,这两个都不是有效的。
我希望发布此版本,并学习如何编辑当前版本。
注意:正如您在上述文档中发现的那样,创建了一个 pvc。
【问题讨论】:
-
这种情况还有效吗?
标签: kubernetes jupyter devops kubernetes-helm jupyterhub