Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ceph_cluster
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flg_masters
PA
ceph_cluster
Commits
1d43170c
Commit
1d43170c
authored
2 weeks ago
by
david.truong.hes
Browse files
Options
Downloads
Patches
Plain Diff
Docs, rook-ceph: Ajout des commandes pour activer le monitoring dans Prometheus
parent
eac7deda
Branches
main
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
rook-ceph/configs/cluster/cluster.yaml
+2
-0
2 additions, 0 deletions
rook-ceph/configs/cluster/cluster.yaml
rook-ceph/setup_rook_ceph.txt
+21
-0
21 additions, 0 deletions
rook-ceph/setup_rook_ceph.txt
with
23 additions
and
0 deletions
rook-ceph/configs/cluster/cluster.yaml
+
2
−
0
View file @
1d43170c
...
...
@@ -12,6 +12,8 @@ spec:
dashboard
:
enabled
:
true
ssl
:
true
prometheusEndpoint
:
http://10.136.126.180:30900
prometheusEndpointSSLVerify
:
true
mon
:
count
:
3
...
...
This diff is collapsed.
Click to expand it.
rook-ceph/setup_rook_ceph.txt
+
21
−
0
View file @
1d43170c
...
...
@@ -15,6 +15,27 @@ kubectl -n rook-ceph exec -it deploy/rook-ceph-tools -- bash
helm get manifest rook-ceph -n rook-ceph
Monitoring - Prometheus
apt-get install git
git clone --single-branch --branch v1.17.0 https://github.com/rook/rook.git
cd rook/deploy/examples/monitoring
kubectl apply -f service-monitor.yaml
kubectl apply -f exporter-service-monitor.yaml
kubectl apply -f prometheus.yaml
kubectl apply -f prometheus-service.yaml
kubectl -n rook-ceph get pod prometheus-rook-prometheus-0
echo "http://$(kubectl -n rook-ceph -o jsonpath={.status.hostIP} get pod prometheus-rook-prometheus-0):30900"
Editer yaml CRD cluster avec :
spec:
dashboard:
prometheusEndpoint: http://192.168.61.204:30900
prometheusEndpointSSLVerify: true
echo "http://$(kubectl -n rook-ceph -o jsonpath={.status.hostIP} get pod prometheus-rook-prometheus-0):30900"
Dashboard
kubectl -n rook-ceph get secret rook-ceph-dashboard-password -o jsonpath="{.data.password}" | base64 -d && echo
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment