Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix boot mode for raven agent #135

Merged
merged 1 commit into from
Oct 10, 2023
Merged

Conversation

River-sh
Copy link
Contributor

@River-sh River-sh commented Oct 9, 2023

  1. raven agent container can not get args configured in yaml if using shell (raven.sh)
  2. rename component name for edge-hub to persist informer cache

@codecov
Copy link

codecov bot commented Oct 9, 2023

Codecov Report

Merging #135 (7886616) into main (dc359e5) will not change coverage.
Report is 1 commits behind head on main.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #135   +/-   ##
=======================================
  Coverage   42.69%   42.69%           
=======================================
  Files           7        7           
  Lines        1089     1089           
=======================================
  Hits          465      465           
  Misses        534      534           
  Partials       90       90           
Flag Coverage Δ
unittests 42.69% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@River-sh River-sh force-pushed the fix_dockerfile branch 4 times, most recently from 26a7b0f to ef681af Compare October 9, 2023 05:38
@njucjc
Copy link
Member

njucjc commented Oct 9, 2023

Can you describe the background of the modification?

@River-sh River-sh changed the title fix start container by command line fix boot mode for raven agent Oct 9, 2023
@River-sh
Copy link
Contributor Author

River-sh commented Oct 9, 2023

  1. raven agent container can not get args in yaml if using shell
  2. rename component name for edge-hub to persist informer cache

ENTRYPOINT raven.sh
ENTRYPOINT ["/usr/local/bin/raven-agent-ds"]
Copy link
Member

Choose a reason for hiding this comment

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

how to pass args to raven-agent-ds

Copy link
Contributor Author

Choose a reason for hiding this comment

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

how to pass args to raven-agent-ds
args is automatically appended to this command “/usr/local/bin/raven-agent-ds”

Copy link
Contributor Author

Choose a reason for hiding this comment

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

args cannot be passed in boot commands if ENTRYPOINT executes script

Copy link
Member

Choose a reason for hiding this comment

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

append it in yaml/helm template?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok

Copy link

Choose a reason for hiding this comment

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

ENTRYPOINT raven.sh

afaik this line ^ will be ignored?

@njucjc njucjc merged commit e656f8e into openyurtio:main Oct 10, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants