Skip to main content

Add a Worker (Docker)

This page introduces how to use the Docker to add a BladePipe Worker.

Prerequisite

Procedure

  1. 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_home
    info

    Parameter <version>: The target version of Worker. Keep it the same as the version of BladePipe console.

  2. Successfully install Worker.

    Install new sidecar SUCCESS , enter sidecar container,edit global_conf and restart.
  3. Log in to the BladePipe console, click Sync Settings > Workers.

  4. Click Add Worker > Generating Unique Identification.

  5. Click Configuration and copy the content, then modify the bladepipe.console.domain value to BladePipe console IP.

    info

    The default verify code: 777777

  6. Return to the node. Execute docker exec -it bladepipe-worker /bin/bash to log in to the container.

  7. Execute su - bladepipe.

  8. Modify /home/bladepipe/bladepipe/global_conf/conf.properties. Paste the config content you copied to the conf.properties and save.

  9. Enter /home/bladepipe/bladepipe/worker/bin/ and execute the shell ./startWorker.sh to start the Worker.