Skip to content

Commit

Permalink
Updates prometheus deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Eagerod committed Jun 10, 2024
1 parent a14d62f commit 3086709
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion hope.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -677,9 +677,14 @@ resources:
file: opsbox.yaml
parameters:
- JOB_NAME=deploy-prometheus
- SCRIPT=cd /tmp; curl -fsSL https://github.com/prometheus-operator/kube-prometheus/archive/v0.7.0.tar.gz | tar xvz; cd kube-prometheus-0.7.0; kubectl create -f manifests/setup; until kubectl get servicemonitors --all-namespaces ; do date; sleep 1; echo ""; done; kubectl create -f manifests;
- SCRIPT=cd /tmp; curl -fsSL https://github.com/prometheus-operator/kube-prometheus/archive/v0.10.0.tar.gz | tar xvz; cd kube-prometheus-0.10.0; kubectl create -f manifests/setup; until kubectl get servicemonitors --all-namespaces ; do date; sleep 1; echo ""; done; kubectl create -f manifests;
tags: [monitoring]
- name: prometheus-wait
job: kube-system/ops-deploy-prometheus
tags: [monitoring]
- name: grafana
file: grafana/grafana.yaml
tags: [monitoring]
# region: Stateless Services
# The set of services in this block are services that don't rely on storing
# any state on disk.
Expand Down
2 changes: 1 addition & 1 deletion opsbox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
spec:
template:
spec:
restartPolicy: OnFailure
restartPolicy: Never
serviceAccountName: aleem
imagePullSecrets:
- name: registry.internal.aleemhaji.com
Expand Down

0 comments on commit 3086709

Please sign in to comment.