changes.mady.by.user Former user
Saved on Oct 22, 2015
...
Download the Private PaaS cartridges from the product page.
Navigate to the <PRIVATE-PAAS-CARTRIDGES>/wso2esb/4.8.1/docker directory.
<PRIVATE-PAAS-CARTRIDGES>/wso2esb/4.8.1/docker
cd <PRIVATE-PAAS-CARTRIDGES>/wso2esb/4.8.1/docker
Run the build.sh file to build the Docker image.
build.sh
This will copy the plugins and the template module to the Docker image.
./build.sh
List the Docker images.
docker images
Example response format: If you have successfully build the Docker image, you will get the following as the response:
wso2/das 3.0.0 ac57800e96c2 2 minutes ago 777.6 MB
Save the new image to a .tar file.
.tar
docker save <NEW_IMAGE_NAME> > <LOCATION_OF_OF_TAR_FILE>
For example:
docker save myppaasimage > /tmp/myppaasimage.tar
Copy the Docker image to the Kubernetes minion nodes.
scp <IMAGE_NAME>.tar core@<NODE_IP>:
Example:
scp myppaasimage.tar core@172.17.8.102:
Execute the kubectl get nodes command to get the IP address of the Kubernetes nodes.
kubectl get
nodes
SSH into the Kubernetes node using one of the following commands:
ssh core@<NODE_IP> or vagrant ssh node-01
Load the .tar file to the Kubernetes node.
docker load < <LOCATION_OF_OF_TAR_FILE>
docker load < /tmp/myppaasimage.tar
If there is more than one Kubernetes node, repeat step 4, 5 and 6 for the remaining nodes.