创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
操作系统信息
例如:虚拟机/物理机,Centos7.5/Ubuntu18.04,4C/8G
Kubernetes版本信息
将 kubectl version 命令执行结果贴在下方
容器运行时
将 docker version / crictl version / nerdctl version 结果贴在下方
KubeSphere版本信息
例如:v2.1.1/v3.0.0。离线安装还是在线安装。在已有K8s上安装还是使用kk安装。
问题是什么
报错日志是什level=DEBUG msg=“Patched resource” namespace="" name=ks-console gvk=“iam.kubesphere.io/v1beta1, Kind=GlobalRoleBinding”
level=DEBUG msg=“Patched resource” namespace="" name=ks-console-embed gvk=“kubesphere.io/v1alpha1, Kind=InstallPlan”
level=DEBUG msg=“Error creating resource via patch” namespace="" name=extensions-museum gvk=“kubesphere.io/v1alpha1, Kind=Repository” error="Repository.kubesphere.io \“extensions-museum\” is invalid: status.lastSyncTime: Invalid value: \“null\”: status.lastSyncTime in body must be of type string: \“null\”"
level=WARN msg=“upgrade failed” name=ks-core error="failed to create resource: Repository.kubesphere.io \“extensions-museum\” is invalid: status.lastSyncTime: Invalid value: \“null\”: status.lastSyncTime in body must be of type string: \“null\”"
Error: UPGRADE FAILED: failed to create resource: Repository.kubesphere.io “extensions-museum” is invalid: status.lastSyncTime: Invalid value: “null”: status.lastSyncTime in body must be of type string: “null”
么,最好有截图。