环境信息:
Computer detail: One master node and four slave nodes. All are CentOS Linux release 7.8.2003 (Core).
Kubernetes version: v1.18.0.
Zero to JupyterHub version: 0.9.0.
Helm version: v2.11.0
Run Code Online (Sandbox Code Playgroud)
最近,我尝试在 kubernetes 上部署“Zero to Jupyterhub”。我的 jupyterhub 配置文件如下:
config.yaml
proxy:
secretToken: "2fdeb3679d666277bdb1c93102a08f5b894774ba796e60af7957cb5677f40706"
service:
type: NodePort
nodePorts:
http: 30080
https: 30443
singleuser:
storage:
dynamic:
storageClass: local-storage
capacity: 10Gi
Run Code Online (Sandbox Code Playgroud)
注意:我将服务类型设置为NodePort,因为我没有任何云提供商(部署在我的实验室服务器集群上),我尝试使用nginx-ingress也失败了,这就是我不使用LoadBalance.
但是当我使用这个配置文件通过 安装 jupyterhub 时Helm,我无法从浏览器访问 jupyterhub,甚至都在Pods运行。这些豆荚的详细信息如下:
kubectl get pod --namespace jhub
NAME READY STATUS RESTARTS …Run Code Online (Sandbox Code Playgroud)