Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

How do I get log files?

First, get an overview of all the running containers in your CDCM namespace:

kubectl get pods -n cdcm

This will create an output similar to the following

image-20241206-111235.png
  • Application logs
    Issue the command with the exact name of your application container

    kubectl logs -n cdcm cdcm-6fd8df9f5f-jcnsj > cdcm.log

    This will create a text file with the logs of the CDCM application.

  • MongoDB logs
    Issue the command with the exact name of your MongoDB container.

    kubectl logs -n cdcm cdcm-mongodb-0 > mongodb.log

If you are running a MongoDB cluster, please use only the master node!

Initial start: Space selection doesn’t load.

api/v1/spaces result in 401 unauthorized:

Make sure the token for the local admin (ADMIN_TOKEN=) is set properly in the enviroment variables.

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.