April 2024
Beginner to intermediate
288 pages
7h 17m
English
This chapter covers
main.go and curl programsThroughout the book, we have been using a crude main program to operate our orchestration system (figure 12.1). This program is a single monolith that does it all: starts the workers, starts the workers’ API servers, starts the manager, and starts the manager’s API server. If we want to stop the manager for any reason, we also stop the workers, and vice versa. When we want to interact with the orchestrator, however, we do this separately via the curl command.
Figure 12.1 The old way of operating and interacting ...
Read now
Unlock full access