Keybase proof
I hereby claim:
- I am mulbc on github.
- I am chrisnblum (https://keybase.io/chrisnblum) on keybase.
- I have a public key whose fingerprint is 536F 2CCA CC87 1421 DC69 84A1 FE67 A71B 6BDE BDA8
To claim this, I am signing this object:
{ | |
"ocs": { | |
"flashSize": 2.5, | |
"usableCapacity": 10, | |
"deploymentType": "internal", | |
"nvmeTuning": false, | |
"cephFSActive": true, | |
"nooBaaActive": true, | |
"rgwActive": false, | |
"dedicatedMachines": [] |
#!/bin/bash | |
MACHINESET=$(oc get -n openshift-machine-api machinesets -o name | grep -v ocs | head -n1) | |
oc get -n openshift-machine-api "$MACHINESET" -o json | jq ' | |
del( .metadata.uid, .metadata.managedFields, .metadata.selfLink, .metadata.resourceVersion, .metadata.creationTimestamp, .metadata.generation, .status) | | |
(.metadata.name, .spec.selector.matchLabels["machine.openshift.io/cluster-api-machineset"], .spec.template.metadata.labels["machine.openshift.io/cluster-api-machineset"]) |= sub("worker";"ocs") | | |
(.spec.template.spec.providerSpec.value.numCPUs) |= 16 | |
--- | |
apiVersion: apps/v1 | |
kind: DaemonSet | |
metadata: | |
name: disk-gatherer | |
namespace: default | |
labels: | |
k8s-app: disk-gatherer | |
spec: | |
selector: |
I hereby claim:
To claim this, I am signing this object:
<?xml version="1.0" encoding="UTF-8" ?> | |
<workload name="7-RGW-64K-1M-32M" description="7 RGW 64K-1M-32M test" config=""> | |
<storage type="s3" config="accesskey=S3user1;secretkey=S3user1key;timeout=999999;endpoint=http://192.168.170.20:8080" /> | |
<workflow> | |
<!-- ************************* 64K ********************************* --> | |
<workstage name="init"> | |
<work type="init" workers="8" config="cprefix=7rgw64k;containers=r(1,70)"></work> |
{ | |
"__inputs": [ | |
{ | |
"name": "DS_LOCAL", | |
"label": "Local", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} |
# This program parses the cosbench run-histpry CSV file and produces a HTML output | |
# with links to Grafana at scrolled to the time when the cosbench tests were executed | |
#!/usr/bin/env python | |
import csv | |
import datetime | |
import sys | |
with open(sys.argv[0]) as csv_file: | |
csv_reader = csv.reader(csv_file, delimiter=',') |
[Unit] | |
Description=Ceph RGW Prometheus Exporter | |
After=docker.service | |
[Service] | |
EnvironmentFile=-/etc/environment | |
ExecStart=/usr/local/bin/python3 /usr/bin/rgw_exporter.py | |
Restart=always | |
RestartSec=90s | |
TimeoutStartSec=300 |
#!/usr/bin/env python2 | |
import rados | |
import sys | |
import time | |
cluster = rados.Rados(conffile='/etc/ceph/ceph.conf') | |
cluster.connect() | |
for pool in cluster.list_pools(): |
#!ipxe | |
# Source: https://gist.github.com/robinsmidsrod/2234639#file-menu-ipxe | |
# Some menu defaults | |
#set menu-timeout 5000 | |
set menu-timeout 0 | |
set submenu-timeout ${menu-timeout} | |
isset ${menu-default} || set menu-default exit |