-
Notifications
You must be signed in to change notification settings - Fork 34
[K8s Deployment] Improve deployment configuration and scripts #693
Conversation
|
It will create ignite pods first, and set them to activate. Then create pods for other micro services. |
kubernetes/services/createYaml.sh
Outdated
| #cd apache-ignite/bin/ | ||
| #./control.sh --activate | ||
|
|
||
| sleep 60s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yanmo96 Do we really need to wait 60s here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just tested, no need to wait. Will remove it
|
|
||
| cd /root | ||
| echo "***** Download and build images on each Node *****" 2>&1 | tee -a ~/alcor_logs/alcor.log | ||
| ./deploy-alcor-nodes.sh update-alcor4.sh alcor-nodes-ips |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yanmo96 If you put this sh file under script folder, these 3 files (deploy-alcor-nodes.sh, update-alcor4.sh and alcor-nodes-ips) also need to be included in this folder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will do!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alcor-nodes-ips is a little bit tricky, don't put our ips in the file and push to public repository.
I will recommend rewrite this line of code (line 29) to accept filename as parameters, so that we can flexibly run the script with 2 arguments (filename) - update-alcor.sh and alcor-nodes-ips in another folder with their path.
Thanks for adding the description. I update the description a bit. Please take a look @yanmo96 |
This PR modifies the Alcor deployment scripts for k8s environment.