目录标题
- 安装文档
- 配置repo
- 安装
- 使用
- 插件
安装文档
在 Kubernetes 上快速安装 KubeSphere
配置repo
export https_proxy=10.10.x.x:7890
helm repo add stable https://charts.helm.sh/stable
helm repo update
安装
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
helm history ks-core -n kubesphere-system
helm status ks-core -n kubesphere-system
helm delete ks-core -n kubesphere-system
使用
插件
注意点1:sc需要配置
kind: PersistentVolumeClaim
apiVersion: v1
metadata:name: prometheus-k8s-db-prometheus-k8s-0namespace: kubesphere-monitoring-systemcreationTimestamp: '2025-01-20T07:29:17Z'labels:app.kubernetes.io/instance: k8sapp.kubernetes.io/managed-by: prometheus-operatorapp.kubernetes.io/name: prometheusoperator.prometheus.io/name: k8soperator.prometheus.io/shard: '0'prometheus: k8sfinalizers:- kubernetes.io/pvc-protection
spec:accessModes:- ReadWriteOnceresources:requests:storage: 20GivolumeMode: FilesystemstorageClassName: csi-localpv
no persistent volumes available for this claim and no storage class is set
注意点2:WhizardTelemetry 监控、日志、数据流水线 要配置集群 Agent