Skip to content

无法安装扩展中心的插件 #2548

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
flyrun9527 opened this issue Apr 28, 2025 · 3 comments
Open

无法安装扩展中心的插件 #2548

flyrun9527 opened this issue Apr 28, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@flyrun9527
Copy link

What is version of KubeKey has the issue?

3.1.9

What is your os environment?

22.04

KubeKey config file

apiVersion: kubekey.kubesphere.io/v1alpha2
kind: Cluster
metadata:
  name: sample
spec:
  hosts:
  - {name: k8s-master, address: 192.168.130.100, internalAddress: 192.168.130.100, user: ubuntu, password: ***}
  - {name: k8s-node1, address: 192.168.130.101, internalAddress: 192.168.130.101, user: ubuntu, password: ***}
  roleGroups:
    etcd:
    - k8s-master
    control-plane:
    - k8s-master
    worker:
    - k8s-node1
  controlPlaneEndpoint:
    internalLoadbalancer: kube-vip # 如需部署⾼可⽤集群,且⽆负载均衡器可⽤,可开启该参数,做集群内部负载均衡
    externalDNS: false    
    domain: lb.kubesphere.local
    address: "192.168.130.250"
    port: 6443
  system:
    # The ntp servers of chrony.
    ntpServers:
      - time1.cloud.tencent.com
      - ntp.aliyun.com
      - k8s-master # Set the node name in `hosts` as ntp server if no public ntp servers access.
    timezone: "Asia/Shanghai"
    # Specify additional packages to be installed. The ISO file which is contained in the artifact is required.
    rpms:
      - nfs-utils
    # Specify additional packages to be installed. The ISO file which is contained in the artifact is required.
    debs: 
      - nfs-common
    postInstall:
      - name: clean tmps files
        bash: |
            rm -fr /tmp/kubekey/*      
  kubernetes:
    version: v1.28.15
    clusterName: cluster.local
    autoRenewCerts: true
    containerManager: containerd # 部署 kubernetes v1.24+ 版本,建议将 containerManager 设置为 containerd
    apiserverArgs:
    - service-node-port-range=80-65535    
  network:
    plugin: calico
    kubePodsCIDR: 10.233.64.0/18
    kubeServiceCIDR: 10.233.0.0/18
  registry:
    privateRegistry: ""
    registryMirrors: ["https://docker.1ms.run","https://hub.rat.dev","https://docker.1panel.live","https://hub.rat.dev","https://proxy.1panel.live","https://ghcr.nju.edu.cn","https://docker.registry.cyou","https://dockercf.jsdelivr.fyi","https://docker.rainbond.cc","https://registry.cn-shenzhen.aliyuncs.com","https://dockertest.jsdelivr.fyi","https://mirror.aliyuncs.com","https://mirror.baidubce.com","https://docker.mirrors.ustc.edu.cn","https://docker.mirrors.sjtug.sjtu.edu.cn","https://mirror.iscas.ac.cn","https://docker.nju.edu.cn","https://docker.m.daocloud.io","https://dockerproxy.com","https://docker.jsdelivr.fyi","https://docker-cf.registry.cyou","https://dockerhub.icu","https://registry.docker-cn.com","https://docker.mirrors.ustc.edu.cn","https://hub-mirror.c.163.com","https://mirror.baidubce.com","https://ccr.ccs.tencentyun.com"]
    insecureRegistries: ["192.168.112.124:20080"]
    dockerDataDir: "/data/docker"
    containerdDataDir: /data/containerd
    registryDataDir: /data/registry

A clear and concise description of what happend.

2025-04-28T15:26:54.153845550+08:00 <-- POST /apis/kubesphere.io/v1alpha1/installplans 2025/04/28T15:26:54.153

2025-04-28T15:27:13.164052718+08:00 Error: read ECONNRESET

2025-04-28T15:27:13.164086707+08:00 at TCP.onStreamRead (node:internal/stream_base_commons:217:20) {

2025-04-28T15:27:13.164090687+08:00 errno: -104,

2025-04-28T15:27:13.164093957+08:00 code: 'ECONNRESET',

2025-04-28T15:27:13.164096887+08:00 syscall: 'read',

2025-04-28T15:27:13.164098957+08:00 headerSent: true

2025-04-28T15:27:13.164100997+08:00 }

Relevant log output

Additional information

No response

@flyrun9527 flyrun9527 added the bug Something isn't working label Apr 28, 2025
@flyrun9527
Copy link
Author

WhizardTelemetry 平台服务

@flyrun9527 flyrun9527 changed the title 无法安装部分插件 无法安装扩展中心的插件 Apr 28, 2025
@skyhhjmk
Copy link

skyhhjmk commented May 1, 2025

你的网络环境怎么样,有没有在安装时指定export KKZONE=cn,并且在安装kubesphere时是否遵循文档设置了镜像仓库

@redscholar
Copy link
Collaborator

redscholar commented May 8, 2025

@flyrun9527 看日志,貌似是kubernetes安装好了。然后安装的KubeSphere 4.x有问题。
论坛里面有很多关于扩展组件无法安装的问题的解决方案:https://ask.kubesphere.com.cn/forum/t/extensions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants