console
console copied to clipboard
cronjob UI broken after the kubernetes cluster upgrade to v1.26.3
General remarks
Describe the bug
After Kubernetes cluster upgrade to v1.26.3, the 'Cronjob' detail fail, and create new 'Cronjob' fail
For UI issues please also add a screenshot that shows the issue.
I find the the documention from kubernetes say that they removed 'batch/v1beta1' in v1.25 https://kubernetes.io/docs/reference/using-api/deprecation-guide/#cronjob-v125
Versions used(KubeSphere/Kubernetes) KubeSphere: v3.3.2 Kubernetes: v1.26.3
Environment How many nodes and their hardware configuration:
For example: 3 masters: 8cpu/8g 3 nodes: 8cpu/16g
(and other info are welcomed to help us debugging)
To Reproduce Steps to reproduce the behavior:
- Go to 'Application Workloads'
- Click on 'Jobs'
- Click on 'Cronjobs'
- Click one cronjob with api version 'batch/v1'
- See error
Expected behavior View existing cronjob fine & create new cronjob fine.