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

Commit b54665f

Browse files
added instructions for kubernetes
1 parent 21c0d0e commit b54665f

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

deployment/kubernetes.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,16 @@ There are two options for running Weave Scope, either you can run the UI locally
119119
ssh -i ~/.ssh/deploy-docs-k8s.pem ubuntu@$master_ip kubectl apply -f 'https://cloud.weave.works/launch/k8s/weavescope.yaml?service-token=<token>'
120120
```
121121

122+
### *(Optional)* Setup Fluentd + ELK based logging
123+
* Copy the logging manifests
124+
* Start Fluentd, Elasticsearch and Kibana
125+
126+
```
127+
master_ip=$(terraform output -json | jq -r '.master_address.value')
128+
scp -i ~/.ssh/deploy-docs-k8s.pem -rp deploy/kubernetes/manifests-logging ubuntu@$master_ip:/tmp/
129+
ssh -i ~/.ssh/deploy-docs-k8s.pem ubuntu@$master_ip kubectl apply -f /tmp/manifests-logging/
130+
```
131+
122132
### Deploy Sock Shop
123133
* SSH into the master node
124134
* Deploy the sock shop
@@ -146,7 +156,7 @@ If you cause enough load on the application you should see the various services
146156
Run `terraform output` command to see the load balancer and node URLs
147157

148158
The sock shop is available at the sock_shop_address as displayed below. The scope app is accessible via the master and
149-
any of the node urls on port 30001. It may take a few moments for the apps to get running.
159+
any of the node urls on port 30001, while the same applies for Kibana if you deployed it, but using port 31601. It may take a few moments for the apps to get running.
150160

151161
```
152162
Outputs:

0 commit comments

Comments
 (0)