Skip to content

Commit

Permalink
Update dmmon tool details
Browse files Browse the repository at this point in the history
  • Loading branch information
nikodemas committed May 3, 2024
1 parent 7d33533 commit 54efde4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker/cmsmon-mongo/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG MONGODBVER=5.0.9
ARG MONGODBVER=5.0.26
FROM mongo:$MONGODBVER
MAINTAINER Ceyhun Uzunoglu [email protected]

Expand Down
8 changes: 4 additions & 4 deletions kubernetes/monitoring/deploy-dmmon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ echo "OS_PROJECT_NAME:${OS_PROJECT_NAME}, action: ${action}, secrets:${sdir}, cm
# Check status of the cluster
function cluster_check() {
echo -e "\n*** check secrets"
kubectl get secrets -A | grep -E "default *|http *|alerts *" | grep Opaque
kubectl get secrets -A | grep -E "default *|auth *|datasetmon *" | grep Opaque
echo -e "\n*** check svc"
kubectl get svc -A | grep -E "default *|http *|alerts *"
kubectl get svc -A | grep -E "default *|auth *|datasetmon *"
echo -e "\n*** node status"
kubectl top node
echo -e "\n*** pods status"
kubectl top pods --sort-by=memory -A | grep -E "default *|http *|alerts *"
kubectl get pods -A | grep -E "default *|http *|alerts *"
kubectl top pods --sort-by=memory -A | grep -E "default *|auth *|datasetmon *"
kubectl get pods -A | grep -E "default *|auth *|datasetmon *"
}
# =================================================================================================

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
spec:
containers:
- name: mongodb
image: registry.cern.ch/cmsmonitoring/cmsmon-mongo:5.0.9
image: registry.cern.ch/cmsmonitoring/cmsmon-mongo:5.0.26
args: [ "--tlsAllowInvalidHostnames","--dbpath","/data/db","--profile","2","--slowms","9","--slowOpSampleRate","0.5"]
livenessProbe:
exec:
Expand Down

0 comments on commit 54efde4

Please sign in to comment.