Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sdk证书存储在k8s configMap 时会启动失败 #734

Open
Degfy opened this issue Mar 31, 2022 · 1 comment
Open

sdk证书存储在k8s configMap 时会启动失败 #734

Degfy opened this issue Mar 31, 2022 · 1 comment

Comments

@Degfy
Copy link

Degfy commented Mar 31, 2022

查到原因了:

  1. k8s configMap 挂载到pod,会做一个link file
    image
  2. 容器启动时,将 /dist/sdk 目录拷贝到 /dist/conf 目录使用的 命令:cp -r /dist/sdk/* /dist/conf/ 会把隐藏文件漏掉
  3. 改成 cp -ar /dist/sdk/. /dist/conf/就好了
@CodingCattwo
Copy link
Contributor

👍干货分享

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants