Red Hat Training

A Red Hat training course is available for OpenShift Container Platform

2.2.2.4.3. 指定标签

镜像模板生成 应用程序时,您可以使用 -l|--label 参数向创建的对象添加标签。借助标签,您可以轻松地集中选择、配置和删除与应用程序关联的对象。

$ oc new-app https://github.com/openshift/ruby-hello-world -l name=hello-world