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
var assert = require('assert'); | |
var async = require('async'); | |
var debug = require('debug')('edgex-stream-test'); | |
var http = require('http'); | |
var Agent = require('agentkeepalive'); | |
var keepaliveAgent = new Agent({ | |
maxSockets: 1, | |
maxFreeSockets: 10, | |
timeout: 60000, |
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
############################################################ | |
# | |
# Multi-homed pod network configuration: | |
# | |
# - contivk8s used for client | |
# - macvlan used as a backend bridge | |
# | |
# Assumptions: | |
# | |
# - arch == amd64 |
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
############################################################ | |
# Dockerfile to build Multus init container image | |
# Based on Ubuntu | |
############################################################ | |
# Set the base image to Ubuntu to produce amd64 binary | |
FROM ubuntu:16.04 | |
RUN apt-get update && apt-get install -y wget git | |
RUN wget -c https://storage.googleapis.com/golang/go1.8.linux-amd64.tar.gz | |
RUN tar xzf go1.8.linux-amd64.tar.gz |
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
'use strict'; | |
const AWS = require('aws-sdk'); | |
const Storage = require('@google-cloud/storage'); | |
// ======= config section ======= | |
var GCP_ACCOUNT = "xxxxxxxx@appspot.gserviceaccount.com"; // GCP Service Account Email | |
var EDGEFS_PROVIDER = "gcs-p12"; // Has to match EdgeFS Cloud Provider name | |
var EDGEFS_ACCESS = "edgefs_access_key"; // EdgeFS tenant user S3 access key | |
var EDGEFS_SECRET = "edgefs_secret"; // EdgeFS tenant user S3 secret key |
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
'use strict'; | |
const AWS = require('aws-sdk'); | |
const Storage = require('@google-cloud/storage'); | |
// ======= config section ======= | |
var GCP_ACCOUNT = "xxxxxxxx@appspot.gserviceaccount.com"; // GCP Service Account Email | |
var EDGEFS_PROVIDER = "gcs-p12"; // Has to match EdgeFS Cloud Provider name | |
var EDGEFS_ACCESS = "edgefs_access_key"; // EdgeFS tenant user S3 access key | |
var EDGEFS_SECRET = "edgefs_secret"; // EdgeFS tenant user S3 secret key |
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
var assert = require('assert'); | |
var qs = require('querystring'); | |
var AWS = require('aws-sdk'); | |
var url = require('url'); | |
var dns = require('dns'); | |
// ======= config section ======= | |
var AWS_ACCESS = "aws_key"; | |
var AWS_SECRET = "aws_secret"; | |
var EDGEFS_PROVIDER = "aws-s3"; // Has to match EdgeFS supported Cloud Provider name |
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: '2.4' | |
services: | |
target: | |
mem_limit: 1g | |
memswap_limit: 0 | |
privileged: true | |
ipc: "host" | |
restart: always | |
volumes: | |
- '/edgefs/var:/opt/nedge/var:z' |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<workload name="S3-1MB-write-reread" description="Verification of S3 parallel I/O of 1MB objects into a single bucket"> | |
<auth type="none" config="username=admin;password=edgefs;auth_url=http://172.10.10.75:8080/auth/v1.0"/> | |
<workflow config=""> | |
<workstage name="prepare"> | |
<work name="prepare-objects" type="prepare" workers="40" division="object" | |
interval="20" config="cprefix=shared;containers=r(1,1);objects=r(1,100000);sizes=r(1,1)MB;hashCheck=false"> | |
<storage type="s3" config="accesskey=KEY;secretkey=SEC;endpoint=http://172.10.10.75:9982;timeout=600000"/> | |
</work> | |
</workstage> |
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: '2.4' | |
services: | |
target: | |
privileged: true | |
network_mode: "host" | |
ipc: "host" | |
restart: always | |
volumes: | |
- '/etc/localtime:/etc/localtime:ro' | |
- '/edgefs/var/run:/opt/nedge/var/run:z' |
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: edgefs.rook.io/v1alpha1 | |
kind: S3 | |
metadata: | |
name: objects | |
namespace: rook-edgefs | |
spec: | |
instances: 1 | |
placement: | |
nodeAffinity: | |
requiredDuringSchedulingIgnoredDuringExecution: |
NewerOlder