We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在k8s docker通过nfs或ConfigMap方式挂载,启动不了
The text was updated successfully, but these errors were encountered:
暂时解决,不晓得有没有其他问题。 注释掉 canal/docker/image/app.sh文件中的chown ** 和 su admin ** 相关的,以默认的root权限运行
Sorry, something went wrong.
我这块是通过configMap挂载方式部署的canal-server,也是报类似错误。我这块的解决方法是,通过在configMap中挂载一个app.sh文件覆盖掉/home/admin/app.sh文件,如下图所示 挂载的app.sh可以复制当前canal/docker/image/app.sh内容,然后注释掉下图内容 之后全局搜索 su admin ,将su admin 内容替换为 su root,类似下图这样 这样做,临时是解决了docker镜像用户admin与k8s pod用户root不一致,导致部署失败的问题;有更好的方式,欢迎交流
No branches or pull requests
在k8s docker通过nfs或ConfigMap方式挂载,启动不了
The text was updated successfully, but these errors were encountered: