kubesphere / ks-installer

Install KubeSphere on existing Kubernetes cluster
https://kubesphere.io
Apache License 2.0
532 stars 746 forks source link

Observability is missing in the Kubernetes cluster provisioned by kind #869

Open FeynmanZhou opened 4 years ago

FeynmanZhou commented 4 years ago

I created a Kubernetes cluster using kind, then I installed KubeSphere on an exiting cluster as a host. Next, I imported the host cluster into KubeSphere, but the observability is missing, my installation steps are recorded in this guide.

Please see the following screenshots:

Tip: The host cluster runtime is contained instead of docker, is it will affect the observability? When I import another member cluster, anything looks fine.

Logging

image

Monitoring

image

Events

image

Audit Logs

image

FeynmanZhou commented 4 years ago

@benjaminhuo @huanggze @wanjunlei @junotx Please help to take a look at this issue, thanks!

benjaminhuo commented 4 years ago

What's the result of below command?

kubectl -n kubesphere-monitoring-system get pod
kubectl -n kubesphere-logging-system get pod
FeynmanZhou commented 4 years ago

What's the result of below command?

kubectl -n kubesphere-monitoring-system get pod
kubectl -n kubesphere-logging-system get pod

All Pods looks normal, I think this is very strange.

kubectl get pod --all-namespaces
NAMESPACE                      NAME                                                              READY   STATUS      RESTARTS   AGE
demo                           nginx-w674d2-64b8f589b9-qnm4d                                     1/1     Running     0          32h
istio-system                   istio-citadel-6dc9fd8fc-gkgqf                                     1/1     Running     0          33h
istio-system                   istio-galley-6bc47887d7-hqdx6                                     1/1     Running     0          33h
istio-system                   istio-ingressgateway-5bf76c6574-k426k                             1/1     Running     0          33h
istio-system                   istio-init-crd-10-1.4.8-v7b9q                                     0/1     Completed   0          33h
istio-system                   istio-init-crd-11-1.4.8-7q6w7                                     0/1     Completed   0          33h
istio-system                   istio-init-crd-12-1.4.8-xk7qn                                     0/1     Completed   0          33h
istio-system                   istio-init-crd-14-1.4.8-v5f9j                                     0/1     Completed   0          33h
istio-system                   istio-pilot-86f4d4847b-xbdr9                                      2/2     Running     1          33h
istio-system                   istio-policy-64b69ffd4c-ds54v                                     2/2     Running     3          33h
istio-system                   istio-sidecar-injector-77dcf6f548-52b7w                           1/1     Running     0          33h
istio-system                   istio-telemetry-5c896cc8b8-xtnpz                                  2/2     Running     3          33h
istio-system                   jaeger-collector-57b767759b-dvmbl                                 1/1     Running     0          33h
istio-system                   jaeger-es-index-cleaner-1594079700-w7qnd                          0/1     Completed   0          33h
istio-system                   jaeger-es-index-cleaner-1594166100-plbnq                          0/1     Completed   0          9h
istio-system                   jaeger-operator-bfb5f956f-bn49x                                   1/1     Running     0          33h
istio-system                   jaeger-query-84974db87b-tlfz4                                     2/2     Running     0          33h
kube-federation-system         kubefed-admission-webhook-74c8658f8-tp5bb                         1/1     Running     0          33h
kube-federation-system         kubefed-controller-manager-54b459dfc4-dp7kf                       1/1     Running     0          33h
kube-federation-system         kubefed-controller-manager-54b459dfc4-p7jtk                       1/1     Running     0          33h
kube-system                    coredns-66bff467f8-984xp                                          1/1     Running     0          34h
kube-system                    coredns-66bff467f8-bh5sm                                          1/1     Running     0          34h
kube-system                    etcd-kind-control-plane                                           1/1     Running     0          34h
kube-system                    kindnet-2t5rx                                                     1/1     Running     0          34h
kube-system                    kube-apiserver-kind-control-plane                                 1/1     Running     0          34h
kube-system                    kube-controller-manager-kind-control-plane                        1/1     Running     3          34h
kube-system                    kube-proxy-g8mqj                                                  1/1     Running     0          34h
kube-system                    kube-scheduler-kind-control-plane                                 1/1     Running     3          34h
kube-system                    metrics-server-678d5c87c-x4j5k                                    1/1     Running     0          34h
kubesphere-alerting-system     alerting-client-594f74777-p4m5l                                   1/1     Running     1          33h
kubesphere-alerting-system     alerting-db-ctrl-job-tqlwr                                        0/1     Completed   1          33h
kubesphere-alerting-system     alerting-db-init-job-wwrxc                                        0/1     Completed   0          33h
kubesphere-alerting-system     alerting-executor-578c796b47-ll4wm                                2/2     Running     0          33h
kubesphere-alerting-system     alerting-manager-68568697fb-zkmmz                                 1/1     Running     0          33h
kubesphere-alerting-system     alerting-watcher-d99f6856c-djkvv                                  1/1     Running     0          33h
kubesphere-alerting-system     notification-db-ctrl-job-qgdxb                                    0/1     Completed   0          33h
kubesphere-alerting-system     notification-db-init-job-9xm85                                    0/1     Completed   0          33h
kubesphere-alerting-system     notification-deployment-6dd47fd9f5-hcjmr                          1/1     Running     0          33h
kubesphere-controls-system     default-http-backend-857d7b6856-5sr62                             1/1     Running     0          33h
kubesphere-controls-system     kubectl-admin-d4bcbdccc-csj2p                                     1/1     Running     0          33h
kubesphere-devops-system       ks-jenkins-54455f5db8-bqpqd                                       1/1     Running     0          33h
kubesphere-devops-system       s2ioperator-0                                                     1/1     Running     1          33h
kubesphere-devops-system       uc-jenkins-update-center-684f56d866-tn2vw                         1/1     Running     0          33h
kubesphere-logging-system      elasticsearch-logging-curator-elasticsearch-curator-159408rjzk9   0/1     Completed   0          32h
kubesphere-logging-system      elasticsearch-logging-curator-elasticsearch-curator-159417twshk   0/1     Completed   0          8h
kubesphere-logging-system      elasticsearch-logging-data-0                                      1/1     Running     0          33h
kubesphere-logging-system      elasticsearch-logging-discovery-0                                 1/1     Running     0          33h
kubesphere-logging-system      fluent-bit-fpr5z                                                  1/1     Running     0          33h
kubesphere-logging-system      fluentbit-operator-58bbff7957-nqs79                               1/1     Running     0          33h
kubesphere-logging-system      ks-events-exporter-579f6687cc-k5fls                               2/2     Running     0          33h
kubesphere-logging-system      ks-events-operator-685774df86-xcv5f                               1/1     Running     0          33h
kubesphere-logging-system      kube-auditing-operator-d6fcc89df-dgzd6                            1/1     Running     0          33h
kubesphere-logging-system      kube-auditing-webhook-deploy-97b6f9778-xsrh9                      1/1     Running     0          33h
kubesphere-logging-system      logsidecar-injector-deploy-64b656c9bd-rqm84                       2/2     Running     0          33h
kubesphere-logging-system      logsidecar-injector-deploy-64b656c9bd-x6thl                       2/2     Running     0          33h
kubesphere-monitoring-system   kube-state-metrics-95c974544-nfmj5                                3/3     Running     0          33h
kubesphere-monitoring-system   node-exporter-hhpvs                                               2/2     Running     0          33h
kubesphere-monitoring-system   prometheus-k8s-0                                                  3/3     Running     1          33h
kubesphere-monitoring-system   prometheus-operator-84d58bf775-jk5xz                              2/2     Running     0          33h
kubesphere-system              etcd-fcdf655cf-nhk5q                                              1/1     Running     0          33h
kubesphere-system              ks-apiserver-869d558b48-9hgk7                                     1/1     Running     1          33h
kubesphere-system              ks-console-c7d5bd997-7vxxp                                        1/1     Running     0          33h
kubesphere-system              ks-controller-manager-d9474db45-m2pn7                             1/1     Running     0          33h
kubesphere-system              ks-installer-5b988669b9-4wpw2                                     1/1     Running     0          34h
kubesphere-system              minio-7bfdb5968b-x6zlw                                            1/1     Running     0          33h
kubesphere-system              mysql-7f64d9f584-x782s                                            1/1     Running     0          33h
kubesphere-system              openldap-0                                                        1/1     Running     0          33h
kubesphere-system              redis-644bc597b9-kmffp                                            1/1     Running     0          33h
kubesphere-system              tower-6f4fcb978f-lllc7                                            1/1     Running     0          33h
local-path-storage             local-path-provisioner-bd4bb6b75-xt9zg                            1/1     Running     1          34h
openpitrix-system              hyperpitrix-generate-kubeconfig-hjxd2                             0/2     Completed   0          33h
openpitrix-system              hyperpitrix-release-app-job-g2pzk                                 0/1     Completed   0          33h
openpitrix-system              openpitrix-hyperpitrix-deployment-6456d76bd5-v64d6                1/1     Running     0          33h