Skip to content
Snippets Groups Projects
Commit 86e58549 authored by Brandon Philips's avatar Brandon Philips
Browse files

kube-prometheus: put in kube-system

These manifests should live in kube-system; otherwise the label selector
won't work.
parent ce6b7009
Branches
Tags
No related merge requests found
......@@ -2,5 +2,5 @@
hack/cluster-monitoring/deploy
kubectl --namespace=kube-system apply -f manifests/k8s/self-hosted
kubectl apply -f manifests/k8s/self-hosted
......@@ -2,5 +2,5 @@
hack/cluster-monitoring/teardown
kubectl --namespace=kube-system delete -f manifests/k8s/self-hosted
kubectl delete -f manifests/k8s/self-hosted
apiVersion: v1
kind: Service
metadata:
namespace: kube-system
name: kube-controller-manager-prometheus-discovery
labels:
k8s-app: kube-controller-manager
......
apiVersion: v1
kind: Service
metadata:
namespace: kube-system
name: kube-dns-prometheus-discovery
labels:
k8s-app: kube-dns
......
apiVersion: v1
kind: Service
metadata:
namespace: kube-system
name: kube-scheduler-prometheus-discovery
labels:
k8s-app: kube-scheduler
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment