2.4. 通过创建资源应用 init 捆绑包
使用一个终端窗口,登录到 OpenShift Container Platform 集群并使用 Red Hat OpenShift CLI,运行以下命令来创建资源:
oc create -f <init_bundle>.yaml \ -n <stackrox>
$ oc create -f <init_bundle>.yaml \
1 -n <stackrox>
2 Copy to Clipboard Copied! Toggle word wrap Toggle overflow
注意
对于非 OpenShift Kubernetes 集群,请输入可比较的 kubectl
命令以创建资源。