https://github.com/rancher/rancher/issues/8497
如果要外挂卷对象有external: true,如下:
volumes:
grafana-data:
external: true
driver: local
prometheus-data:
external: true
driver: local
则需要先创建卷对象,否则会报Failed to locate volume for instance of deployment unit错误。
github的issue中建议先创建卷对象,或者将external: true去掉。
本文详细介绍了在Rancher中配置带有external:true属性的外部卷时可能遇到的Failedtolocatevolumeforinstanceofdeploymentunit错误,并提供了两种解决方案:预先创建卷对象或移除external:true设置。
3210

被折叠的 条评论
为什么被折叠?



