在 Kubernetes 上快速安装 KubeSphere v4.1.2
安装文档
配置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-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
原文地址:https://blog.csdn.net/hezuijiudexiaobai/article/details/145258579
免责声明:本站文章内容转载自网络资源,如侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!