Commit 8fe0cf4
authored
Enable cluster logging when creating (#784)
This PR updates `Setup()` so that all the CloudWatch logging is enabled
for an EKS cluster when created via the func.
*
https://docs.aws.amazon.com/eks/latest/eksctl/cloudwatch-cluster-logging.html#:~:text=To%20enable%20all%20types%20of%20logs%2C%20run
If there are patterns where `eksctl create cluster` is being invoked and
passed a cluster config `YAML` the `YAMLs` being passed in can and
probably should be updated to account for having logging enabled:
```yaml
# Enable all (api, audit, authenticator, controllerManager, scheduler) log types
cloudWatch:
clusterLogging:
enableTypes: ["*"]
```
*
https://docs.aws.amazon.com/eks/latest/eksctl/cloudwatch-cluster-logging.html
---------
Signed-off-by: Matthew Lorimor <matt@m5wl5r.com>1 parent e65c516 commit 8fe0cf4
1 file changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
495 | 511 | | |
496 | 512 | | |
497 | 513 | | |
| |||
0 commit comments