This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util | |
xvdap1 0.00 1.00 0.00 235.60 0.00 20583.20 87.37 39.35 167.02 1.20 28.36 | |
xvdr 0.00 30.70 0.00 26.50 0.00 1093.60 41.27 0.26 9.83 2.99 7.92 | |
xvdu 0.00 28.50 0.00 28.10 0.00 1068.80 38.04 0.22 7.81 2.48 6.96 | |
xvdp 0.00 28.90 0.00 28.40 0.00 1086.40 38.25 0.29 10.32 2.73 7.76 | |
xvdl 0.00 28.70 0.00 28.90 0.00 1104.00 38.20 0.25 8.66 2.52 7.28 | |
xvdh 0.00 28.70 0.00 30.20 0.00 1109.60 36.74 0.19 6.16 1.85 5.60 | |
xvde 0.00 29.30 0.00 28.40 0.00 1092.00 38.45 0.22 7.62 2.38 6.76 | |
xvdq 0.00 28.70 0.00 28.90 0.00 1085.60 37.56 0.25 8.51 2.57 7.44 | |
xvdb 0.00 28.80 0.00 29.00 0.00 1111.20 3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ec2-user@i-66972100:~$ mongo 10.0.1.140/cloudrim --eval "sh.status();" | |
MongoDB shell version: 2.4.6 | |
connecting to: 10.0.1.140/cloudrim | |
--- Sharding Status --- | |
sharding version: { | |
"_id" : 1, | |
"version" : 3, | |
"minCompatibleVersion" : 3, | |
"currentVersion" : 4, | |
"clusterId" : ObjectId("5278635c043f04f80a134496") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@i-73352099 data]# dd if=/dev/zero of=./test0 bs=8k count=1000k | |
1024000+0 records in | |
1024000+0 records out | |
8388608000 bytes (8.4 GB) copied, 131.987 s, 63.6 MB/s | |
[root@i-73352099 logs]# dd if=/dev/zero of=./test0 bs=8k count=1000k | |
1024000+0 records in | |
1024000+0 records out | |
8388608000 bytes (8.4 GB) copied, 255.829 s, 32.8 MB/s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
avg-cpu: %user %nice %system %iowait %steal %idle | |
0.33 0.00 0.16 2.07 0.00 97.45 | |
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util | |
sda 0.00 0.10 0.00 1.30 0.00 5.20 8.00 0.00 1.54 0.00 1.54 1.54 0.20 | |
sdb 0.00 0.00 13.60 0.00 1640.00 0.00 241.18 0.02 1.56 1.56 0.00 0.91 1.24 | |
sdc 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 | |
sdd 0.00 0.40 42.60 5.50 170.40 23.60 8.07 0.25 5.26 5.73 1.67 5.11 24.56 | |
dm-0 0.00 0.00 0.00 1.40 0.00 5.20 7.43 0.00 1.43 0.00 1.43 1.43 0.20 | |
dm-1 0.00 0.00 0.00 1.30 0.00 5.20 8.00 0.00 1.54 0.00 1.54 1.54 0.20 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"name"=>"Trump", | |
"salience"=>0.6142107, | |
"metadata"=> | |
{"mid"=>"/m/0cqt90", | |
"wikipedia_url"=>"https://en.wikipedia.org/wiki/Donald_Trump"}, | |
"type"=>"PERSON", | |
"mentions"=> | |
[{"type"=>"PROPER", "text"=>{"content"=>"t Tru", "beginOffset"=>"63.0"}}, | |
{"type"=>"COMMON", | |
"text"=>{"content"=>"o Preside", "beginOffset"=>"53.0"}}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import re | |
from confluence.client import Confluence | |
import json | |
import gitlab | |
creds = open(f"{os.environ['HOME']}/.confluence").read().rstrip().split(":") | |
code_coverage_page_id = <PAGE_ID> | |
code_coverage_space_key = "<SPACE_KEY>" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import re | |
import time | |
import yaml | |
import json | |
import random | |
import gitlab | |
import pprint | |
from confluence.client import Confluence |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spec: | |
template: | |
spec: | |
containers: | |
- name: metrics-server | |
command: | |
- /metrics-server | |
- --kubelet-preferred-address-types=InternalIP | |
- --kubelet-insecure-tls=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
rm -rf /tmp/metrics-dashboard | |
mkdir /tmp/metrics-dashboard | |
cp files/eks-admin-service-account.yaml /tmp/metrics-dashboard/ | |
cd /tmp/metrics-dashboard | |
DOWNLOAD_URL=$(curl -Ls "https://api.github.com/repos/kubernetes-sigs/metrics-server/releases/latest" | jq -r .tarball_url) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from colorama import Fore, Back, Style | |
from kubernetes import client, config | |
import json | |
import subprocess | |
project = "production" | |
config.load_kube_config() |
OlderNewer