book-of-kubernetes / examples

Examples for The Book of Kubernetes
MIT License
166 stars 76 forks source link

Chapter 20 api metric script name differs from book in AWS #22

Closed RubenMakandra closed 1 year ago

RubenMakandra commented 1 year ago

Chapter 20 has the command /opt/api-server-metrics.sh to execute the script. In the AWS Environment the file is named api-metrics.sh.

AlanHohn commented 1 year ago

Thanks for the find! I've updated the examples so that either name works for now and we'll get it fixed in any future print copies. (If you have an existing environment, just re-run the Ansible playbook.yaml after pulling the latest code.)

If you're curious, the reason for the error is that I needed a shorter script name so the name would fit into the margin, but I forgot to fix the copy / pasted example 😖