Description of problem: When try to edit scheduledjobs, got: # oc edit scheduledjobs sj2 A copy of your changes has been stored to "/tmp/oc-edit-xdosz.yaml" error: no kind "ScheduledJob" is registered for version "batch/v1" Version-Release number of selected component (if applicable): devenv-rhel7_5051 How reproducible: always Steps to Reproduce: 1. Create a scheduledjob oc run sj2 --image=busybox --restart=Never --schedule="*/1 * * * *" -- sleep 300 2. Try to edit the scheduled job, make some change and try to save back to server oc edit scheduledjobs sj2 3. Actual results: # oc edit scheduledjobs sj2 A copy of your changes has been stored to "/tmp/oc-edit-xdosz.yaml" error: no kind "ScheduledJob" is registered for version "batch/v1" Expected results: should work well Additional info:
This should fix the problem: https://github.com/kubernetes/kubernetes/pull/34010
Origin cherry-pick https://github.com/openshift/origin/pull/11286
Commit pushed to master at https://github.com/openshift/origin https://github.com/openshift/origin/commit/3ed3b35bca711e83944b7bc678f928ad87520805 Merge pull request #11286 from soltysh/bug1378368 Merged by openshift-bot
Check with openshift v3.4.0.13, this issue has been fixed.