You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
oc run starting from 4.5 is creating only Pods and there is no option to
create any other resource. Users should be using oc create <resource>
commands instead. This update the documentation in all those places
where oc create should be used instead.
You can also create and launch a CronJob from a single command using `oc run`. The following command creates and launches the same CronJob as specified in the previous example:
77
+
You can also create and launch a CronJob from a single command using `oc create cronjob`. The following command creates and launches a CronJob similar to the one specified in the previous example:
78
78
79
79
----
80
-
$ oc run pi --image=perl --schedule='*/1 * * * *' \
You can also create and launch a job from a single command using `oc run`. The following command creates and launches the same job as specified in the previous example:
62
+
You can also create and launch a job from a single command using `oc create job`. The following command creates and launches a job similar to the one specified in the previous example:
63
63
64
64
----
65
-
$ oc run pi --image=perl --replicas=1 --restart=OnFailure \
0 commit comments