You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a kubernetes/prometheus-deployment.yaml, but my 1.17 cluster did not accept it as syntactically valid. I've modified the file to use the current apps/v1 version of Deployment, and added the necessary selector so the deployment actually gets parsed and loaded.
You might want to edit the article; I'll add a PR for this as well.
The text was updated successfully, but these errors were encountered:
torenware
added a commit
to torenware/prometheus-demo
that referenced
this issue
Apr 24, 2020
Upped apiVersion to apps/v1 and added spec.selector section. File now loads and works on Kubernetes 1.17.
Signed-off-by: Rob Thorne <[email protected]>
I'm doing your tutorial An introduction to monitoring with Prometheus and tripped on the line
There is a kubernetes/prometheus-deployment.yaml, but my 1.17 cluster did not accept it as syntactically valid. I've modified the file to use the current
apps/v1
version of Deployment, and added the necessary selector so the deployment actually gets parsed and loaded.You might want to edit the article; I'll add a PR for this as well.
The text was updated successfully, but these errors were encountered: