You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This article describes how to access the shell environment inside your application instances to do advanced troubleshooting.
15
+
14
16
Although Azure Spring Apps offers various managed troubleshooting approaches, you may want to do advanced troubleshooting using the shell environment. For example, you may want to accomplish the following troubleshooting tasks:
15
17
16
18
- Directly use Java Development Kit (JDK) tools.
17
19
- Diagnose against an app’s back-end services for network connection and API call latency for both virtual-network and non-virtual-network instances.
18
-
- Diagnose storage capacity and performance and CPU/memory issues.
19
-
20
-
This article describes how to access the shell environment inside your application instances to do advanced troubleshooting.
20
+
- Diagnose storage capacity, performance, and CPU/memory issues.
21
21
22
22
## Prerequisites
23
23
24
-
-[Azure CLI](/cli/azure/install-azure-cli) with the Azure Spring Apps extension. Use the following command to remove previous versions and install the latest extension. If you previously installed the spring-cloud extension, uninstall it to avoid configuration and version mismatches.
24
+
-[Azure CLI](/cli/azure/install-azure-cli) with the Azure Spring Apps extension. Use the following command to remove previous versions and install the latest extension. If you previously installed the `spring-cloud` extension, uninstall it to avoid configuration and version mismatches.
25
25
26
26
```azurecli
27
27
az extension remove --name spring
@@ -134,18 +134,18 @@ You can also use JDK-bundled tools such as `jps`, `jcmd`, and `jstat`.
134
134
135
135
The available tools depend on your service tier and type of app deployment. The following table describes the availability of troubleshooting tools:
| Basic / Standard tier | Source code / Jar | Y | Y (for Java workloads only) ||
140
-
| Basic / Standard tier | Custom Image| N | N | Up to your installed tool set. |
141
-
| Enterprise Tier | Source code / Artifacts | Y (for full OS stack), N (for base OS stack) | Y (for Java workloads only) | Depends on the os stack of your builder. |
142
-
| Enterprise Tier | Custom Image| N | N |Up to your installed tool set. |
140
+
| Basic / Standard tier | Custom image| N | N | Up to your installed tool set. |
141
+
| Enterprise Tier | Source code / Artifacts | Y (for full OS stack), N (for base OS stack) | Y (for Java workloads only) | Depends on the OS stack of your builder. |
142
+
| Enterprise Tier | Custom image| N | N |Depends on your installed tool set. |
143
143
144
144
## Limitations
145
145
146
146
Using the shell environment inside your application instances has the following limitation:
147
147
148
-
- Because the app is running as a non-root user, you can't execute some actions requiring root permission. For example, you can't install new tools by the system package manager `apt / yum`.
148
+
- Because the app is running as a non-root user, you can't execute some actions requiring root permission. For example, you can't install new tools by using the system package manager `apt / yum`.
149
149
150
150
- Because some Linux capabilities are prohibited, tools that require special privileges, such as `tcpdump`, don't work.
0 commit comments