CKAD Exercise 8 adapter pattern formatting logs using side car
Автор: cybersecnerd
Загружено: 2022-10-10
Просмотров: 62
Minikube Setup : • Practical #kubernetes lab setup #minikube...
github repo : https://github.com/chirag99969/ckad-e...
👉 The business application running the main container produces timestamped information—in this case, the available disk space—and writes it to the file diskspace.txt.
👉 As part of the architecture, we want to consume the file from a third-party monitoring application. The problem is that the external application requires the information to exclude the timestamp.
👉 Now, we could change the logging format to avoid writing the timestamp, but what do we do if we actually want to know when the log entry has been written?
👉 This is where the adapter pattern can help. A sidecar container executes transformation logic that turns the log entries into the format needed by the external system without having to change application logic.
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: