How do I get log files?
First, get an overview of all the running containers in your CDCM namespace:
Code Block |
---|
kubectl get pods -n cdcm |
This will create an output similar to the following
...
Application logs
Issue the command with the exact name of your application containerCode Block 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.Code Block 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:
...