在 Kubernetes 上快速安装 KubeSphere v4.1.2

目录标题

安装文档

在 Kubernetes 上快速安装 KubeSphere

配置repo

csharp 复制代码
export https_proxy=10.10.x.x:7890
helm repo add stable https://charts.helm.sh/stable
helm repo update

安装

csharp 复制代码
helm upgrade --install -n kubesphere-system --create-namespace ks-core https://charts.kubesphere.io/main/ks-core-1.1.3.tgz --debug --wait --set global.imageRegistry=swr.cn-southwest-2.myhuaweicloud.com/ks --set extension.imageRegistry=swr.cn-southwest-2.myhuaweicloud.com/ks
csharp 复制代码
helm history ks-core -n kubesphere-system
helm status ks-core -n kubesphere-system
helm delete ks-core -n kubesphere-system

使用


插件

注意点1:sc需要配置

csharp 复制代码
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: prometheus-k8s-db-prometheus-k8s-0
  namespace: kubesphere-monitoring-system
  creationTimestamp: '2025-01-20T07:29:17Z'
  labels:
    app.kubernetes.io/instance: k8s
    app.kubernetes.io/managed-by: prometheus-operator
    app.kubernetes.io/name: prometheus
    operator.prometheus.io/name: k8s
    operator.prometheus.io/shard: '0'
    prometheus: k8s
  finalizers:
    - kubernetes.io/pvc-protection
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 20Gi
  volumeMode: Filesystem
  storageClassName: csi-localpv

no persistent volumes available for this claim and no storage class is set

注意点2:WhizardTelemetry 监控、日志、数据流水线 要配置集群 Agent

相关推荐
极客先躯14 小时前
高级java每日一道面试题-2026年02月03日-实战篇[Docker]-如何备份和恢复 Docker Volume?
运维·docker·容器·自动化·备份·持久化·恢复
江湖有缘14 小时前
自建私有任务管理平台|Docker Compose部署Ticky完整教程
运维·docker·容器
梦想的颜色15 小时前
Docker 知识全貌:一份体系化的知识结构报告
docker·云原生·容器·eureka
zhangfeng113315 小时前
国家超算中心K8s 容器服务,新版容器和老版本的一些坑
云原生·容器·kubernetes
开发者联盟league1 天前
使用k8s安装Sonarqube
云原生·容器·kubernetes
m0_738120721 天前
渗透测试基础——基于Docker的Rsync服务靶场搭建与原理讲解
运维·服务器·网络·安全·web安全·docker·容器
小义_1 天前
【Ansible】(三)基础配置与连接设置
云原生·ansible
松岩1 天前
网络问题导致 Pod Pending
kubernetes·aiops
极客先躯1 天前
高级java每日一道面试题-2026年02月09日-实战篇[Docker]-Docker 容器有哪些安全风险?如何缓解?
java·运维·网络·安全·docker·容器
yuanzhengme1 天前
Ollama【部署 07】搭建本地智能体的简单说明(局域网离线部署Ollama+模型迁移+Docker部署AnythingLLM)
运维·docker·容器·大模型·ollama·本地智能体