kubesphere安装问题记录
-
Internal error occurred: conversion webhook for notification.kubesphere.io/v2beta1, Kind=Receiver failed: Post "https://notification-manager-webhook.kubesphere-monitoring-system.svc:443/convert?timeout=30s": x509: certificate signed by unknown authority
-
caBundle=$(kubectl get validatingWebhookConfiguration notification-manager-validating-webhook -o jsonpath='{.webhooks[0].clientConfig.caBundle}') cat > /tmp/patch.yaml <<EOF spec: conversion: webhook: clientConfig: caBundle: ${caBundle} service: namespace: kubesphere-monitoring-system EOF kubectl patch crd configs.notification.kubesphere.io --type=merge --patch-file /tmp/patch.yaml kubectl patch crd receivers.notification.kubesphere.io --type=merge --patch-file /tmp/patch.yaml -
kubectl edit validatingwebhookconfigurations users.iam.kubesphere.io
查找 failurePolicy 将Fail 改为 Ignore 后重启 ks-installer ,待安装完成后再改回 Fail -

mountvolume.setup failed for volume "kubesphere-config" : configmap "kubesphere-config" not found
查询报错信息,显示没有kubesphere-config这个configmap。应该去创建kubesphere-config这个configmap。但是在kubesphere的文档上看到有人调整了ks-apiserver的limit memory就好了,我查看ks-apiserver默认的limit memorr设置的是1G,我调整成4G,没想到ks-apiserver服务还真运行起来了。我也很纳闷,configmap跟内存有啥关系,先不管了。继续处理问题。