安装prometheus-operator,报错manifest_sorter.go:175: info: skipping unknown hook: “crd-install”,…

安装prometheus-operator,报错manifest_sorter.go:175: info: skipping unknown hook: “crd-install”,Error: unable to build kubernetes objects from release manifest: [unable to recognize “”: no matches for kind “Alertmanager” in version “monitoring.coreos.com/v1”, unable to recognize “”: no matches for kind “Prometheus” in version “monitoring.coreos.com/v1”, unable to recognize “”: no matches for kind “PrometheusRule” in version “monitoring.coreos.com/v1”, unable to recognize “”: no matches for kind “ServiceMonitor” in version “monitoring.coreos.com/v1”] # 解决办法: kubectl create namespace monitoring kubectl apply -f https://raw.githubusercontent.com/coreos/prometheus-operator/master/example/prometheus-operator-crd/alertmanager.crd.yaml kubectl apply -f https://raw.githubusercontent.com/coreos/prometheus-operator/master/example/prometheus-operator-crd/prometheus.crd.yaml kubectl apply -f https://raw.githubusercontent.com/coreos/prometheus-operator/master/example/prometheus-operator-crd/prometheusrule.crd.yaml kubectl apply -f https://raw.githubusercontent.com/coreos/prometheus-operator/master/example/prometheus-operator-crd/servicemonitor.crd.yaml kubectl apply -f https://raw.githubusercontent.com/coreos/prometheus-operator/master/example/prometheus-operator-crd/podmonitor.crd.yaml helm install prometheus-operator –namespace monitoring micro/prometheus-operator -f prometheus-operator.yaml

圈主 管理员

热门评论
:
该帖子评论已关闭
图片审查中...
编辑答案: 我的回答: 最多上传一张图片和一个附件
x
x
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索