thanos-io / kube-thanos

Kubernetes specific configuration for deploying Thanos.
Apache License 2.0
520 stars 177 forks source link

Can not quick start when following up the tutorials #304

Open cui3093 opened 1 year ago

cui3093 commented 1 year ago

Do I misunderstanding the tutorial of the Quick start?

When I did followed as the tutorial, I met below error:

[root@k8s-master01 kube-thanos-0.29.0]# kubectl create -f manifests/
deployment.apps/thanos-query created
service/thanos-query created
serviceaccount/thanos-query created
service/thanos-receive-ingestor-default created
statefulset.apps/thanos-receive-ingestor-default created
serviceaccount/thanos-receive-ingestor created
configmap/hashring-config created
Warning: spec.template.spec.nodeSelector[beta.kubernetes.io/os]: deprecated since v1.14; use "kubernetes.io/os" instead
deployment.apps/thanos-receive-router created
service/thanos-receive-router created
serviceaccount/thanos-receive-router created
service/thanos-store created
serviceaccount/thanos-store created
statefulset.apps/thanos-store created
resource mapping not found for name: "thanos-query" namespace: "thanos" from "manifests/thanos-query-serviceMonitor.yaml": no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1"
ensure CRDs are installed first
resource mapping not found for name: "thanos-receive-ingestor" namespace: "thanos" from "manifests/thanos-receive-ingestor-serviceMonitor.yaml": no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1"
ensure CRDs are installed first
resource mapping not found for name: "thanos-store" namespace: "thanos" from "manifests/thanos-store-serviceMonitor.yaml": no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1"
ensure CRDs are installed first

Could you help me to find out where it's wrong?