Skip to content

Instantly share code, notes, and snippets.

View wallnerryan's full-sized avatar

Ryan Wallner wallnerryan

  • Boston, MA
  • 17:49 (UTC -04:00)
View GitHub Profile
@wallnerryan
wallnerryan / profiles.md
Last active September 30, 2015 14:08
hackday profiles scaleio docs

Docs

First Step

git clone https://github.com/wallnerryan/profiles-poc
cd profiles-poc

ScaleIO

From a brand new Flocker cluster install via uft: 2 Agent + 1 Master

For more inforamation on installing flocker on aws easily, please see (http://doc-dev.clusterhq.com/labs/installer.html#labs-installer)

You will end up with a way to list your nodes.

wallnerryan@mac:-> uft-flocker-volumes list-nodes
SERVER     ADDRESS      
2cdbc6d7 

Getting Started

  • **Vagrant should be great than 1.6.2
Create a working dir
mkdir flocker-tutorial
cd flocker-tutorial
[global]
direct=1
ioengine=libaio
rw=randread
size=1G
numjobs=1
time_based
runtime=360
group_reporting
stonewall
[global]
direct=1
rw=randread
size=1G
numjobs=16
norandommap
time_based
runtime=180
[test-randread-1G]
[seq-read-4k]
rw=read
size=1G
bs=4k
numjobs=8
time_based
runtime=120
group_reporting
write_bw_log=seq-read
write_iops_log=seq-read
apiVersion: v1
kind: Pod
metadata:
name: flocker-web
spec:
containers:
- name: web
image: nginx
ports:
- name: web
apiVersion: v1
kind: Pod
metadata:
name: flocker-ghost-demo
spec:
containers:
- name: ghost-demo
image: ghost:0.7.1
ports:
- name: ghostport
@wallnerryan
wallnerryan / y.yml
Last active December 15, 2015 20:27
apiVersion: v1
kind: Service
metadata:
name: flocker-web
labels:
app: flocker-web
spec:
ports:
# the port that this service should serve on
- port: 80
apiVersion: v1
kind: Service
metadata:
name: flocker-ghost
labels:
app: flocker-ghost
spec:
ports:
# the port that this service should serve on
- port: 80