blog single gear
Community

Diego-release for Docker Containers at Scale on OpenPOWER

In our earlier blog posts, we have described how to build and deploy ConcourseBOSH and cf-release on OpenPOWER systems, an alternative processor architecture based on IBM POWER systems. In separate performance experiments, we have run up to 10,000 containers in a single IBM POWER system and run workloads such as IBM WebSphere Liberty in Docker containers with better price performance on IBM POWER systems.

In this post, we are describing how to build and deploy Cloud Foundry with Diego, for running Docker containers, as a BOSH release on OpenStack on OpenPOWER systems. Diego release installation steps with BOSH documented here require OpenPOWER specific binaries to deploy on OpenPOWER. We are providing a base Diego release which contains three OpenPOWER binaries: golang 1.7.1, jq and docker. We will provide other OpenPOWER specific BOSH releases required for the Cloud Foundry deployment: cf, etcd, garden-linux and cflinuxfs2-rootfs. We are also pointing to steps for building and deploying these releases.

Prepare the environment:

  1. Install BOSH on OpenStack on OpenPOWER as described in this blog.
  2. Specify a Cloud Config as described in this sample.
  3. BOSH upload a stemcell for OpenPOWER. Download stemcell v3232 from here.

Deploy Diego

  • Download pre-built Diego-release (v.0.1487.0) from here. Alternatively, the latest release can be built from source using instructions from here.
  • Download a pre-built Etcd-release (v78) from here. Alternatively, the latest release can be built from source using instructions from here.
  • Download a pre-built Garden-linux-release (v0.342.0) from here. Alternatively, the latest release can be built from source using instructions from here.
  • Download a pre-built cf-release (v240) from here. Alternatively, the latest release can be built from source using instructions from here.
  • Download a pre-built cflinuxfs2-rootfs-release (v1.37.0) from here. Alternatively, the latest release can be built from source using instructions from here.
  • Download and customize deployment manifest using this example for OpenPOWER based on this generic example manifest.
  • Upload these BOSH releases using ‘BOSH upload release’ command. See the example for the Diego release here.
  • Verify the releases for Diego deployment.
  • Deploy using BOSH deploy. The output of the BOSH deploy command should be similar to this output. The results can be seen with the following commands: bosh deployments and bosh vms.

diego-bosh-deploy-ppc64le

diego-bosh-vms-ppc64le

 

Run a container in Cloud Foundry Diego deployment on OpenPOWER platform

diego-cf-apps-ppc64le

Finally, it is possible to verify that the application is running using ‘curl’ command:

diego-curl-ppc64le

or, in the web browser:     

diego-browser-ppc64le  

Compiled by Konstantin Maximov, Yulia Gaponenko and Indrajit Poddar at IBM 

Indrajit Poddar Profile Image

Indrajit Poddar, AUTHOR

Indrajit Poddar is a Senior Technical Staff Member at IBM Systems where he works on enabling cloud native frameworks such as Cloud Foundry and Kubernetes on hardware accelerated platforms such as OpenPOWER.
SEE ALL ARTICLES