openshift origin ui 隐藏 ui 的 io.openshift.non 可扩展应用程序的规模?
openshift origin ui to hide the scale ui for io.openshift.non-scalable application?
从这篇文档https://docs.openshift.com/enterprise/3.0/creating_images/metadata.html,我了解到在 Dockerfile
中添加一个 LABEL io.openshift.non-scalable="true"
将隐藏 openshift 控制台上的比例 ui 元素。
不过好像不行。有什么问题吗 ?我正在使用 openshift-origin 1.3
你没有做错任何事。不幸的是,文档不正确。目前,Web 控制台或 oc scale
都不会查找此标签。它被这里的错误跟踪:
从这篇文档https://docs.openshift.com/enterprise/3.0/creating_images/metadata.html,我了解到在 Dockerfile
中添加一个 LABEL io.openshift.non-scalable="true"
将隐藏 openshift 控制台上的比例 ui 元素。
不过好像不行。有什么问题吗 ?我正在使用 openshift-origin 1.3
你没有做错任何事。不幸的是,文档不正确。目前,Web 控制台或 oc scale
都不会查找此标签。它被这里的错误跟踪: