Add a Worker (Docker)
This page introduces how to use the Docker to add a BladePipe Worker.
Prerequisite
- Docker has been installed. Please refer to Minimal Docker Installation for guidance.
- BladePipe has been installed with Docker. Please refer to Install All-In-One(Docker) for guidance.
Procedure
-
Replace the parameter <version> in the command below, then execute the command.
curl -fsSL https://bladepipe-docker.s3.ap-southeast-1.amazonaws.com/add_one_docker_node.sh | bash -s -- <version> ./bp_homeinfoParameter
<version>: The target version of Worker. Keep it the same as the version of BladePipe console. -
Successfully install Worker.
Install new sidecar SUCCESS , enter sidecar container,edit global_conf and restart. -
Log in to the BladePipe console, click Sync Settings > Workers.
-
Click Add Worker > Generating Unique Identification.
-
Click Configuration and copy the content, then modify the
bladepipe.console.domainvalue to BladePipe console IP.infoThe default verify code: 777777
-
Return to the node. Execute
docker exec -it bladepipe-worker /bin/bashto log in to the container. -
Execute
su - bladepipe. -
Modify
/home/bladepipe/bladepipe/global_conf/conf.properties. Paste the config content you copied to theconf.propertiesand save. -
Enter
/home/bladepipe/bladepipe/worker/bin/and execute the shell./startWorker.shto start the Worker.