Added updated example for traffic generator (#230)

* Added updated example for traffic generator

* Updated readme and docs

* Pre-commit fixes
This commit is contained in:
Rafael Pereyra
2023-09-07 09:48:44 -04:00
committed by GitHub
parent f65afffd58
commit a6c0875586
3 changed files with 126 additions and 2 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ EXTERNAL_IP=your-nginx-controller-external-ip
```sh
SAMPLE_TRAFFIC_NAMESPACE=nginx-sample-traffic
curl https://raw.githubusercontent.com/aws-samples/amazon-cloudwatch-container-insights/master/k8s-deployment-manifest-templates/deployment-mode/service/cwagent-prometheus/sample_traffic/nginx-traffic/nginx-traffic-sample.yaml |
curl https://raw.githubusercontent.com/aws-observability/terraform-aws-observability-accelerator/main/examples/existing-cluster-nginx/sample_traffic/nginx-traffic-sample.yaml |
sed "s/{{external_ip}}/$EXTERNAL_IP/g" |
sed "s/{{namespace}}/$SAMPLE_TRAFFIC_NAMESPACE/g" |
kubectl apply -f -