giantswarm/prometheus

unable to recognize - no matches for kind "Deployment" in version "extensions/v1beta1"

zerowebcorp opened this issue · 1 comments

Getting this error when setting up.
k8s version

root@Dell-XPS-7590:~# kubectl version
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.2", GitCommit:"52c56ce7a8272c798dbc29846288d7cd9fbae032", GitTreeState:"clean", BuildDate:"2020-04-16T11:56:40Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.2", GitCommit:"52c56ce7a8272c798dbc29846288d7cd9fbae032", GitTreeState:"clean", BuildDate:"2020-04-16T11:48:36Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
root@Dell-XPS-7590:~#
root@Dell-XPS-7590:~# kubectl apply -f https://raw.githubusercontent.com/giantswarm/prometheus/master/manifests-all.yaml
namespace/monitoring created
clusterrolebinding.rbac.authorization.k8s.io/prometheus created
clusterrole.rbac.authorization.k8s.io/prometheus created
serviceaccount/prometheus-k8s created
configmap/alertmanager-templates created
configmap/alertmanager created
service/alertmanager created
configmap/grafana-import-dashboards created
job.batch/grafana-import-dashboards created
secret/grafana created
service/grafana created
configmap/prometheus-core created
serviceaccount/kube-state-metrics created
service/kube-state-metrics created
service/prometheus-node-exporter created
configmap/prometheus-rules created
service/prometheus created
unable to recognize "https://raw.githubusercontent.com/giantswarm/prometheus/master/manifests-all.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"
unable to recognize "https://raw.githubusercontent.com/giantswarm/prometheus/master/manifests-all.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"
unable to recognize "https://raw.githubusercontent.com/giantswarm/prometheus/master/manifests-all.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"
unable to recognize "https://raw.githubusercontent.com/giantswarm/prometheus/master/manifests-all.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"
unable to recognize "https://raw.githubusercontent.com/giantswarm/prometheus/master/manifests-all.yaml": no matches for kind "DaemonSet" in version "extensions/v1beta1"
unable to recognize "https://raw.githubusercontent.com/giantswarm/prometheus/master/manifests-all.yaml": no matches for kind "DaemonSet" in version "extensions/v1beta1"

I have fixed here but we are not actively maintaining this project anymore, so we recommend to use prometheus operator.