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
###### 2.4.1.3.4.4 Specify the apollo-configservice address returned by Meta Server
1040
1040
1041
1041
If apollo-client cannot directly access the service of apollo-configservice (for example, it is not in the same k8s cluster), you can refer to the following example to specify the address returned by Meta Server to apollo-client (for example, it can be accessed through nodeport)
1042
1042
1043
-
````yaml
1043
+
```yaml
1044
1044
configService:
1045
1045
config:
1046
1046
configServiceUrlOverride: http://1.2.3.4:12345
1047
-
````
1047
+
```
1048
1048
1049
1049
###### 2.4.1.3.4.5 Specify the apollo-adminservice address returned by Meta Server
1050
1050
1051
1051
If apollo-portal cannot directly access the service of apollo-adminservice (for example, it is not in the same k8s cluster), you can refer to the following example to specify the address returned by Meta Server to apollo-portal (for example, it can be accessed through nodeport)
1052
1052
1053
-
````yaml
1053
+
```yaml
1054
1054
configService:
1055
1055
config:
1056
1056
adminServiceUrlOverride: http://1.2.3.4:23456
1057
-
````
1057
+
```
1058
1058
1059
1059
###### 2.4.1.3.4.6 Expose apollo-configservice service in the form of Ingress configuration custom path `/config`
1060
1060
1061
-
````yaml
1061
+
```yaml
1062
1062
# use /config as root, should specify configService.config.contextPath as /config
1063
1063
configService:
1064
1064
config:
@@ -1068,11 +1068,11 @@ configService:
1068
1068
hosts:
1069
1069
- paths:
1070
1070
- /config
1071
-
````
1071
+
```
1072
1072
1073
1073
###### 2.4.1.3.4.7 Expose apollo-adminservice service in the form of Ingress configuration custom path `/admin`
1074
1074
1075
-
````yaml
1075
+
```yaml
1076
1076
# use /admin as root, should specify adminService.config.contextPath as /admin
Copy file name to clipboardExpand all lines: docs/en/design/apollo-introduction.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -138,19 +138,19 @@ Fill in the release information:
138
138
139
139
After the configuration is released, it can be obtained on the client side. Taking Java as an example, the sample code for obtaining the configuration is as follows. Apollo client also supports integration with Spring. For more client usage instructions, please refer to [Java Client Usage Guide](en/usage/java-sdk-user-guide) and [.Net Client Usage Guide](en/usage/dotnet-sdk-user-guide).
By obtaining the configuration code above, the application can obtain the latest configuration in real time.
150
150
151
151
However, in some scenarios, the application also needs to be notified when the configuration changes, such as the switching of database connections, so Apollo also provides the function of monitoring configuration changes. The Java example is as follows:
Copy file name to clipboardExpand all lines: docs/en/development/portal-how-to-enable-email-service.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ The following are the template content styles for publishing emails and rolling
61
61
62
62
```html
63
63
<html><head><style type="text/css">.table{width:100%;max-width:100%;margin-bottom:20px;border-collapse:collapse;background-color:transparent}td {padding:8px;line-height:1.42857143;vertical-align:top;border:1px solid #ddd;border-top:1px solid #ddd}.table-bordered{border:1px solid #ddd}</style>< /head><body><h3>Post basic information</h3><table class="table table-bordered"><tr><td width="10%"><b>AppId</b></td ><td width="15%">#{appId}</td><td width="10%"><b>Environment</b></td><td width="15%">#{ env}</td><td width="10%"><b>cluster</b></td><td width="15%">#{clusterName}</td><td width="10 %"><b>Namespace</b></td><td width="15%">#{namespaceName}</td></tr><tr><td><b>Publisher</b ></td><td>#{operator}</td><td><b>release time</b></td><td>#{releaseTime}</td><td><b>release Title</b></td><td>#{releaseTitle}</td><td><b>Comment</b></td><td>#{releaseComment}</td></tr> </table>#{diffModule}#{rulesModule}<br><a href="#{apollo.portal.address}/config/history.html?#/appid=#{appId}&env=#{env}&clusterName =#{clusterName}&namespaceName=#{namespaceName}&releaseHistoryId=#{ releaseHistoryId}">Click to view detailed release information</a><br><br>If you have any questions about using Apollo, please check <a href="http://conf.ctripcorp.com/display/FRAM/Apollo"> document</a>, or reply directly to this email inquiry. </body></html>
64
-
````
64
+
```
65
65
66
66
> Note: To use this template, you need to configure apollo.portal.address in the system parameters of the portal to point to the address of the apollo portal
0 commit comments