Skip to content

Commit dc29456

Browse files
Clear up instructions for setting host value
Signed-off-by: Spencer Gilbert <[email protected]>
1 parent 2984a66 commit dc29456

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

eks-aggregator/README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,29 @@ feature, allowing you to move your log processing onto your own hardware.
3333
helm upgrade --install vector vector/vector --devel \
3434
--namespace vector --values helm/vector.yaml \
3535
--set secrets.generic.DATADOG_API_KEY=<DD_API_KEY(base64 encoded)> \
36-
--set ingress.hosts[0].host=<ALB_HOSTNAME>
36+
--set ingress.hosts[0].host=DUMMY_VAL
3737
```
3838

39-
Once your ALB is provisioned you can run the following command to extract it's generated hostname. Run the above command again, substituting your generated hostname in the last `set` option.
39+
Once your ALB is provisioned you can run the following command to extract it's generated hostname to replace the DUMMY_VAL above.
4040

4141
```shell
42-
kubectl --namespace vector get ingress vector \
42+
export ALB_HOSTNAME=kubectl --namespace vector get ingress vector \
4343
--output go-template='{{(index .status.loadBalancer.ingress 0 ).hostname}}'
4444
```
4545

46+
The following command will upgrade your `vector` release with the created ALB hostname.
47+
48+
```shell
49+
helm upgrade --install vector vector/vector --devel \
50+
--namespace vector --values helm/vector.yaml \
51+
--set secrets.generic.DATADOG_API_KEY=<DD_API_KEY(base64 encoded)> \
52+
--set ingress.hosts[0].host=${ALB_HOSTNAME}
53+
```
54+
4655
Then install your Datadog Agents substituting the hostname from the previous step.
4756

4857
```shell
49-
helm upgrade --install datadog datadog/dataodg \
58+
helm upgrade --install datadog datadog/datadog \
5059
--namespace datadog --values helm/datadog.yaml \
5160
--set datadog.apiKey=<DD_API_KEY> \
5261
--set agents.customAgentConfig.logs_config.logs_dd_url="<ALB_HOSTNAME>:8080"

0 commit comments

Comments
 (0)