= Performance testing =
Kubernetes scaling SLO * 99% apiserver response under 1s * 99% pods scheduled under 5s (prepull images)
== Process performance ==
Containers vs VMs vx process on host
FROM fedora | |
RUN dnf install -y \ | |
buildah \ | |
podman \ | |
make \ | |
&& \ | |
dnf clean all |
#!/usr/bin/env python3 | |
import boto3 | |
from pprint import pprint | |
session = boto3.Session(profile_name='mi') | |
client = session.client('cloudformation') | |
stacks = client.describe_stacks() | |
for stack in stacks['Stacks']: |
apiVersion: apps/v1beta1 | |
kind: Deployment | |
metadata: | |
name: jenkins | |
namespace: jenkins | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: |
kubectl taint nodes --all node-role.kubernetes.io/master- |
= Performance testing =
Kubernetes scaling SLO * 99% apiserver response under 1s * 99% pods scheduled under 5s (prepull images)
== Process performance ==
Containers vs VMs vx process on host
These certificates (and keys) were never used. They are uses as a referenece for etcd certificate guide. |
-bash-4.2# mount | grep /mnt/floppy | |
/dev/vdb on /mnt/floppy type ext4 (rw,relatime,seclabel,data=ordered) | |
-bash-4.2# fio --randrepeat=1 --direct=1 --gtod_reduce=1 --name=test --filename=test --bs=4k --iodepth=64 --size=4G --readwrite=randrw --rwmixread=75 | |
test: (g=0): rw=randrw, bs=4K-4K/4K-4K/4K-4K, ioengine=sync, iodepth=64 | |
fio-2.2.8 | |
Starting 1 process | |
test: Laying out IO file(s) (1 file(s) / 4096MB) | |
Jobs: 1 (f=1): [m(1)] [100.0% done] [2000KB/594KB/0KB /s] [500/148/0 iops] [eta 00m:00s] | |
test: (groupid=0, jobs=1): err= 0: pid=2184: Thu Aug 4 10:16:39 2016 | |
read : io=3071.7MB, bw=2065.9KB/s, iops=516, runt=1522573msec |
#!/bin/bash | |
FORMULA=$1 | |
if [ "$FORMULA" != "" ]; then | |
rsync -rv --rsync-path "sudo rsync" ~/mi/formulas/${FORMULA}/ saltmaster:/root/salt-formula-${FORMULA}/ | |
fi |
#!/usr/bin/env ruby | |
require 'togglv8' | |
require 'date' | |
project = ARGV[0] | |
token = ARGV[1] | |
workspace_id = ARGV[2] | |
date = ARGV[3] || Time.new.strftime("%Y-%m-%d") | |
# watson commands |
I hereby claim:
To claim this, I am signing this object: