Skip to content

Conversation

@robot9706
Copy link
Contributor

Implemented the option to change the container name of dagent, to avoid name collision when installing multiple agents on the same node.

@robot9706 robot9706 self-assigned this Nov 22, 2024
@github-actions github-actions bot added source:web The scope of the issue or pull request is web. lang:typescript lang:shell pr:feat labels Nov 22, 2024
@nandor-magyar
Copy link
Contributor

The same collision is true for crane as well. The name workload would be more appropriate to address the running instances of both environments.

@robot9706 robot9706 force-pushed the feat/agent-install-name branch from c0446a3 to 38a4ab1 Compare November 25, 2024 09:00
@robot9706 robot9706 force-pushed the feat/agent-install-name branch 2 times, most recently from 38d5b11 to fa719c7 Compare November 25, 2024 11:26
@robot9706 robot9706 marked this pull request as ready for review November 25, 2024 12:37
@robot9706 robot9706 requested a review from a team as a code owner November 25, 2024 12:37
@robot9706 robot9706 force-pushed the feat/agent-install-name branch from fa719c7 to 1b66090 Compare November 25, 2024 13:01
Copy link
Collaborator

@polaroi8d polaroi8d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please implement a container name validation, in the UI.

After naming the agent to: teszting 0001 ?#@$_+)!@31 , got the following command after running the curl command:

docker: Error response from daemon: Invalid container name (teszting 0001 ?#@$_+)!@31 ), only [a-zA-Z0-9][a-zA-Z0-9_.-] are allowed.

@robot9706 robot9706 force-pushed the feat/agent-install-name branch from a62e814 to f739bfd Compare November 27, 2024 11:59
@robot9706 robot9706 requested a review from polaroi8d November 27, 2024 12:45
@polaroi8d polaroi8d merged commit 11190f2 into develop Nov 28, 2024
26 checks passed
@polaroi8d polaroi8d deleted the feat/agent-install-name branch November 28, 2024 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang:shell lang:typescript pr:feat source:web The scope of the issue or pull request is web.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants