1. 准备openshift
  2. 部署helm2 (暂不支持helm3)
    可参考:https://devopscube.com/install-configure-helm-kubernetes/
  3. 由于openshift默认不允许在pod中使用root,因此需要规避掉该限制,可执行以下命令
    oc adm policy add-scc-to-group anyuid system:authenticated
  4. 部署kubephere
    kubectl apply -f https://raw.githubusercontent.com/kubesphere/ks-installer/master/kubesphere-minimal.yaml

安装好后,需要将 node-exporter ds 的所有 9100 换成 39100,以避免和 OpenShift 的 node-exporter 冲突