在 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

相关推荐
天衍四九-2 小时前
Docker容器实战系列(八):Docker生产最佳实践与避坑指南,系列终章
运维·docker·容器
Zhou1411363 小时前
Docker_03_DockerCompose多容器编排
运维·docker·容器
程序猿阿越3 小时前
containerd如何拉取镜像
后端·kubernetes·源码阅读
Elastic 中国社区官方博客4 小时前
Kubernetes attributes processor v1:它对 EDOT Collector 意味着什么
java·大数据·elasticsearch·搜索引擎·贪心算法·kubernetes·全文检索
啊哈一半醒5 小时前
Docker 底层知识:从 Namespace 到 UnionFS
运维·docker·容器
分布式存储与RustFS6 小时前
升级 RustFS 二进制不停机:一条一条换,留一条退路
运维·云原生·开源·对象存储·分布式存储·s3·性能基准
fruge7 小时前
飞牛OS部署Flare导航页:Docker Compose、YAML书签配置与cpolar公网访问
运维·docker·容器
xiaoligangting8 小时前
太原防火岗亭
云原生
Zhou1411368 小时前
Docker_02_Dockerfile与存储网络
网络·docker·容器
bllovepigpig9 小时前
操作系统个人学习笔记(四):K8s基础
笔记·学习·kubernetes