在 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

相关推荐
慌糖8 小时前
微服务介绍
微服务·云原生·架构
高山莫衣14 小时前
Docker Desktop导致存储空间不足时的解决方案
docker·容器·eureka
鹏大师运维14 小时前
在银河麒麟V10 SP1上手动安装与配置高版本Docker的完整指南
linux·运维·docker·容器·麒麟·统信uos·中科方德
Ahlson14 小时前
【fnNAS】docker的nginx配置html
nginx·docker·容器·fnnas
LuckyLay14 小时前
Compose 常用命令详解——AI教你学Docker
docker·容器·eureka
阿里云云原生14 小时前
阿里云可观测 2025 年 6 月产品动态
云原生
阿里云云原生14 小时前
30 秒锁定黑客攻击:SLS SQL 如何从海量乱序日志中“揪”出攻击源
云原生
moppol15 小时前
容器化 vs 虚拟机:什么时候该用 Docker?什么时候必须用 VM?
运维·docker·容器
没有名字的小羊15 小时前
7.可视化的docker界面——portainer
docker·容器·eureka
斯普信专业组16 小时前
K8s环境下基于Nginx WebDAV与TLS/SSL的文件上传下载部署指南
nginx·kubernetes·ssl