Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Commit 532896b

Browse files
authored
Merge pull request #60 from rberlind/master
Changing Socks Shop to Sock Shop
2 parents 624a459 + 622d146 commit 532896b

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

deployment/apcera.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ Apcera has tested Sock Shop on the Apcera Community Edition running single-cloud
1111

1212
### Packaging
1313

14-
The Sock Shop application is packaged and configured for Apcera using a [Multi-Resource Manifest file](https://docs.apcera.com/jobs/multi-resource-manifests/) called socksshop-docker.json which is similar to a Docker Compose file. Scripts are provided to make it easy to deploy all the services and a network from the manifest, to start and stop the services, and to delete everything that was deployed.
14+
The Sock Shop application is packaged and configured for Apcera using a [Multi-Resource Manifest file](https://docs.apcera.com/jobs/multi-resource-manifests/) called sockshop-docker.json which is similar to a Docker Compose file. Scripts are provided to make it easy to deploy all the services and a network from the manifest, to start and stop the services, and to delete everything that was deployed.
15+
1516

1617
### Pre-requisites
1718

@@ -26,7 +27,7 @@ cd microservices-demo/deploy/apcera
2627
- *(Optional)* If you are not an admin user in your Apcera cluster, you might need an Apcera administrator to import a [policy](https://docs.apcera.com/policy/introduction/) file to give you permission to create the Sock Shop services and network in your sandbox.
2728

2829
```
29-
apc import policy socksShop.pol
30+
apc import policy sockShop.pol
3031
```
3132

3233
### Networking and Security
@@ -35,7 +36,7 @@ In this demo scenario, we create a single [virtual network](https://docs.apcera.
3536

3637
### Deployment
3738

38-
All of the Sock Shop services and the network are deployed to Apcera with a single script. However, you first need to target your cluster and login to it with APC. After that, just run the deploySocksShop.sh script.
39+
All of the Sock Shop services and the network are deployed to Apcera with a single script. However, you first need to target your cluster and login to it with APC. After that, just run the deploySockShop.sh script.
3940

4041
<!-- deploy-doc require-env APCERA_CLUSTER APCERA_USER APCERA_PASSWORD -->
4142
<!-- deploy-doc-hidden pre-install
@@ -48,16 +49,17 @@ apc login
4849
```
4950
<!-- deploy-doc-start create-infrastructure -->
5051

51-
./deploySocksShop.sh
52+
./deploySockShop.sh
5253

5354
<!-- deploy-doc-end -->
5455

5556
After determining your targeted cluster and default namespace, this script does the following:
5657

57-
- It sets your current namespace to \<your_default_namespace\>/socksshop.
58-
- It runs the "apc manifest deploy" command against the socksshop-docker.json manifest to create the services and the socksshop-network virtual network.
58+
- It sets your current namespace to \<your_default_namespace\>/sockshop.
59+
- It runs the "apc manifest deploy" command against the sockshop-docker.json manifest to create the services and the sockshop-network virtual network.
5960
- It creates [job affinity tags](https://docs.apcera.com/jobs/job-affinity/) to make sure that each service that uses a database is deployed to the same Apcera instance manager as the database.
60-
- It then runs the startSocksShop.sh script to start all of the Sock Shop services.
61+
- It then runs the startSockShop.sh script to start all of the Sock Shop services.
62+
6163

6264
Altogether, the script should take under two minutes to run.
6365

@@ -70,21 +72,22 @@ Altogether, the script should take under two minutes to run.
7072

7173
### Testing
7274

73-
A load testing service, *user-sim*, is provided in the socksshop-docker.json manifest file. It will run when the manifest is deployed after a delay of 60 seconds. This is a load test provided to simulate user traffic to the application. You can view the results of the test in the *user-sim* log.
75+
A load testing service, *user-sim*, is provided in the sockshop-docker.json manifest file. It will run when the manifest is deployed after a delay of 60 seconds. This is a load test provided to simulate user traffic to the application. You can view the results of the test in the *user-sim* log.
7476

7577
### Tracing
7678
[Zipkin](http://zipkin.io/) has been written into some of the services. While the system is up you can view the traces at http://zipkin.\<your_cluster\>. Currently *orders* provides the most comprehensive traces.
7779

7880
### Starting and Stopping
7981

80-
You can use the startSocksShop.sh and stopSocksShop.sh scripts to start and stop all the services.
82+
You can use the startSockShop.sh and stopSockShop.sh scripts to start and stop all the services.
8183

8284
### Cleaning up
8385

84-
Run the deleteSocksShop.sh script to delete the Sock Shop services and network.
86+
Run the deleteSockShop.sh script to delete the Sock Shop services and network.
87+
8588

8689
<!-- deploy-doc-start destroy-infrastructure -->
8790

88-
./deleteSocksShop.sh
91+
./deleteSockShop.sh
8992

9093
<!-- deploy-doc-end -->

0 commit comments

Comments
 (0)