console icon indicating copy to clipboard operation
console copied to clipboard

cronjob UI broken after the kubernetes cluster upgrade to v1.26.3

Open LQBing opened this issue 2 years ago • 1 comments

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. image

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:

  1. Go to 'Application Workloads'
  2. Click on 'Jobs'
  3. Click on 'Cronjobs'
  4. Click one cronjob with api version 'batch/v1'
  5. See error

Expected behavior View existing cronjob fine & create new cronjob fine.

LQBing avatar Jul 10 '23 08:07 LQBing