inlong icon indicating copy to clipboard operation
inlong copied to clipboard

[Umbrella][Agent] Add an agent installer module for agent installation

Open justinwwhuang opened this issue 1 year ago • 0 comments

Motivation

Due to the fact that in actual deployment environments, the machine on which the inlong agent is located is often not controlled by the platform. Therefore, the inlong agent needs to have the ability to self upgrade. Agent installers are introduced for the installation and self upgrading of agents. He does not need to rely on third-party installation platforms and can achieve a closed loop of agent installation and upgrade capabilities.

Solution

Agent installers have five atomic operations:

  1. Download installation package
  2. Install through installation package
  3. Start process
  4. Stop process
  5. Uninstall The agent installer periodically pulls configuration information from the manager and compares the new and old configurations to obtain three results. Each result corresponds to a process, and each process performs a fixed number of atomic operations. image

Task list

  • [x] #9802
  • [x] #9806
  • [x] #9816
  • [x] #9829
  • [x] #9831
  • [x] #9833
  • [x] #9844
  • [x] #9848
  • [x] #9850
  • [x] #9852
  • [ ] #9858
  • [ ] #9859

InLong Component

InLong Agent

Are you willing to submit PR?

  • [X] Yes, I am willing to submit a PR!

Code of Conduct

justinwwhuang avatar Mar 12 '24 08:03 justinwwhuang