This file contains 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 python3 | |
from xmlrpc.server import SimpleXMLRPCServer | |
import xmlrpc.client | |
import xmltodict | |
import re | |
import os | |
import argparse | |
import logging | |
from socketserver import ThreadingMixIn |

This file contains 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
apiVersion: v1 | |
kind: Secret | |
metadata: | |
name: restund | |
type: Opaque | |
data: | |
awsKeyId: TkFFVEhFQjhJRVNIOUZFQ0gyVE8= | |
awsSecretKey: YmFpNWVraWkzUGUyYWdlZTVvb25nZWlSb2lnaGllNHNodWg4ZmVlNA== |
This file contains 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: | |
hostNetwork: true | |
initContainers: | |
- name: eip | |
image: docker.io/amazon/aws-cli:2.0.18 | |
command: | |
- /bin/bash | |
- -xec | |
- | | |
INSTANCE_ID=$(curl http://169.254.169.254/latest/meta-data/instance-id) |
This file contains 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
time benji backup file:///tmp/some2/tmp/some/dev/drbd/by-res/one-vm-5525-disk-0/0 one-vm-5525-disk-0 | |
INFO: $ /benji/bin/benji backup file:///tmp/some2/tmp/some/dev/drbd/by-res/one-vm-5525-disk-0/0 one-vm-5525-disk-0 | |
INFO: Backed up 26/5121 blocks (0.5%) | |
INFO: Backed up 52/5121 blocks (1.0%) | |
INFO: Backed up 78/5121 blocks (1.5%) | |
INFO: Backed up 104/5121 blocks (2.0%) | |
INFO: Backed up 130/5121 blocks (2.5%) | |
INFO: Backed up 156/5121 blocks (3.0%) | |
INFO: Backed up 182/5121 blocks (3.6%) | |
INFO: Backed up 208/5121 blocks (4.1%) |
This file contains 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
# s3bench -accessKey=minioadmin -accessSecret=minioadmin -bucket=bench -endpoint=http://minio:9001/ -numSamples=1000 -numClients=100 | |
Test parameters Test parameters | |
endpoint(s): [minio-ec2] | endpoint(s): [minio-raid6] | |
bucket: bench bucket: bench | |
objectNamePrefix: loadgen_test_ objectNamePrefix: loadgen_test_ | |
objectSize: 80.0000 MB objectSize: 80.0000 MB | |
numClients: 100 numClients: 100 | |
numSamples: 1000 numSamples: 1000 |

This file contains 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
################################################################################## | |
# PROVIDERS | |
################################################################################## | |
provider "opennebula" { | |
endpoint = "${var.opennebula_endpoint}" | |
username = "${var.opennebula_user}" | |
password = "${var.opennebula_password}" | |
} |
This file contains 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
version: 0.1 | |
log: | |
level: info | |
fields: | |
service: registry | |
storage: | |
cache: | |
layerinfo: redis | |
filesystem: | |
rootdirectory: /storage |
This file contains 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
- registry: | |
+ registry-gitlab: | |
image: goharbor/registry-photon:v2.7.1-patch-2819-v1.8.1 | |
- container_name: registry | |
+ container_name: registry-gitlab | |
restart: always | |
+ ports: | |
+ - 5000:5000 | |
cap_drop: | |
- ALL |