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

WatchConfig for cloud_config and update dynamically #1361

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

seokho-son
Copy link
Member

conf/cloud_conf.yaml 내용 변경을 watch해서, 환경변수에 반영하는 기능 추가.

활용 방식 예시: cloud_conf.yaml 수정 후 저장.

nlbsw:
  sw: "HAProxy"
  version: "latest"
  commandNlbPrepare: "wget https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/scripts/nlb/deployNlb.sh; wget https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/scripts/nlb/addTargetNode.sh; wget https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/scripts/nlb/applyConfig.sh; chmod +x ~/deployNlb.sh ~/addTargetNode.sh ~/applyConfig.sh"
  commandNlbDeploy: "sudo ~/deployNlb.sh"
  commandNlbAddTargetNode: "sudo ~/addTargetNode.sh"
  commandNlbApplyConfig: "sudo ~/applyConfig.sh"
  nlbMcisCommonSpec: "aws-ap-northeast-2-t2-small"
  nlbMcisCommonImage: "ubuntu18.04"
-  nlbMcisSubGroupSize: "2"
+  nlbMcisSubGroupSize: "4"

@seokho-son
Copy link
Member Author

/approve

@github-actions github-actions bot added the approved This PR is approved and will be merged soon. label Oct 12, 2023
@seokho-son seokho-son merged commit 6b80c63 into cloud-barista:main Oct 12, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved This PR is approved and will be merged soon.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant