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
You can now add a set of voting options, and start taking votes. The application runs and stores all data in your Service Fabric cluster, without the need for a separate database.
59
59
60
+

61
+
60
62
## Scale applications and services in a cluster
61
63
62
64
Services can be scaled across a cluster to accommodate fora changein the load on the services. You scale a service by changing the number of instances running in the cluster. There are many ways of scaling your services. For example, you can use scripts or commands from Service Fabric CLI (`sfctl`). The following steps use Service Fabric Explorer.
Copy file name to clipboardExpand all lines: articles/service-fabric/service-fabric-quickstart-java-spring-boot.md
+12-6Lines changed: 12 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,19 +14,23 @@ In this quickstart, you deploy a Java Spring Boot application to Azure Service F
14
14
15
15
## Prerequisites
16
16
17
-
**Linux:**
17
+
#### [Linux](#tab/linux)
18
+
18
19
-[Java environment](https://docs.microsoft.com/azure/service-fabric/service-fabric-get-started-linux#set-up-java-development) and [Yeoman](https://docs.microsoft.com/azure/service-fabric/service-fabric-get-started-linux#set-up-yeoman-generators-for-containers-and-guest-executables)
19
20
-[Service Fabric SDK & Service Fabric Command Line Interface (CLI)](https://docs.microsoft.com/azure/service-fabric/service-fabric-get-started-linux#installation-methods)
20
21
-[Git](https://git-scm.com/downloads)
21
22
22
-
**Mac:**
23
+
#### [Mac](#tab/mac)
24
+
23
25
-[Java environment and Yeoman](https://docs.microsoft.com/azure/service-fabric/service-fabric-get-started-mac#create-your-application-on-your-mac-by-using-yeoman)
24
26
-[Service Fabric SDK & Service Fabric Command Line Interface (CLI)](https://docs.microsoft.com/azure/service-fabric/service-fabric-cli#cli-mac)
25
27
-[Git](https://git-scm.com/downloads)
26
28
29
+
---
30
+
27
31
## Download the sample
28
32
29
-
This quickstart uses the Spring Boot [Getting Started](https://spring.io/guides/gs/spring-boot/) sample from the Spring website. In a terminal window, run the following command to clone the sample app to your local machine.
33
+
In a terminal window, run the following command to clone the Spring Boot [Getting Started](https://github.com/spring-guides/gs-spring-boot) sample app to your local machine.
Inside the *gs-spring-boot/complete* directory, run the command below to build the application
37
41
38
-
```bash
39
-
./gradlew build
40
-
```
42
+
```bash
43
+
./gradlew build
44
+
```
41
45
42
46
## Package the Spring Boot application
43
47
1. Inside the *gs-spring-boot* directory in your clone, run the `yo azuresfguest` command.
@@ -132,6 +136,8 @@ At this stage, you have created a Service Fabric application for the Spring Boot
132
136
133
137
You can now access the Spring Boot application that was deployed to a Service Fabric cluster.
134
138
139
+
For more information, see the Spring Boot [Getting Started](https://spring.io/guides/gs/spring-boot/) sample on the Spring website.
140
+
135
141
## Scale applications and services in a cluster
136
142
137
143
Services can be scaled across a cluster to accommodate fora changein load on the services. You scale a service by changing the number of instances running in the cluster. There are many ways of scaling your services, for example, you can use scripts or commands from Service Fabric CLI (sfctl). The following steps use Service Fabric Explorer.
0 commit comments