prometheus-operator / kube-prometheus

Use Prometheus to monitor Kubernetes and applications running on Kubernetes
https://prometheus-operator.dev/
Apache License 2.0
6.75k stars 1.93k forks source link

kube-prometheus-release-0.13 不能与rancher 同时部署吗 #2399

Closed yangrenyue closed 4 weeks ago

yangrenyue commented 6 months ago

k8s 集群版本: v1.27.6

helm 部署rancher 2.8.1 版本 [root@k8s-master01 ~]$ helm list -A NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION fleet cattle-fleet-system 1 2024-04-15 10:23:18.063754516 +0000 UTC deployed fleet-103.1.0+up0.9.0 0.9.0
fleet-crd cattle-fleet-system 1 2024-04-15 10:08:19.763368058 +0000 UTC deployed fleet-crd-103.1.0+up0.9.0 0.9.0
rancher cattle-system 1 2024-04-15 18:21:38.313943792 +0800 CST deployed rancher-2.8.1 v2.8.1
rancher-provisioning-capi cattle-provisioning-capi-system 2 2024-04-15 10:15:33.656932208 +0000 UTC deployed rancher-provisioning-capi-103.2.0+up0.0.1 1.4.4
rancher-webhook cattle-system 1 2024-04-15 10:23:42.811456982 +0000 UTC deployed rancher-webhook-103.0.1+up0.4.2 0.4.2

当我部署kube-prometheus-release-0.13 的时候, 发现与rancher之间有冲突, 这个问题应该如何解决那 [root@k8s-master01 ~/kube-prometheus-release-0.13]$ kubectl apply --server-side -f manifests/setup customresourcedefinition.apiextensions.k8s.io/alertmanagerconfigs.monitoring.coreos.com serverside-applied customresourcedefinition.apiextensions.k8s.io/podmonitors.monitoring.coreos.com serverside-applied customresourcedefinition.apiextensions.k8s.io/probes.monitoring.coreos.com serverside-applied customresourcedefinition.apiextensions.k8s.io/prometheusagents.monitoring.coreos.com serverside-applied customresourcedefinition.apiextensions.k8s.io/scrapeconfigs.monitoring.coreos.com serverside-applied customresourcedefinition.apiextensions.k8s.io/thanosrulers.monitoring.coreos.com serverside-applied namespace/monitoring serverside-applied Apply failed with 1 conflict: conflict with "rancher" using apiextensions.k8s.io/v1: .spec.versions Please review the fields above--they currently have other managers. Here are the ways you can resolve this warning:

github-actions[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had any activity in the last 60 days. Thank you for your contributions.

github-actions[bot] commented 4 weeks ago

This issue was closed because it has not had any activity in the last 120 days. Please reopen if you feel this is still valid.