In the ‘cattle’ repo, under the ‘examples’ folder is an example of a rancher agent written in shell script. My questions:
Is this example still relevant (ie works) with latest Rancher releases
Can you provide a brief explanation of how the Rancher Host Agent - communicates with the Rancher Master when executing container/stack actions. It looks like it is all done over permanent WebSocket connections, but I am not sure if the websockets are only used for the the Rancher UI to Rancher Host interactions, such as logs, exec, performance, etc.