25.6.3 Debugging Pods

Run the following command to view the names of the Access Manager pods:

kubectl get pods -n <name-of-the-namespace>

To view the configuration logs of the Access Manager pods, run the following commands:

  • Administration Console: kubectl logs -f pod/<name-of-the-administration-console-pod> am-ac --namespace <name-of-the-namespace>

  • eDirectory: kubectl logs -f pod/<name-of-the-administration-console-pod> am-edir --namespace <name-of-the-namespace>

  • Identity Server: kubectl logs -f pod/<name-of-the-identity-server-pod> --namespace <name-of-the-namespace>

  • Access Gateway: kubectl logs -f pod/<name-of-the-access-gateway-pod> --namespace <name-of-the-namespace>

  • Analytics Server: kubectl logs -f pod/<name-of-the-analytics-dashboard-pod> --namespace <name-of-the-namespace>

To get inside a pod, run the following commands:

  • Administration Console: kubectl exec -it pod/<name-of-the-administration-console-pod> -c am-ac bash --namespace <name-of-the-namespace>

  • eDirectory: kubectl exec -it pod/<name-of-the-administration-console-pod> -c am-edir bash --namespace <name-of-the-namespace>

  • Identity Server: kubectl exec -it pod/<name-of-the-identity-server-pod> bash --namespace <name-of-the-namespace>

  • Access Gateway: kubectl exec -it pod/<name-of-the-access-gateway-pod> bash --namespace <name-of-the-namespace>

  • Analytics Server: kubectl exec -it pod/<name-of-the-analytics-dashboard-pod> bash --namespace <name-of-the-namespace>

To retrieve more information about each pod, run the following commands:

  • Administration Console: kubectl describe pod/<name-of-the-administration-console-pod> --namespace <name-of-the-namespace>

  • Identity Server: kubectl describe pod/<name-of-the-identity-server-pod> --namespace <name-of-the-namespace>

  • Access Gateway: kubectl describe pod/<name-of-the-access-gateway-pod> --namespace <name-of-the-namespace>

  • Analytics Server: kubectl describe pod/<name-of-the-analytics-dashboard-pod> --namespace <name-of-the-namespace>