Skip to content

Commit

Permalink
Remove remaining 'controller' occurrences
Browse files Browse the repository at this point in the history
  • Loading branch information
fabxc committed Nov 1, 2016
1 parent f89302b commit 2f4c847
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion hack/cluster-monitoring/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ kctl() {
kubectl --kubeconfig="$KUBECONFIG" -n "monitoring" "$@"
}

kctl apply -f manifests/controllers/prometheus-controller.yaml
kctl apply -f manifests/prometheus-operator.yaml

# Wait for TPRs to be ready.
until kctl get servicemonitor; do sleep 0.1; done
Expand Down
2 changes: 1 addition & 1 deletion hack/cluster-monitoring/teardown
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ kctl delete -f manifests/prometheus
# Hack: wait a bit to let the controller delete the deployed Prometheus server.
sleep 5

kctl delete -f manifests/controllers/prometheus-controller.yaml
kctl delete -f manifests/prometheus-operator.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: prometheus-controller
name: prometheus-operator
labels:
controller: prometheus
operator: prometheus
spec:
replicas: 1
template:
metadata:
labels:
controller: prometheus
operator: prometheus
spec:
containers:
- name: prometheus-controller
- name: prometheus-operator
image: quay.io/coreos/prometheus-operator:latest
resources:
requests:
cpu: 100m
memory: 50Mi
limits:
cpu: 200m
memory: 100Mi
memory: 300Mi

0 comments on commit 2f4c847

Please sign in to comment.