13.4. Starting containers and pods in OpenShift environment
You can use the oc create command to create pods and containers in the OpenShift environment.
Procedure
Create a pod from the YAML file in the OpenShift environment:
$ oc create -f mypod.yaml注記In the Kubernetes environment, you can use the
kubectl createcommand with the same flags.