• 安装部署DevOps
  • kubeSphere安装devops但是没有devops选项(新建的企业空间)

创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。

KubeSphere版本信息
v4.1.2

问题是什么
kubeSphere安装devops但是没有devops选项(新建的企业空间)

不知道是哪里出了问题

刷新页面了吗

kubectl -n kubesphere-devops-system get installplans devops -o yaml 看看

  • hou 回复了此帖

    stoneshi-yunify 刷新过了

    apiVersion: kubesphere.io/v1alpha1

    kind: InstallPlan

    metadata:

    annotations:

    kubesphere.io/creator: admin

    creationTimestamp: "2025-02-12T11:12:28Z"

    finalizers:

    - kubesphere.io/installplan-protection

    generation: 13

    name: devops

    resourceVersion: "6254173"

    uid: 3735ea11-ab09-4eff-b879-b873ab48f3e1

    spec:

    clusterScheduling:

    placement:

    clusters:

    - host

    config: |+

    extension:

    apiserver:

    replicas: 1

    resources:

    limits:

    cpu: 500m

    memory: 1024Mi

    requests:

    memory: 128Mi

    cpu: 100m

    agent:

    apiserver:

    replicas: 1

    resources:

    limits:

    cpu: 500m

    memory: 1024Mi

    requests:

    memory: 128Mi

    cpu: 100m

    controller:

    replicas: 1

    resources:

    limits:

    cpu: 500m

    memory: 1024Mi

    requests:

    cpu: 100m

    memory: 128Mi

    jenkins:

    securityRealm:

    openIdConnect:

    # The kubesphere-core api used for jenkins OIDC

    # If you want to access to jenkinsWebUI, the kubesphereCoreApi must be specified and browser-accessible

    # Modifying this configuration will take effect only during installation

    # If you wish for changes to take effect after installation, you need to update the jenkins-casc-config ConfigMap, copy the securityRealm configuration from jenkins.yaml to jenkins_user.yaml, save, and wait for approximately 70 seconds for the changes to take effect.

    kubesphereCoreApi: "http://ks-apiserver:30880"

    # The jenkins web URL used for OIDC redirect

    jenkinsURL: "http://devops-jenkins:30180"

    Master:

    resources:

    requests:

    cpu: 0.5

    memory: 6Gi

    limits:

    cpu: 2

    memory: 6Gi # recommend set same as requests.memory

    # smtp server settings for notification

    smtp:

    EMAIL_SMTP_HOST: "mail.example.com"

    EMAIL_SMTP_PORT: "465"

    EMAIL_USE_SSL: false

    EMAIL_FROM_NAME: "KubeSphere"

    EMAIL_FROM_ADDR: "admin@example.com"

    EMAIL_FROM_PASS: "P@ssw0rd"

    # sonarQube settings

    sonarqube:

    serverUrl: ""

    authToken: ""

    persistence:

    size: 16Gi

    storageClass: ""

    accessMode: ReadWriteOnce

    kubeconfigEnabled: true

    enabled: true

    extension:

    name: devops

    version: 1.1.1

    upgradeStrategy: Manual

    status:

    clusterSchedulingStatuses:

    host:

    conditions:

    - lastTransitionTime: "2025-02-12T11:13:16Z"

    message: Install complete

    reason: InstallSuccessful

    status: "True"

    type: Installed

    - lastTransitionTime: "2025-02-12T11:13:14Z"

    message: The extension agent has been successfully initialized.

    reason: Initialized

    status: "True"

    type: Initialized

    configHash: 27c44748d145f42a

    jobName: helm-executor-install-devops-agent-7pn7pf

    releaseName: devops-agent

    state: Installed

    stateHistory:

    - lastTransitionTime: "2025-02-12T11:13:15Z"

    state: Preparing

    - lastTransitionTime: "2025-02-12T11:13:15Z"

    state: Installing

    - lastTransitionTime: "2025-02-12T11:13:16Z"

    state: Installed

    targetNamespace: kubesphere-devops-system

    version: 1.1.1

    conditions:

    - lastTransitionTime: "2025-02-12T11:12:30Z"

    message: Install complete

    reason: InstallSuccessful

    status: "True"

    type: Installed

    - lastTransitionTime: "2025-02-12T11:12:28Z"

    message: The extension devops has been successfully initialized.

    reason: Initialized

    status: "True"

    type: Initialized

    configHash: 27c44748d145f42a

    enabled: true

    jobName: helm-executor-install-devops-2t4zzn

    releaseName: devops

    state: Installed

    stateHistory:

    - lastTransitionTime: "2025-02-12T11:12:29Z"

    state: Preparing

    - lastTransitionTime: "2025-02-12T11:12:29Z"

    state: Installing

    - lastTransitionTime: "2025-02-12T11:12:30Z"

    state: Installed

    targetNamespace: kubesphere-devops-system

    version: 1.1.1