Stay organized with collections
Save and categorize content based on your preferences.
This page describes how to view the streaming logs of your application and to
check the status of resources from within Cloud Code.
After your application builds and runs in either regular or development mode,
you'll be able to monitor logs streaming from your application from within your
IDE. You can also view logs from a specific resource (a pod, a deployment, etc.)
by navigating to the Kubernetes Explorer.
View the status of tasks and resources
When you start a development or debugging session, you'll be able to monitor
logs streaming from your application from
within your IDE.
From the Kubernetes Explorer, you can check the status of your
deployment in the following ways:
Pod, deployment and node statuses: These Kubernetes resources have colored
status marks next to their labels; red for failed state, yellow for
starting/terminating/warning, and green for healthy, desired state.
Deployed resource descriptions: You can run a kubectl describe on your
deployed resources to display its details by right-clicking and choosing
Describe.
View logs for a specific resource
To view logs from a specific resource, follow these steps:
Navigate to the Kubernetes Explorer. It can be
accessed either from the side panel on the right or
using Tools > Cloud Code > Kubernetes > View Cluster Explorer.
Select the resource you'd like to see logs from, such as a pod, a deployment,
or a service.
Right-click the resource and select Stream Logs. Alternatively, you can
stream logs for individual containers running in pods.
This outputs logs to the Kubernetes Explorer Console.
To submit feedback or report an issue in your IntelliJ IDE, go to
Tools > Cloud Code > Help / About > Submit
feedback or report an issue to report an issue on GitHub.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eMonitor application logs directly from your IDE after building and running in either regular or development mode.\u003c/p\u003e\n"],["\u003cp\u003eAccess the Kubernetes Explorer to view the status of pods, deployments, and nodes, with color-coded indicators for resource health.\u003c/p\u003e\n"],["\u003cp\u003eUtilize the \u003ccode\u003ekubectl describe\u003c/code\u003e command by right-clicking on a deployed resource within the Kubernetes Explorer to view detailed information.\u003c/p\u003e\n"],["\u003cp\u003eStream logs from a specific resource, such as a pod or deployment, by right-clicking the resource in the Kubernetes Explorer and selecting "Stream Logs".\u003c/p\u003e\n"]]],[],null,["# View Kubernetes logs in Cloud Code for IntelliJ\n\nThis page describes how to view the streaming logs of your application and to\ncheck the status of resources from within Cloud Code.\nAfter your application builds and runs in either regular or development mode, you'll be able to monitor logs streaming from your application from within your IDE. You can also view logs from a specific resource (a pod, a deployment, etc.) by navigating to the Kubernetes Explorer.\n\n\u003cbr /\u003e\n\nView the status of tasks and resources\n--------------------------------------\n\nWhen you start a development or debugging session, you'll be able to monitor logs streaming from your application from [within your IDE](/code/docs/intellij/k8s-overview#view_logs).\n\n\u003cbr /\u003e\n\nFrom the Kubernetes Explorer, you can check the status of your\ndeployment in the following ways:\n\n- **Pod, deployment and node statuses**: These Kubernetes resources have colored\n status marks next to their labels; red for failed state, yellow for\n starting/terminating/warning, and green for healthy, desired state.\n\n- **Deployed resource descriptions** : You can run a `kubectl describe` on your\n deployed resources to display its details by right-clicking and choosing\n **Describe**.\n\nView logs for a specific resource\n---------------------------------\n\nTo view logs from a specific resource, follow these steps:\n\n\u003cbr /\u003e\n\n1. Navigate to the Kubernetes Explorer. It can be\n accessed either from the side panel on the right or\n using **Tools** \\\u003e **Cloud Code** \\\u003e **Kubernetes** \\\u003e **View Cluster Explorer**.\n\n2. Select the resource you'd like to see logs from, such as a pod, a deployment,\n or a service.\n\n3. Right-click the resource and select **Stream Logs**. Alternatively, you can\n stream logs for individual containers running in pods.\n\n This outputs logs to the Kubernetes Explorer Console.\n\nWhat's next\n-----------\n\n- [Debug a Kubernetes application in Cloud Code](/code/docs/intellij/debug).\n- Explore the Kubernetes documentation on [troubleshooting containerized applications](https://kubernetes.io/docs/tasks/debug/debug-application/).\n\nGet support\n-----------\n\nTo submit feedback or report an issue in your IntelliJ IDE, go to **Tools** \\\u003e **Cloud Code** \\\u003e **Help / About** \\\u003e **Submit\nfeedback or report an issue** to report an issue on [GitHub](https://github.com/GoogleCloudPlatform/cloud-code-intellij/issues)."]]