• DevOps
  • uc-jenkins-update-center pod创建失败

kubesphere从2.0升级到2.1的过程中,遇到了kubesphere-devops-system 下的很多服务无法正常启动,现发现uc-jenkins-update-center 这个deploy无法正常创建对应的pod服务,报错如下:
status:
conditions:

  • lastTransitionTime: 2020-03-28T13:03:32Z
    lastUpdateTime: 2020-03-28T13:23:01Z
    message: ReplicaSet “uc-jenkins-update-center-6869f47564″ has successfully progressed.
    reason: NewReplicaSetAvailable
    status: “True”
    type: Progressing

  • lastTransitionTime: 2020-03-28T13:23:03Z
    lastUpdateTime: 2020-03-28T13:23:03Z
    message: Deployment does not have minimum availability.
    reason: MinimumReplicasUnavailable
    status: “False”
    type: Available

  • lastTransitionTime: 2020-03-28T13:23:03Z
    lastUpdateTime: 2020-03-28T13:23:03Z
    message: ’pods “uc-jenkins-update-center-6869f47564-4ptwd” is forbidden: failed
    quota: kubesphere-devops-system: must specify limits.memory,requests.memory’
    reason: FailedCreate
    status: “True”
    type: ReplicaFailure
    observedGeneration: 6
    unavailableReplicas: 1

    quota: kubesphere-devops-system: must specify limits.memory,requests.memory’ 这一行报错感觉有些看不懂,请社区大佬解答下。

你是不是给kubesphere-devops-system创建了resourcequota,这个就会导致这个问题,建议先删除resourcequota