DEV Community

Discussion on: How to Set Up a Prometheus, Grafana and Alertmanager Monitoring Stack on DigitalOcean Kubernetes

Collapse
 
shaikmuzakkir profile image
muzakkir

Hi,
I'm seeing an error while setting up. Could you please help :

[root@cdc-centos-172 doks-monitoring]# kubectl apply -f "${APP_INSTANCE_NAME}_manifest.yaml" --namespace "${NAMESPACE}"
serviceaccount/alertmanager unchanged
configmap/sammy-cluster-monitoring-alertmanager-config created
service/sammy-cluster-monitoring-alertmanager-operated created
service/sammy-cluster-monitoring-alertmanager created
configmap/sammy-cluster-monitoring-dashboards created
serviceaccount/grafana unchanged
configmap/sammy-cluster-monitoring-grafana-ini created
configmap/sammy-cluster-monitoring-grafana-datasources created
configmap/sammy-cluster-monitoring-grafana-dashboardproviders created
secret/sammy-cluster-monitoring-grafana created
service/sammy-cluster-monitoring-grafana created
serviceaccount/kube-state-metrics unchanged
clusterrole.rbac.authorization.k8s.io/kube-state-metrics unchanged
clusterrolebinding.rbac.authorization.k8s.io/kube-state-metrics unchanged
service/sammy-cluster-monitoring-kube-state-metrics created
serviceaccount/node-exporter unchanged
serviceaccount/prometheus unchanged
clusterrole.rbac.authorization.k8s.io/prometheus unchanged
clusterrolebinding.rbac.authorization.k8s.io/prometheus unchanged
configmap/sammy-cluster-monitoring-prometheus-config created
service/sammy-cluster-monitoring-prometheus created
unable to recognize "sammy-cluster-monitoring_manifest.yaml": no matches for kind "StatefulSet" in version "apps/v1beta2"
unable to recognize "sammy-cluster-monitoring_manifest.yaml": no matches for kind "StatefulSet" in version "apps/v1beta2"
unable to recognize "sammy-cluster-monitoring_manifest.yaml": no matches for kind "Deployment" in version "apps/v1beta2"
unable to recognize "sammy-cluster-monitoring_manifest.yaml": no matches for kind "DaemonSet" in version "extensions/v1beta1"
unable to recognize "sammy-cluster-monitoring_manifest.yaml": no matches for kind "StatefulSet" in version "apps/v1beta2"