Skip to content

FAQ and Quick Reference

Dimitris Papagiannis edited this page Jan 8, 2025 · 10 revisions

FAQ and Quick Reference

k8s deployment

  • Where can I find the logs?
    • /cinder/dqmsquare/log contains:
      1. server.log (web server)
      2. grabber_production.log (logs from grabber.py for production)
      3. grabber_playback.log (logs from grabber.py for playback machines).
  • Are logs persisting?
    • Yes, as the /cinder/dqmsquare claim is permanent storage, and is reused after redeployment.
  • Where in the pod is the source code located?
    • It's in /dqmsquare_mirror.
  • Useful aliases to use for managing the deployment from LXPLUS:
alias ll='ls -alF --color=auto'
alias k='kubectl'
alias kpods="kubectl get pods -n dqm"
alias kdpods="kubectl describe pods -n dqm"
alias klogs="kubectl logs -n dqm -f"
alias kpvc="kubectl get pvc -n dqm"
alias kclusters="kubectl config get-clusters"
alias kexec="kubectl exec -n dqm -it"  # To run: kexec <pod name> -- bash
  • [LXPLUS8] To redeploy from the latest image:

    See Deployment Instructions.

  • When running kubectl delete -f CMSKubernetes/kubernetes/cmsweb/storages/cinder-storage-dqmgui.yaml to delete the PVC, it just sits there??

    • Run kubectl get pvc -n dqm to get the pvc name and then run kubectl patch pvc <pvc-name> -n dqm -p '{"metadata":{"finalizers":null}}'
Clone this wiki locally