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

Default workers inside docker image #1

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Default workers inside docker image #1

wants to merge 13 commits into from

Conversation

SysOfM
Copy link

@SysOfM SysOfM commented Sep 11, 2018

Changed the build of the Docker image, so that the image was minimal in size and contained ready-made default workers inside.
For better Dockerfile code changed the server:Makefile. All functionality of the Makefile build is saved.
Right now these solutions work in our Kubernetes cluster.

- Code refactored
- Built steps to create less artifacts
- Updated erlang image and kubectl tool
- Build and installation of workers as a default scenario

Added .dockerignore
- Source code should not be deleted, it will be needed when deploying. Just need to clean it well.
- Prepared the archives of nodes and configured paths for their rapid deployment
- Did the correct configuration of server.config
- Also we neet to run with `{auto_update_deployed_code, disable}, {custom_os_code_builds, disable}` for fast node deployment
- Fixed the removal of the archive with kubectl
- Changed the CMD and COPY source code
- Changed config installation to node_deployment_path and removed .git
@parsifal-47
Copy link
Owner

I'm not sure I understand everything here, it is more than just about adding workers I suppose :)

but anyway, two things:

  1. please resubmit this one to mzbench/mzbench
  2. @gliush as a member you have right to make decision

feel free to ask questions
Thanks!

@SysOfM
Copy link
Author

SysOfM commented Sep 12, 2018

I'm not sure I understand everything here, it is more than just about adding workers I suppose :)

Yeah, you're right.
I had to remake the Dockerfile so that the image did not contain unnecessary files.

  1. please resubmit this one to mzbench/mzbench

Ok, I'll do it

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.

2 participants