用K8S集群部署的时候,创建存储路径失败
发布于 6 个月前 作者 walter211 144 次浏览 来自 问答

qa-community-go-r这个镜像的下

COPY run-community.sh /root/run-community.sh
RUN chmod +x /opt/conda/lib/python3.7/site-packages/QUANTAXIS/QAUtil/QASetting.py\
    && mkdir -p /home/jovyan/.local/share/jupyter/kernels/gophernotes \
    && cd /home/jovyan/.local/share/jupyter/kernels/gophernotes \
    && pip install quantaxis -U\
    && pip uninstall pytdx -y \
    && pip install pytdx \
    && pip install qifiaccount -U \
    && pip install QAStrategy -U \
    && wget https://raw.githubusercontent.com/gopherdata/gophernotes/master/kernel/kernel.json \
    && wget https://raw.githubusercontent.com/gopherdata/gophernotes/master/kernel/logo-32x32.png \
    && wget https://raw.githubusercontent.com/gopherdata/gophernotes/master/kernel/logo-64x64.png 
    ## clean

中的

mkdir -p /home/jovyan/.local/share/jupyter/kernels/gophernotes \

没有创建成功 转成pvc的时候 mongo文件貌似是可以挂载成功的,但是jupyter这边失败了,也没有提示

回到顶部