Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jul 11, 2022. It is now read-only.

Contains example cloud-config.yml files for mounting /var/lib/docker onto fast storage on OnMetal

jayofdoom/onmetal-fast-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

onmetal-fast-docker

This is an effort to create cloud-config.yml files that utilize some of the more performant parts of OnMetal flavors for CoreOS.

Usage

To use these, simply append --user-data /path/to/cloud-config.yml to your nova boot command in order to pass in your cloud-config, via configdrive, to CoreOS.

onmetal-io1

onmetal-io1/cloud-config.yml configures the two LSI Warpdrive Nytro PCIe flash cards in a Linux MD RAID 0, with BTRFS filesystem, and mounts them at /var/lib/docker before the docker daemon is allowed to start. This configures your server so any images downloaded and containers run go onto the fast PCIe storage.

Example:

This example assumes you already have python-novaclient configured and pointed at a Rackspace Cloud datacenter that provides OnMetal (as of this writing; IAD-only)

Note: Please ensure you use the most recent CoreOS image ID as shown by nova image-list on your account. Example is only the most recent image as of this writing.

nova boot --flavor onmetal-io1 --image 64b92981-69c6-4e8a-828b-4a20a8db9adc --key-name my-key-name --user-data ./onmetal-io1/cloud-config.yml mytestio1

onmetal-memory1, onmetal-compute1

For onmetal-memory1 and onmetal-compute1 nodes I would like to implement a similar backing change for docker, but instead have it run inside a ramdisk of some kind (tmpfs? ramfs? other?) but have not implemented it yet.

About

Contains example cloud-config.yml files for mounting /var/lib/docker onto fast storage on OnMetal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published