在 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

相关推荐
拾忆,想起6 小时前
Dubbo服务调用流程全解析:从请求到响应的微服务通信之旅
服务器·网络·微服务·云原生·架构·dubbo
回忆是昨天里的海6 小时前
docker存储-目录挂载
运维·docker·容器
用什么都重名7 小时前
Docker 镜像源配置指南
运维·docker·容器
忙里偷闲学python7 小时前
containerd_buildkitd构建镜像,告别docker构建
运维·docker·容器
S***42808 小时前
后端在微服务中的服务监控
微服务·云原生·架构
阿拉斯攀登9 小时前
Docker 全面解析:从核心概念到实践应用
docker·云原生·容器·架构
哲Zheᗜe༘10 小时前
学习K8S-Deployment资源对象
docker·容器·kubernetes
生活爱好者!10 小时前
【影视项目】NAS 部署稳定视频订阅源咪咕
服务器·网络·docker·容器·音视频
阿里云云原生10 小时前
2025 SECon × AgentX 大会:AI 原生应用架构专场精彩回顾 & PPT 下载
云原生
robin591110 小时前
容器-PUSH镜像卡住问题排查
容器·golang·kubernetes