Scheduling a build using Kubernetes
According the documentation you're giving, you need to remove run-build from the command :
$ oc run NAME --image=&lt;image&gt; \
    [--generator=&lt;resource&gt;] \
    [--port=&lt;port&gt;] \
    [--replicas=&lt;replicas&gt;] \
    [--dry-run=&lt;bool&gt;] \
    [--overrides=&lt;inline_json&gt;] \
    [options]