Skip to content

Commit 7360401

Browse files
committed
edits
1 parent f3dfa35 commit 7360401

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/spring-apps/enterprise/how-to-enterprise-application-configuration-service.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ When you modify and commit your configurations in a Git repository, several step
158158

159159
This process, though automated, involves the following distinct stages and components, each with its own timing and behavior.
160160

161-
- **Polling by Application Configuration Service**: The Application Configuration Service regularly polls the backend Git repositories to detect any changes. This polling occurs at a set frequency, defined by the refresh interval. When a change is detected, Application Configuration Service updates the Kubernetes ConfigMap.
162-
- **ConfigMap Update and Interaction with Kubelet Cache**: In Azure Spring Apps, this ConfigMap is mounted as a data volume to the relevant application. However, there's a natural delay in this process due to the frequency at which the Kubelet refreshes its cache to recognize changes in ConfigMap.
161+
- **Polling by Application Configuration Service**: The Application Configuration Service regularly polls the backend Git repositories to detect any changes. This polling occurs at a set frequency, defined by the refresh interval. When a change is detected, Application Configuration Service updates the Kubernetes `ConfigMap`.
162+
- **ConfigMap Update and Interaction with Kubelet Cache**: In Azure Spring Apps, this `ConfigMap` is mounted as a data volume to the relevant application. However, there's a natural delay in this process due to the frequency at which the Kubelet refreshes its cache to recognize changes in `ConfigMap`.
163163
- **Application Reads Updated Configuration**: Application running in the Azure Spring Apps environment can access the updated configuration values. The existing beans in the Spring Context aren't refreshed to use the updated configurations automatically.
164164

165165
You can adjust the polling refresh interval of the Application Configuration Service to align with your specific needs. To apply the updated configurations in your application, a restart or refresh action is necessary.
@@ -436,12 +436,12 @@ If the latest changes don't reflect on the applications, check the following ite
436436
- The branch of the desired config file changes is updated.
437437
- The pattern configured in the Application Configuration Service matches the updated config files.
438438
- The application is bound to the Application Configuration Service.
439-
- Check whether the configMap is updated:
440-
- ConfigMap of the app should be updated. If still not updated, raise a ticket.
441-
- Check whether the configMap is mounted to the application as a file:
439+
- Check whether the `ConfigMap` is updated:
440+
- `ConfigMap` of the app should be updated. If it's not updated, raise a ticket.
441+
- Check whether the `ConfigMap` is mounted to the application as a file:
442442
- Use `web shell` to check the mounted file. If the file isn't updated, wait for the K8S refresh interval (1 minute). Or, you can force a refresh by restarting the application.
443443
444-
Now, the updated configurations should reflect on the applications. If still not updated, raise a ticket.
444+
Now, the updated configurations should reflect on the applications. If it's not updated, raise a ticket.
445445
446446
## Next steps
447447

0 commit comments

Comments
 (0)